Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-30golangci-lint: Restore default revive lintswc/fix-revive-lintsWill Chandler
With 7e87131ed (golangci-lint: Allow `testing.T` as first parameter, 2022-08-10) we set `context-as-argument` the sole argument to `revive:rules`. This causes golangci-lint to disable all revive lints that were previously enabled by default. Re-enable the default revive lints by explicitly listing them in our config. This triggers a large number of lint errors, resolve these as well in this commit.
2022-08-21client: Fix linter issues4341-remove-dependency-on-gitlab-shellKarthik Nayak
These files were directly copied over from 'gitlab-shell' in 823a6893bb4275f7d21035a34c778317af7d3d16. Let's fix the linter issues pre-existing in these files.
2022-08-21gitlab: Copy client code from 'gitlab-shell'Karthik Nayak
Currently 'gitlab-shell' contains the code for the gitlab client. We use this in our 'gitaly' code, but this causes a cyclic dependency since 'gitlab-shell' also imports parts of our code. To remove this cyclic dependency, we decided to move most of the code in-house. In this commit we do this by copying over the following files: 1. gitlabnet.go 2. httpclient.go from 'gitlab-shell' without modification to a new 'client' package under 'internal/gitlab'. We do not copy over the tests, since our repo has its own helpers for tests which we'll leverage to rewrite the tests.