Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support calling internal API using HTTPSid-api-https | Igor Drozdov | 2019-05-01 | 10 | -16/+263 |
| | |||||
* | Support calling internal api using HTTP | Igor | 2019-04-24 | 15 | -140/+348 |
| | |||||
* | Pass the root directory into the fallback command | Nick Thomas | 2019-04-12 | 4 | -12/+99 |
| | |||||
* | Correctly determine the root directory for gitlab-shell | Nick Thomas | 2019-04-12 | 1 | -11/+24 |
| | | | | Credit to https://gitlab.com/ejiek for spotting this one. | ||||
* | Provide go implementation for 2fa_recovery_codes command | Igor | 2019-03-21 | 17 | -46/+622 |
| | |||||
* | Better testing for JSON deserialisationan-improve-test-coverage | Andrew Newdigate | 2019-03-18 | 3 | -0/+177 |
| | | | | | | | | Adds tests to ensure that JSON deserialisation from program arguments takes place. This was a testing blind spot, which led to a brief regression: https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/280 | ||||
* | Wrap Stderr & Stdout in a reporter struct | Bob Van Landuyt | 2019-03-15 | 8 | -37/+96 |
| | | | | | The reporter struct can be used for passing around and reporting to the io.Writer of choice. | ||||
* | Detect user based on key, username or id | Bob Van Landuyt | 2019-03-14 | 8 | -1/+634 |
| | | | | | | | | | | | | | | | | | | This allows gitlab-shell to be called with an argument of the format `key-123` or `username-name`. When called in this way, `gitlab-shell` will call the GitLab internal API. If the API responds with user information, it will print a welcome message including the username. If the API responds with a successful but empty response, gitlab-shell will print a welcome message for an anonymous user. If the API response includes an error message in JSON, this message will be printed to stderr. If the API call fails, an error message including the status code will be printed to stderr. | ||||
* | Get secret from config | Bob Van Landuyt | 2019-03-13 | 8 | -87/+182 |
| | | | | | | | | | | | This adds parsing if the `secret_file` from YAML. And reads the contents of the configured file. If no file is configured, we fall back to the `.gitlab_shell_secret` in the root dir of the configuration. If the configured path does not start with a `/` we start looking for the file relative to the root dir of the configuration. | ||||
* | Vendor otiai10/copy | Bob Van Landuyt | 2019-03-13 | 6 | -0/+161 |
| | |||||
* | Fix unmarshalling JSON from the command line | Nick Thomas | 2019-03-06 | 3 | -3/+3 |
| | |||||
* | Adds distributed tracing instrumentation to GitLab-Shellan-distributed-tracing | Andrew Newdigate | 2019-03-01 | 11 | -223/+322 |
| | | | | Adds distributed tracing instrumentation to GitLab-Shell using LabKit | ||||
* | Add testify/require to vendored packages | Andrew Newdigate | 2019-02-26 | 8 | -0/+2274 |
| | |||||
* | Vendor LabKit into GitLab-Shell | Andrew Newdigate | 2019-02-25 | 120 | -0/+16304 |
| | | | | Done using `govendor fetch -v gitlab.com/gitlab-org/labkit/...@master` | ||||
* | Bump gitaly-proto to v1.10.0sh-bump-gitaly-proto | Stan Hu | 2019-02-12 | 8 | -539/+1009 |
| | | | | | This is done to ensure we don't run into unknown fields as we saw in https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/364. | ||||
* | Don't fall back to ruby for non SSH connectionsbvl-feature-flag-commands | Bob Van Landuyt | 2019-01-15 | 2 | -7/+6 |
| | | | | | 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"-feature | Bob Van Landuyt | 2019-01-15 | 10 | -17/+425 |
| | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Vendor testify | Bob Van Landuyt | 2019-01-14 | 48 | -0/+11112 |
| | | | | Add testify as test helpers | ||||
* | Remove unused vendored coderemove-gitaly-proto-helper | Jacob Vosmaer | 2018-12-17 | 3 | -84/+0 |
| | |||||
* | Vendor updates | Andrew Newdigate | 2018-12-11 | 373 | -33426/+81807 |
| | |||||
* | Revert "Merge branch 'zj-rename-gitalypb' into 'master'"revert-0662bdd1 | Zeger-Jan van de Weg | 2018-12-07 | 41 | -2530/+2243 |
| | | | This reverts merge request !262 | ||||
* | Upgrade gitaly Client dependency | Zeger-Jan van de Weg | 2018-12-06 | 41 | -2243/+2530 |
| | | | | | The client now has TLS support. So this gets pulled into this component. To make it work, we have to upgrade the proto too. | ||||
* | Use Gitaly's v2 auth schemegitaly-auth-v2 | Alejandro Rodríguez | 2018-10-09 | 26 | -6/+1954 |
| | |||||
* | Allow the config directory to be specified | Nick Thomas | 2018-09-28 | 3 | -17/+31 |
| | |||||
* | Specify a richer scheme to run the migration with | Nick Thomas | 2018-09-28 | 3 | -26/+54 |
| | |||||
* | Initial feature-flagged go/ruby switch | Nick Thomas | 2018-09-28 | 3 | -6/+49 |
| | |||||
* | Pass custom git_config_options to Gitalyo | Rubén Dávila | 2018-08-07 | 7 | -273/+457 |
| | | | | | The /api/internal/allowed endpoint on GitLab has been updated to return some custom git options that can be used with git commands, we need to pass these received options to Gitaly. | ||||
* | Update gitaly-proto to 0.109.0 | James Lopez | 2018-07-27 | 16 | -715/+3151 |
| | |||||
* | Add script to update vendored go libs | Jacob Vosmaer (GitLab) | 2018-07-24 | 1 | -0/+12 |
| | |||||
* | Add Gitaly git-upload-archive migrated commandgitaly-upload-archive | Alejandro Rodríguez | 2018-03-20 | 18 | -666/+2397 |
| | |||||
* | Switch to structured logging | Jacob Vosmaer (GitLab) | 2018-03-19 | 3 | -23/+46 |
| | |||||
* | Vendor logrus at v1.0.5add-logrus | Jacob Vosmaer | 2018-03-13 | 266 | -0/+153518 |
| | |||||
* | Update gitaly-proto and gitaly libs | Jacob Vosmaer (GitLab) | 2018-01-18 | 21 | -480/+8485 |
| | |||||
* | Use grpc-go 1.9.1grpc-go-1.9.1 | Jacob Vosmaer | 2018-01-18 | 85 | -3557/+11819 |
| | |||||
* | Bump gitaly-proto to v0.23.0sh-bump-gitaly-proto-23-0 | Stan Hu | 2017-07-29 | 6 | -142/+431 |
| | |||||
* | Bump gitaly-proto version to 0.20.0 | Stan Hu | 2017-07-25 | 6 | -119/+540 |
| | |||||
* | Update vendoring for gitalyupdate-gitaly-definition | Kim "BKC" Carlbäcker | 2017-07-20 | 11 | -191/+1059 |
| | |||||
* | tokens! | Kim "BKC" Carlbäcker | 2017-07-07 | 3 | -3/+3 |
| | |||||
* | refactor Gitaly dialOptsgitaly-124-gitaly-ssh | Kim "BKC" Carlbäcker | 2017-07-07 | 3 | -18/+15 |
| | |||||
* | don't make up exitCodes | Kim "BKC" Carlbäcker | 2017-07-07 | 2 | -6/+6 |
| | |||||
* | update gitaly-proto | Kim "BKC" Carlbäcker | 2017-07-07 | 12 | -556/+2377 |
| | |||||
* | Authentication | Kim "BKC" Carlbäcker | 2017-07-06 | 2 | -2/+18 |
| | |||||
* | fix vendor | Kim "BKC" Carlbäcker | 2017-07-06 | 6 | -56/+71 |
| | |||||
* | - Update gitaly vendoring | Kim "BKC" Carlbäcker | 2017-07-03 | 20 | -146/+3115 |
| | | | | | - Wire up gitaly-*-pack to Gitaly. Don't pass git-*-pack to go - Disable tests for go1.5 & 1.6 | ||||
* | Downgrade grpc to get Go 1.5 compatibilitygo-1.5-compat | Jacob Vosmaer | 2017-06-02 | 15 | -921/+473 |
| | |||||
* | Check number of arguments | Jacob Vosmaer | 2017-05-23 | 2 | -0/+10 |
| | |||||
* | Change signature of logger.Fatal | Jacob Vosmaer | 2017-05-23 | 3 | -16/+17 |
| | |||||
* | Use gitaly-upload-pack and gitaly-receive-pack | Jacob Vosmaer | 2017-05-23 | 26 | -12/+9717 |
| | |||||
* | Vendor gitaly-proto 0.5.0go-hello-world | Jacob Vosmaer | 2017-04-12 | 161 | -1/+68957 |
| | |||||
* | Add hello-world executable | Jacob Vosmaer | 2017-04-12 | 2 | -0/+13 |