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-09-07client: Move `Pool` logic into internal packagePatrick Steinhardt
Move the `Pool` logic into our internal client package. Like this we can reuse the functionality internally without having to rely on our public interface, which allows us to iterate on its internal implementation without breaking the public API.
2023-05-10go: Bump module version from v15 to v16Patrick Steinhardt
We're about to release Gitaly v16.0. As we've landed a bunch of previously announced removals it's thus time to bump our Go module version from v15 to v16.
2023-03-16lint: Fix discouraged error wrapping verbQuang-Minh Nguyen
We encourage wrapping error with %w when constructing a new error. The new error contains the original error so that it is able to be unwrapped later. This commit converts all error wrapping to %w.
2022-05-20Update go package name from v14 to v15John Cai
This commit changes the major version in the package name from v14 to v15 Updating go.mod & go.sum with new module name v15 Update Makefile to bump major version to v15 Update the gitaly package name in the Makefile. Also update gitaly-git2go-v14 -> gitaly-git2go-v15. We need to keep gitaly-git2go-v14 for a release however, for zero downtime upgrades. This pulls directly from a sha that is v14. Update package name from v14->v15 for auth, client, cmd, internal packages This commit changes the package name from v14 to v15 in go and proto files in the internal, auth, client, cmd packages. proto: Update major package number in package name tools: Change major version number in package name from v14 to v15 gitaly-git2go: Change the package name from v14 to v15 update module updater for v15 Update the documentation for the module updater to reflect v15
2021-05-27Create module v14 gitaly versionPavlo Strokov
The new "v14" version of the Gitaly module is named to match the next GitLab release. The module versioning is needed in order to pull gitaly as a dependency in other projects. The change updates all imports to include v14 version. The go.mod file was modified as well after go mod tidy execution. And the changes in dependency licenses are reflected in the NOTICE file. Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/3177
2020-12-17golangci: Do not use default excludesPatrick Steinhardt
The golangci-lint project has a set of default excludes for linters which are applied by default. This means that we cannot choose ourselves which linting messages we want to include, as some of them cannot be controlled by us. One noteworthy linting check which is excluded right now checks whether comments for types and functions are prefixed with their respective name. This is something which we try to enforce in Gitaly, too, but naturally there's cases where it slips through review. So let's disable the default excludes such that we can enable this linting check. As it turns out, there's quite a lot of cases where we failed to adhere to this style, which this commit also fixes. One thing which we don't do though is to have per-package comments, so let's actively ignore it for now.
2020-12-07Connections pool should respect token as part of the keyPavlo Strokov
It could be possible the same address will require a new token to be used. This could be possible in case of the new token rollout. The simplest approach is to make a token part of the key in the connections pool. With that the same address will be able to have multiple connections with different token. Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2699
2020-10-16Allow to specify a dialer for the connection poolMikhail Mazurskiy
This is useful to allow to override connection creation e.g. to specify per-connection dial options.
2020-07-24Export connection poolMikhail Mazurskiy
2019-12-10Fix forking with custom CA in RPC CreateForkPaul Okstad
2018-12-05Fix TLS client code on macOSJacob Vosmaer