summaryrefslogtreecommitdiff
path: root/go/cmd/gitlab-shell
Commit message (Collapse)AuthorAgeFilesLines
* Pass the root directory into the fallback commandNick Thomas2019-04-121-5/+6
|
* Correctly determine the root directory for gitlab-shellNick Thomas2019-04-121-11/+24
| | | | Credit to https://gitlab.com/ejiek for spotting this one.
* Provide go implementation for 2fa_recovery_codes commandIgor2019-03-211-11/+11
|
* Wrap Stderr & Stdout in a reporter structBob Van Landuyt2019-03-151-8/+11
| | | | | The reporter struct can be used for passing around and reporting to the io.Writer of choice.
* Don't fall back to ruby for non SSH connectionsbvl-feature-flag-commandsBob Van Landuyt2019-01-151-4/+3
| | | | | When SSH_CONNECTION is not set, we don't fall back to ruby, but instead fail directly in go writing the error to stderr.
* Allow enabling gitlab-shell "discover"-featureBob Van Landuyt2019-01-151-17/+18
| | | | | | | | | | | | | | | | | | | This adds the possibility to enable features for GitLab shell. The first feature being recognized is "Discover": It's the command that is executed when running `ssh git@gitlab.example.com` and is called without a command. The gitlab key id or username is already parsed from the command line arguments. Currently we only support communicating with GitLab-rails using unix sockets. So features will not be enabled if the GitLab-url is using a different protocol. The url for this read from the config yaml. Pending ruby-specs have been added for the gitlab-shell command. Refactor to have separate command packages
* Allow the config directory to be specifiedNick Thomas2018-09-281-10/+17
|
* Specify a richer scheme to run the migration withNick Thomas2018-09-281-15/+28
|
* Initial feature-flagged go/ruby switchNick Thomas2018-09-281-0/+36