1. 10 Sep, 2021 1 commit
  2. 17 Aug, 2021 1 commit
    • Addshore's avatar
      Format files consistently · 7f754c1d
      Addshore authored
      My IDE wants to do this on save now...
      
      Change-Id: I6153b0939095cb7d2cd81cab634e7243de01fa49
      7f754c1d
  3. 22 May, 2021 2 commits
    • Addshore's avatar
      mwdd: mw phpunit & composer, use "correct" working dir · 96454bf4
      Addshore authored and Addshore's avatar Addshore committed
      This means that when these commands are used on the host
      system in a directory such as "skins/Vector", then working
      dir used with docker will reflect this.
      
      This allows composer commands to be used on sub repos, like
      skins and extensions, as well as for phpunit tests to easily
      be run when in other directories with auto completion of paths
      that just works.
      
      This does NOT allow users to use these commands when outside of
      the expected MediaWiki directory.
      This is out of scope for this patch (but might be something to
      consider in the future)
      
      Bug: T282350
      Change-Id: Id5fb148116bb3346f42867af2140933619f9bf2f
      96454bf4
    • Addshore's avatar
      mwdd: Fix mwdd.DefaultForUser().DockerExec out of bounds error · 0f9b4ff6
      Addshore authored and Addshore's avatar Addshore committed
      Bug: T282340
      Change-Id: I56fff40f35eac5fff9b490ee2282525ef959193a
      0f9b4ff6
  4. 12 May, 2021 2 commits
    • Addshore's avatar
      mwdd: mediawiki exec command can be run as system user · 54616941
      Addshore authored and Addshore's avatar Addshore committed
      This means that users have the choice of using their user,
      if they want to touch files mounted from their system.
      Or they can also choose "root" if they want to do other things,
      like poke around packages etc.
      
      Change-Id: I12d3d3196ae28d3b42e4f41b6e9e00a99eb4a826
      54616941
    • 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