Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move go code up one level | Nick Thomas | 2019-10-18 | 2 | -164/+0 |
| | |||||
* | Rewrite bin/check in Go | Nick Thomas | 2019-10-08 | 1 | -0/+1 |
| | |||||
* | Replace symlinks with actual binaries | Patrick Bajao | 2019-08-15 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | We had `gitlab-shell-authorized-keys-check` and `gitlab-shell-authorized-principals-check` as symlinks to `gitlab-shell` before. We determine the `Command` and `CommandArgs` that we build based on the `Name` of the `Executable`. We also use that to know which fallback ruby executable should we fallback to. We use `os.Executable()` to do that. `os.Executable()` behaves differently depending on OS. It may return the symlink or the target's name. That can result to a buggy behavior. The fix is to create binaries for each instead of using a symlink. That way we don't need to rely on `os.Executable()` to get the name. We pass the `Name` of the executable instead. | ||||
* | Implement AuthorizedKeys command181-authorized-keys-check-go | Patrick Bajao | 2019-08-08 | 1 | -0/+1 |
| | | | | | | Build this command when `Executable` name is `gitlab-shell-authorized-keys-check`. Feature flag is the same name. | ||||
* | Add Executable struct181-migrate-gitlab-shell-checks-fallback | Patrick Bajao | 2019-08-02 | 2 | -0/+162 |
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. |