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-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
2022-05-09protolint: Enforce new style for enumerationsPatrick Steinhardt
Our enumerations do not currently have any strict design guidelines. This brings two issues with it: 1. Enumeration values are scoped per-service. Consequentially, if two enumerations want to declare a value with the same name, the declarations will clash. 2. It is not possible to discern the case where a caller hasn't set the value of an enumeration at all versus the case where the field was explicitly set to its zero-value. The official Protobuf style guide thus says that enum values should always be prefixed with the name of the enum itself, and that the zero value should be called `UNSPECIFIED`. Let's enforce this style via protolint so that any new enumerations will follow this recommendation.
2022-05-09proto: Enforce comment-linting for message fieldsPatrick Steinhardt
Enforce that message fields must have a comment and add a placeholder for all instances where such a comment is missing.
2022-05-09proto: Enforce comment-linting for enum fieldsPatrick Steinhardt
Enforce that enum fields must have a comment and add a placeholder for all instances where such a comment is missing.
2022-05-09proto: Enforce comment-linting for enum definitionsPatrick Steinhardt
Enforce that enum definitions must have a comment and add a placeholder for all instances where such a comment is missing.
2022-05-09proto: Enforce comment-linting for message definitionsPatrick Steinhardt
Enforce that message definitions must have a comment and add a placeholder for all instances where such a comment is missing.
2022-05-09proto: Enforce comment-linting for RPC definitionsPatrick Steinhardt
Enforce that RPC definitions must have a comment and add a placeholder for all instances where such a comment is missing.
2022-05-09proto: Enforce comment-linting for servicesPatrick Steinhardt
Enforce that services must have a comment and add a placeholder for all instances where such a comment is missing.
2022-04-29Automatically lint proto filesJames Fargher
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
2021-03-29Apply suggestion to diff mode descriptionsVasilii Iakliushin
2021-03-29Apply code-review suggestionsVasilii Iakliushin
2021-03-29Replace wordDiff with diffModeVasilii Iakliushin
2021-03-29Add support for word-diff modeVasilii Iakliushin
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/324805 * Extend `CommitDiffRequest` with `wordDiff` field * Add testdata for word-diff outputs
2020-11-18Add new diff-tree rpc for files changedMarc Shaw
Related issue: gitlab.com/gitlab-org/gitlab/-/issues/227572 Related MR: gitlab.com/gitlab-org/gitaly/-/merge_requests/2694 This rpc allows us to get the files changed over a list of commits. Currently when we are validating a push, we send a CommitDelta for each commit, which has the potential to be time intensive, and resource intensive. This rpc allows us to make only one call from Gitlab -> Gitaly for the same information.
2020-07-21Add old path to NumStats protobuf outputStan Hu
This will make it possible to solve some N+1 issues in the /internal/allowed endpoint. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/227572
2020-03-10Task proto has dependency to already generated source code.Pavlo Strokov
Extracting lint-related stuff into separate proto file. It is required in order to have proper working proto-linter. Previously it was using compiled files for verification and it fails in some cases (https://gitlab.com/gitlab-org/gitaly/-/jobs/459024976). lint.proto extracted from shared.proto and contains lint-related declarations. New task `proto-lint` added to compile source code that is required by `protoc-gen-gitaly`. `protoc-gen-gitaly` fixed to use proper proto source data. Regeneration of all proto-related files.
2020-02-06Use field annotation for target and additional repositoryMateusz Nowotyński
Instead of setting OID in the RPC method use annotation in the field (`target_repository` and `additional_repository`). Having only this 2 annotations created a problem with messages that can be either target or additional repository (for example `ObjectPool`). Those are marked with `repository` annotation and `target_repository` and `additional_repository` are used in the parent messages. Signed-off-by: Mateusz Nowotyński <maxmati4@gmail.com> Signed-off-by: jramsay <maxmati4@gmail.com>
2019-10-17Remove DiffService Patch RPCZeger-Jan van de Weg
The RawPatch RPC is used by Workhorse, and no other client is currently using this RPC. This change removes it so there's only one way of getting a patch going forward. Closes: https://gitlab.com/gitlab-org/gitaly/issues/2095
2019-07-25Generate embedded Go and Ruby proto stubsJacob Vosmaer
2019-07-05Start preparation for migrating .proto filesJacob Vosmaer