1. 20 Sep, 2021 1 commit
  2. 16 Sep, 2021 1 commit
  3. 12 Sep, 2021 2 commits
  4. 10 Sep, 2021 1 commit
  5. 29 Jun, 2021 1 commit
    • Addshore's avatar
      Update command and release overhaul · 93f95c7b
      Addshore authored and Jeena Huneidi's avatar Jeena Huneidi committed
      There is currently not a release target for the gerrit
      version of mwcli code, so I can not yet write the update
      code for this.
      
      When it does I'll introduce 2 update paths, one for my
      dev fork, and one for gerrit releases.
      
      Bug: T250241
      Bug: T282330
      Change-Id: I9c8af4143af2c4b68a9bcda361741a89d7d28ee0
      93f95c7b
  6. 28 Jun, 2021 1 commit
    • Addshore's avatar
      Output more useful version info · 54cdc383
      Addshore authored and Jeena Huneidi's avatar Jeena Huneidi committed
      This will make it easier for people to give feedback while
      using various development builds
      (This will also be useful when we do real releases)
      
      This required a bunch of changes to the MakeFile to
      actually get the build dependencies loading when required.
      The way "staticfiles" was done in the past wasn't great.
      
      Change-Id: Icdbe959dcf429305ebcec57cbe64bd05b0ded737
      54cdc383
  7. 12 May, 2021 1 commit
    • Addshore's avatar
      mwdd: Initial phpunit command · 2ac80947
      Addshore authored and Addshore's avatar Addshore committed
      This can be tested with a command such as:
      
      ./dev.sh mwdd mediawiki phpunit \
      /var/www/html/w/tests/phpunit/unit/includes/FormOptionsTest.php
      
      This uses the docker SDK directly to allow for easy passthrough
      of stdin and out for commands.
      This similar pattern will be used for further CLI interaction
      in mwdd.
      
      The phpunit command will also be worked on in further patches, including:
       - Clever things to do with directories (and maybe path completion?)
       - Ability to run on different --wikis
      
      Change-Id: I4ca04705ba584e3eb241bd75e33e3530305fbf82
      2ac80947
  8. 11 May, 2021 1 commit
    • Jeena Huneidi's avatar
      Add system test for CI · ee82481e
      Jeena Huneidi authored
      Adds a test script to run in CI for system tests
      
      Bug: T248779
      Change-Id: I179979bf2188c279601be10e32ecc381fe2bc83f
      ee82481e
  9. 22 Jul, 2020 2 commits
    • Addshore's avatar
      Move our expanding app code into /internal · 67c08d13
      Addshore authored
      Per https://github.com/golang-standards/project-layout
      this is probably where this code should live for now.
      
      Quote: Private application and library code.
        This is the code you don't want others importing in
        their applications or libraries.
      Change-Id: I63d0b9e4b0c1d856b47e4397b6a97ad1b3577ea2
      67c08d13
    • Addshore's avatar
      Add 'docker env' command for interacting with .env file · faede609
      Addshore authored
      This means people have to alter files less and things canbe scripted more.
      
      This code was altered from PS1 of
      I7b8d651d656f7f254506df0900d84a173f27880a which maintained the
      .env file in a user config dir instead of within the mediawiki core
      dir.
      However for now a minimal change is to just alter this file in place
      within the mw core dir.
      
      Change-Id: I7b8d651d656f7f254506df0900d84a173f27880a
      faede609
  10. 24 Jun, 2020 1 commit
    • Kosta Harlan's avatar
      Add Makefile and update CI config · 25080cbd
      Kosta Harlan authored and Jeena Huneidi's avatar Jeena Huneidi committed
      This adds the Makefile from the blubber project with some minor adaptations for
      mw cli, and updates CI to use "make test"
      
      Both "go run ~/go/src/cli/main.go" as well as "make" (and running ./bin/mw)
      should work correctly.
      
      The unit test command doesn't do anything (yet) but should once we start adding
      tests.
      
      Bug: T250241
      Change-Id: Id857e3c1389b6c729c8931da149af58740f62896
      25080cbd