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
2023-10-06tools/golangci-lint: Update module golang.org/x/tools to v0.14.0GitLab Renovate Bot
2023-09-05tools/golangci-lint: Update module golang.org/x/tools to v0.13.0GitLab Renovate Bot
2023-08-21tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.54.2GitLab Renovate Bot
2023-08-11tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.54.1GitLab Renovate Bot
2023-08-07tools/golangci-lint: Update module golang.org/x/tools to v0.12.0GitLab Renovate Bot
2023-07-31tools/golangci-lint: Update module golang.org/x/tools to v0.11.1GitLab Renovate Bot
2023-07-14tools/golangci-lint: Update exclude github.com/spf13/viper to v1.16.0GitLab Renovate Bot
The viper updates from v1.12.0 onwards breaks backward compatibility. See https://github.com/spf13/viper/pull/1577. To keep the bot from updating, let's update the exclude version.
2023-07-05tools/golangci-lint: Update module golang.org/x/tools to v0.11.0GitLab Renovate Bot
2023-06-21Merge branch 'renovate-tools/golangci-lint/golang.org-x-tools-0.x' into 'master'John Cai
tools/golangci-lint: Update module golang.org/x/tools to v0.10.0 See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/5939 Merged-by: John Cai <jcai@gitlab.com> Approved-by: Justin Tobler <jtobler@gitlab.com> Approved-by: John Cai <jcai@gitlab.com> Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
2023-06-16tools/golangci-lint: Update module golang.org/x/tools to v0.10.0GitLab Renovate Bot
2023-06-15tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.53.3GitLab Renovate Bot
2023-06-12tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.53.2GitLab Renovate Bot
Update golangci-lint to the latest version. This also updates depguard to the latest version, so we need to modify our config to match the new version of depguard.
2023-06-01tools/golangci-lint: Update module golang.org/x/tools to v0.9.3GitLab Renovate Bot
2023-04-13tools/golangci-lint: Update module golang.org/x/tools to v0.8.0GitLab Renovate Bot
2023-03-30tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.52.2GitLab Renovate Bot
2023-03-30tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.52.1GitLab Renovate Bot
2023-03-25tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.52.0GitLab Renovate Bot
2023-03-14tools/golangci-lint: Update module golang.org/x/tools to v0.7.0GitLab Renovate Bot
2023-03-06tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.51.2GitLab Renovate Bot
Go plugins are required to be built with the same package versions where they are being implemented. This change updates `golang.org/x/tools` to `v0.6.0` so the custom analyzer plugin works with the also updated version of `golangci-lint`.
2023-03-03tools/golangci-lint: Update module golang.org/x/tools to v0.6.0GitLab Renovate Bot
2023-02-08tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.51.1GitLab Renovate Bot
2022-11-09tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.50.1GitLab Renovate Bot
2022-10-21golangci-lint: Update to use Go 1.18Karthik Nayak
golangci-lint doesn't work with Go 1.17 anymore, since it has dependencies which set a minimum version of Go 1.18. This breaks `make lint` locally since the tool errors out during installation. Update the go.mod to `go 1.18` and run `go mod tidy` in the package.
2022-10-14tools/golangci-lint: Fix Viper v1.13 breaking the Revive linter configPatrick Steinhardt
The upgrade to Viper v1.13 has introduced a change to lower-case all config entries in arrays via 5247643 (Recurse into arrays when converting keys to lowercase, 2022-06-23). This in turn breaks our ability to pass the `allowTypesBefore` argument to the Revive linter as it performs an exact match for the arguments. Let's unblock the upgrade to golangci-lint v1.50.0 by excluding Viper v1.13 for the time being.
2022-10-14tools/golangci-lint: Update module github.com/golangci/golangci-lint to v1.50.0GitLab Renovate Bot
2022-10-10Makefile: Track Go tool versions via separate Go modulesPatrick Steinhardt
Right now we track versions of our Go tooling directly in our Makefile. While this is simple, it has several drawbacks: - We're susceptible to supply-chain attacks in case an adversary manages to replace the code used to build any of our tools. - We cannot use proper dependencies in our Makefile, which adds the need for `*.version` files. - It is hard to build the tools outside of our Makefile as we don't have a way to properly pull in the correct version. - Upgrading our tooling requires us to manually hunt down new releases for all of our tools. We can fix these issues by following the approach that is efficially recommended by the Go project [1]: every tool has its own Go module in `tools/` with a "tool.go" file that imports the tool of interest. Like this we can use Go's normal tooling to keep track of versions: - We record hashes of the tool's sources as well as all of its dependencies, making supply-chain attacks almost impossible. - We can now provide proper dependencies in our Makefile: every tool depends on "tool.go", "go.mod" and "go.sum". If any of them changes we need to rebuild. - The tools can be installed in the correct version simply by using `go install` with the correct `go.mod` file. - Upgrading tools is as simple as running `go get -u`, so no more manual hunting for new versions. While these benefits are great on their own already, we can go even further with this refactoring: now that each tool has its own `go.mod` file we can adapt the Renovate bot to pick up these files. This means that we don't have to remember upgrading at all anymore, but instead the bot will automatically upgrade them for us. [1]: https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module