summaryrefslogtreecommitdiff
path: root/internal/command/lfsauthenticate
Commit message (Collapse)AuthorAgeFilesLines
* Resolve an error-swallowing issue499-log-me-more-moreNick Thomas2021-09-301-0/+7
|
* refactor: move away from ioutil (deprecated)feistel2021-08-191-3/+3
|
* Replace cleanup functions with t.CleanupIgor Drozdov2021-03-171-4/+2
| | | | | In this case we don't need to propagate cleanup function. It simplifies the code.
* Make it possible to propagate correlation ID across processesStan Hu2020-09-202-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, gitlab-shell did not pass a context through the application. Correlation IDs were generated down the call stack instead of passed around from the start execution. This has several potential downsides: 1. It's easier for programming mistakes to be made in future that lead to multiple correlation IDs being generated for a single request. 2. Correlation IDs cannot be passed in from upstream requests 3. Other advantages of context passing, such as distributed tracing is not possible. This commit changes the behavior: 1. Extract the correlation ID from the environment at the start of the application. 2. If no correlation ID exists, generate a random one. 3. Pass the correlation ID to the GitLabNet API requests. This change also enables other clients of GitLabNet (e.g. Gitaly) to pass along the correlation ID in the internal API requests (https://gitlab.com/gitlab-org/gitaly/-/issues/2725). Fixes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/474
* Move gitlabnet client to client packagejc-refactor-gitlabnet-clientJohn Cai2020-05-041-1/+1
|
* Add git-lfs upload operation assertion37371-git-clone-on-secondary-geo-node-fetches-lfs-files-from-primaryAsh McKenzie2019-12-031-1/+3
|
* Use correct LFS download or upload operation namesAsh McKenzie2019-12-031-14/+18
|
* More consistent console messages (golang)Ash McKenzie2019-10-231-2/+2
|
* Rename import pathsNick Thomas2019-10-182-13/+13
|
* Move go code up one levelNick Thomas2019-10-182-0/+257