- Sep 29, 2024
-
-
Archish Thakkar authored
-
- Sep 08, 2021
- Aug 11, 2021
-
-
feistel authored
-
- Mar 15, 2021
-
-
Lucas Charles authored
Refactors introspection of execution environment to rely on per-connection state (`gitlab-shell`) or per request (`gitlab-sshd`) Relates to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/496
-
- Oct 18, 2019
-
-
Nick Thomas authored
-
Nick Thomas authored
-
- Aug 09, 2019
-
-
Patrick Bajao authored
Build this command when `Executable` name is `gitlab-shell-authorized-principals-check`. Feature flag is the same name.
-
- Aug 08, 2019
-
-
Patrick Bajao authored
Build this command when `Executable` name is `gitlab-shell-authorized-keys-check`. Feature flag is the same name.
-
- Aug 02, 2019
-
-
Patrick Bajao authored
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.
-
- Jul 31, 2019
-
-
Patrick Bajao authored
`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.
-
- Jul 29, 2019
-
-
Patrick Bajao authored
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).
-
- Jun 06, 2019
-
-
Igor Drozdov authored
-
- Jun 05, 2019
-
-
Igor Drozdov authored
-
- Jun 03, 2019
-
-
Igor Drozdov authored
-
- May 31, 2019
-
-
Igor Drozdov authored
-
- Mar 21, 2019
-
-
Igor Drozdov authored
-
- Jan 15, 2019
-
-
Bob Van Landuyt authored
When SSH_CONNECTION is not set, we don't fall back to ruby, but instead fail directly in go writing the error to stderr.
-
Bob Van Landuyt authored
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
-