Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove feature flags and the fallback command | Nick Thomas | 2019-09-20 | 1 | -84/+0 |
| | |||||
* | Add Executable struct181-migrate-gitlab-shell-checks-fallback | Patrick Bajao | 2019-08-02 | 1 | -22/+11 |
| | | | | | | | | | | This struct is responsible for determining the name and root dir of the executable. The `RootDir` property will be used to find the config. The `Name` property will be used to determine what `Command` and `CommandArgs` to be built. | ||||
* | Support different CommandArgs type | Patrick Bajao | 2019-07-31 | 1 | -0/+5 |
| | | | | | | | | `CommandArgs` has been renamed to `Shell`. An interface has been added that includes `Executable()` and `Arguments()` method. The `BaseArgs` implement this methods and should be embeeded in each type. | ||||
* | Support falling back to ruby version of checkers | Patrick Bajao | 2019-07-29 | 1 | -1/+16 |
| | | | | | | | | | | | | | | Rename the ruby scripts to have `-ruby` suffix and add a symlink for both to `./gitlab-shell`. The executable name will be used to determine how args will be parsed. For now, we only parse the arguments for gitlab-shell commands. If the executable is `gitlab-shell-authorized-keys-check` or `gitlab-shell-authorized-principals-check`, it'll always fallback to the ruby version. Ruby specs test the ruby script, the fallback from go to ruby and go implementation of both (still pending). | ||||
* | Pass readWriter to Command constructor | Igor Drozdov | 2019-05-20 | 1 | -3/+3 |
| | |||||
* | Pass the root directory into the fallback command | Nick Thomas | 2019-04-12 | 1 | -0/+75 |