- 16 Sep, 2021 2 commits
-
-
Addshore authored
- 17 Aug, 2021 1 commit
-
-
Addshore authored
My IDE wants to do this on save now... Change-Id: I6153b0939095cb7d2cd81cab634e7243de01fa49
-
- 10 Aug, 2021 1 commit
-
-
- 18 May, 2021 1 commit
-
-
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
-
- 19 Mar, 2021 1 commit
-
-
Addshore authored
We wan't an `env set` command to create the .env file, and directories on the way to the file if needed. Otherwise users can try to set things before running any other commands and it won't work. I came across this while writing some CI test stuff and wanting to set the dir of mediawiki. I would set, then run `mwdd create`, but the set would not have dont anything! Change-Id: I4d6cd57ced68993e38e2e506a007bc34f2371585
-
- 07 Jan, 2021 1 commit
-
-
This is further prep in the direction of I7d1a66dd96b293d3fe3d6b371212e34018872a49 that is useful in any case. The internal/env package now exposes a DotFile type which has the various methods attached for interacting with a .env file. The .env file is currently tied to the MediaWiki core directory so the commands have a check added for the current location. This is already done for the docker commands, but not here yet. Use of the type should make using .env files in different locations easier in the future. Change-Id: I3bf2079ff4be2f8589d17443639d5e4e03dadf12
-
- 22 Jul, 2020 2 commits
-
-
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
-
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
-