1. 16 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. 18 May, 2021 1 commit
    • Addshore's avatar
      mwdd: Wizard to guide you through env setup · 7243f0ed
      Addshore authored and Addshore's avatar Addshore committed
      This includes:
       - Prompting the user to pick a PORT for the mwdd env
       - Prompting the user to pick a MW directory if not set
       - Clone of MediaWiki and optionally Vector
       - Ability to do a shallow clone for speed
       - Ability to clone from Github and switch to Gerrit
      
      This also leaves some TODOs around the place:
       - Allow the user to choose if the remotes end up on https or ssh
       - Allow cloning async for more speed
       - Allow the user to get more skins or extensions?
       - Auto detection of MW directory
       - Check if git is even installed
      
      And leaves 1 clear next step to make initial setup quite
      slick, this being do an initial composer install if
      MW determines that it needs it (will be done in a followup)
      
      Change-Id: Id58e45c26fed77a06226b081f6248d5f27a234b6
      7243f0ed
  4. 18 Mar, 2021 1 commit
    • Addshore's avatar
      Refactor docker env to allow use by other commands · c6ae3392
      Addshore authored
      This refactors the way the docker env commands are created
      so that the same cobra commands can be used in other places
      if needed.
      This will be used for the mwdd command, which also wants to
      allow people to edit the env vars via cli.
      
      Reusing the commands ensures some consistency.
      
      anon functions are used to pass the directory into the command
      currently, as we want mediawikiOrFatal() to run when the command
      is run, not when the commands are setup.
      
      Change-Id: Ie5515c79b9d9d5578cde3f262166fb7069b8f50d
      c6ae3392