summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Implement AuthorizedKeys command181-authorized-keys-check-goPatrick Bajao2019-08-0813-3/+533
| | | | | | Build this command when `Executable` name is `gitlab-shell-authorized-keys-check`. Feature flag is the same name.
* Merge branch '181-migrate-gitlab-shell-checks-fallback' into 'master'Ash McKenzie2019-08-0544-383/+809
|\ | | | | | | | | Support falling back to ruby version of checkers See merge request gitlab-org/gitlab-shell!318
| * Add Executable struct181-migrate-gitlab-shell-checks-fallbackPatrick Bajao2019-08-0213-178/+358
| | | | | | | | | | | | | | | | | | | | 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.
| * Rename CommandArgs to ShellPatrick Bajao2019-07-3125-58/+58
| | | | | | | | | | | | Other functions are still expecting for `CommandArgs` instead of `Shell`. They should be expecting `commandargs.Shell` now since it has been renamed.
| * Support different CommandArgs typePatrick Bajao2019-07-318-156/+238
| | | | | | | | | | | | | | | | `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 checkersPatrick Bajao2019-07-2914-167/+331
|/ | | | | | | | | | | | | | 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).
* Merge branch 'pb-update-rubygems-ci' into 'master'Nick Thomas2019-07-222-7/+8
|\ | | | | | | | | Update rubygems version on CI for go tests See merge request gitlab-org/gitlab-shell!320
| * Update rubygems version on CI for go testspb-update-rubygems-cipb-fix-go-testsPatrick Bajao2019-07-222-7/+8
|/
* Merge branch '198-update-phony-to-have-accurate-list-of-targets' into 'master'Nick Thomas2019-07-012-5/+9
|\ | | | | | | | | | | | | Resolve "Update .PHONY to have accurate list of targets" Closes #198 See merge request gitlab-org/gitlab-shell!316
| * Update .PHONY to be accurate198-update-phony-to-have-accurate-list-of-targetsAsh McKenzie2019-06-281-1/+1
| |
| * New bin/gitlab-shell Makefile targetAsh McKenzie2019-06-281-3/+7
| |
| * Remove errant newline for consistencyAsh McKenzie2019-06-281-1/+1
|/
* Merge branch '194-add-makefile-to-make-things-easier' into 'master'Nick Thomas2019-06-273-20/+65
|\ | | | | | | | | | | | | Add Makefile for easier building and testing Closes #194 See merge request gitlab-org/gitlab-shell!310
| * Update README to include new Makefile targets194-add-makefile-to-make-things-easierAsh McKenzie2019-06-271-11/+25
| |
| * Use new Makefile targets in .gitlab-ci.ymlAsh McKenzie2019-06-271-9/+5
| |
| * Add Makefile for easier building and testingAsh McKenzie2019-06-271-0/+35
|/
* Merge branch 'zj-disable-go-mod-explicitly' into 'master'Nick Thomas2019-06-171-1/+2
|\ | | | | | | | | Set Go111MODULE to 'off' during compilation See merge request gitlab-org/gitlab-shell!315
| * Set Go111MODULE to 'off' during compilationZeger-Jan van de Weg2019-06-171-1/+2
|/ | | | | | | | Given more to the Go community moves to Go modules, one might default to GO111MODULE to on in their environment. If this is done, this project fails to compile. By setting the environment for the compilation this is fixed.
* Merge branch 'id-enable-features-by-default' into 'master'Nick Thomas2019-06-111-3/+1
|\ | | | | | | | | Enable all migration features by default See merge request gitlab-org/gitlab-shell!313
| * Add a comment with all features enabled by defaultIgor2019-06-111-3/+1
|/ | | | In order to uncomment it in the Makefile of GDK
* Merge branch 'release-9-3-0' into 'master'v9.3.0Nick Thomas2019-06-062-1/+9
|\ | | | | | | | | Release v9.3.0 See merge request gitlab-org/gitlab-shell!312
| * Release v9.3.0Nick Thomas2019-06-062-1/+9
|/
* Merge branch 'id-git-lfs-authenticate' into 'master'Nick Thomas2019-06-069-0/+610
|\ | | | | | | | | | | | | Go implementation for LFS authenticate Closes #163 See merge request gitlab-org/gitlab-shell!308
| * Go implementation for LFS authenticateIgor2019-06-069-0/+610
|/
* Merge branch 'id-git-upload-archive' into 'master'Nick Thomas2019-06-059-0/+171
|\ | | | | | | | | | | | | Go implementation for git-upload-archive Closes #162 See merge request gitlab-org/gitlab-shell!307
| * Go implementation for git-upload-archiveIgor2019-06-059-0/+171
|/
* Merge branch '187-respect-gitlab-shell-dir-envvar-in-go' into 'master'Ash McKenzie2019-06-041-0/+4
|\ | | | | | | | | | | | | Respect GITLAB_SHELL_DIR in the Go version Closes #187 See merge request gitlab-org/gitlab-shell!309
| * Respect GITLAB_SHELL_DIR in the Go versionNick Thomas2019-06-041-0/+4
|/
* Merge branch 'id-git-upload-pack' into 'master'Nick Thomas2019-06-0316-48/+213
|\ | | | | | | | | | | | | Go implementation for git-upload-pack Closes #160 See merge request gitlab-org/gitlab-shell!305
| * Go implementation for git-upload-packIgor2019-06-0316-48/+213
|/
* Merge branch 'id-fallback-for-unimplemented' into 'master'Nick Thomas2019-06-032-11/+20
|\ | | | | | | | | Return Fallback cmd if feature is enabled, but unimplemented See merge request gitlab-org/gitlab-shell!306
| * Return Fallback cmd if feature is enabled, but unimplementedIgor2019-06-032-11/+20
|/
* Merge branch 'id-git-receive-pack' into 'master'Nick Thomas2019-05-3137-102/+1688
|\ | | | | | | | | | | | | Go implementation for git-receive-pack Closes #161 See merge request gitlab-org/gitlab-shell!300
| * Go implementation for git-receive-packIgor2019-05-3137-102/+1688
|/
* Merge branch 'go-1-12' into 'master'Nick Thomas2019-05-311-8/+4
|\ | | | | | | | | Only build against go1.11 and go1.12 See merge request gitlab-org/gitlab-shell!304
| * Only build against go1.11 and go1.12Nick Thomas2019-05-301-8/+4
|/
* Merge branch 'id-go-refactorings' into 'master'Nick Thomas2019-05-2214-101/+101
|\ | | | | | | | | Refactor execution and parsing logic in Go's implementation See merge request gitlab-org/gitlab-shell!302
| * Add go tag to two-factor-recovery specsIgor Drozdov2019-05-221-1/+1
| |
| * Introduce gitlabnet.ParseJSON to DRYIgor Drozdov2019-05-224-60/+48
| |
| * Pass readWriter to Command constructorIgor Drozdov2019-05-209-40/+52
|/
* Merge branch 'sh-release-9.2.0' into 'master'v9.2.0Rémy Coutable2019-05-162-1/+4
|\ | | | | | | | | Release v9.2.0 See merge request gitlab-org/gitlab-shell!301
| * Release v9.2.0Stan Hu2019-05-162-1/+4
|/
* Merge branch 'sh-upgrade-to-ruby-2.6.3' into 'master'Rémy Coutable2019-05-094-2/+14
|\ | | | | | | | | Upgrade to Ruby 2.6.3 See merge request gitlab-org/gitlab-shell!298
| * Upgrade to Ruby 2.6.3sh-upgrade-to-ruby-2.6.3Stan Hu2019-05-064-2/+14
| | | | | | | | | | | | Restores some of the changes in https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/257, but still targets Rubocop for 2.3.
* | Merge branch 'release-9-1-0' into 'master'v9.1.0Nick Thomas2019-05-072-1/+7
|\ \ | |/ |/| | | | | Release v9.1.0 See merge request gitlab-org/gitlab-shell!299
| * Release v9.1.0Nick Thomas2019-05-072-1/+7
|/
* Merge branch 'id-api-https' into 'master'Nick Thomas2019-05-0110-16/+263
|\ | | | | | | | | | | | | Support calling internal API using HTTPS Closes #179 See merge request gitlab-org/gitlab-shell!297
| * Support calling internal API using HTTPSIgor2019-05-0110-16/+263
|/
* Merge branch 'master' into 'master'Nick Thomas2019-05-012-9/+13
|\ | | | | | | | | Print keys in list-keys command See merge request gitlab-org/gitlab-shell!198
| * Actually print matched keys in list_keysChristian Ratzenhofer2019-04-302-9/+13
|/