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-14Add Ruby 3 to build matrixmk-ruby3-buildMatthias Kaeppler
2022-09-08Merge branch 'renovate/github.com-pelletier-go-toml-v2-2.x' into 'master'karthik nayak
go: Update module github.com/pelletier/go-toml/v2 to v2.0.5 See merge request gitlab-org/gitaly!4856
2022-09-07Merge branch 'docs-add_gitaly-alerts' into 'master'Andras Horvath
Add #gitaly-alerts to team member onboarding template See merge request gitlab-org/gitaly!4859
2022-09-06Add #gitaly-alerts to team member onboarding templatedocs-add_gitaly-alertsJames Fargher
2022-09-06Merge branch 'jc-cat-file-repo-size-logging' into 'master'Andras Horvath
Log only mode for new repository calculation methods Closes #4447 See merge request gitlab-org/gitaly!4848
2022-09-06repository: Calculate repo size with disk usage formatting directivejc-cat-file-repo-size-loggingJohn Cai
Use the disk usage formatting directive to calculate the repository size using cat-file. Also change the logging statement to log the bytes, rather than kilobytes for the sake of clarity.
2022-09-06Merge branch 'renovate/grpc-dependencies' into 'master'James Fargher
go: Update module google.golang.org/grpc to v1.49.0 See merge request gitlab-org/gitaly!4853
2022-09-06Merge branch 'renovate/github.com-protonmail-go-crypto-digest' into 'master'James Fargher
go: Update github.com/ProtonMail/go-crypto digest to 4b6e5c5 See merge request gitlab-org/gitaly!4847
2022-09-05Merge branch 'ps-standardize-errors' into 'master'Pavlo Strokov
blob: Standardize returned errors See merge request gitlab-org/gitaly!4849
2022-09-05blob: Replace %v with %wPavlo Strokov
We should use %w for the error wrapping. That will allow us to unwrap the error without loosing any context. It is not use right now, but maybe in the future if we need to change response based on the returned error in the chain of interceptors. And one simplification from fmt.Errorf() to errors.New().
2022-09-05blob: Enhance returned error messagesPavlo Strokov
In some cases error returned by RPC methods are prefixed with its names. This is redundant as the caller knows exactly what method is called and also the log entry always contains full method name including service name. Instead, the prefixes for errors in some cases were added to better describe what operation failed. It should help to better navigate to the reason of the error.
2022-09-05blob: Standardize returned errorsPavlo Strokov
Replace different representation of the missing repository argument error with the pre-defined ErrEmptyRepository. Fix order of arguments validation with localrepo creation in GetBlob. Replace status.Error(f) with helper.ErrXXX to have a common pattern and omit possible double-wrapping of the gRPC Status.
2022-09-02gitpipe: Add WithDiskSize option for CatfileInfoJohn Cai
The %(objectsize:disk) formatting directive is useful for calculating the amount of disk space that an object takes up. Add this as an option.
2022-09-02repository: Add log only for new repository calculation methodsJohn Cai
The RepositorySize is a high risk API, since an inaccurate number (especially if it's much higher) can cause projects to be locked due to usage quotas. In order to safely roll out a new calculation, add a log only mode such that a feature flag has to be enabled in order to send the value back to the Rails client. Without this feature flag, we merely log the new calculation and continue to send the value calculated with du.
2022-09-02Merge branch 'jc-update-min-go' into 'master'Justin Tobler
README.md: Update minimum Go version See merge request gitlab-org/gitaly!4857
2022-09-02README.md: Update minimum Go versionJohn Cai
Our minimum Go version is now 1.17. Update the README to reflect this.
2022-09-02Merge branch 'tnir-remove-snowmans-from-issue-links' into 'master'John Cai
Remove snowman parameters from links to issues URL Closes #4442 See merge request gitlab-org/gitaly!4830
2022-09-02go: Update module github.com/pelletier/go-toml/v2 to v2.0.5GitLab Renovate Bot
2022-09-01Update changelog for 15.3.3GitLab Release Tools Bot
[ci skip]
2022-09-01Merge branch 'wc-add-many-repos' into 'master'Toon Claes
praefect: Add `track-repositories` command See merge request gitlab-org/gitaly!4845
2022-08-31praefect: Add 'track-repositories' subcommandwc-add-many-reposWill Chandler
A somewhat common way to migrate to Gitaly Cluster it to copy the contents of an existing storage onto one node of the cluster and manually track each repository. This is convenient for instances where the migration must happen as a single 'big bang' with some downtime, vs the zero-downtime, but much slower method of migrating via the API. Currently admins can script the `track-repository` to run in a loop when ingesting large numbers of repositories, but this is inconvenient and error-prone. To better support this use case, a way to import repositories in-bulk into Praefect is needed. This commit add a new `track-repositories` subcommand that takes a JSON file as input and adds each entry in a single execution. Changelog: added
2022-08-31praefect: Convert to trackRepositoryRequestWill Chandler
In preparation for a new Praefect subcommand that will track many repositories in a single request, convert `track-repository` to use a `trackRepositoryRequest` struct internally. This will allow us to re-use this code when looping over multiple requests.
2022-08-31praefect: Make track-repository output consistentWill Chandler
Currently most output from the `track-repository` subcommand is made via the commands writer, but a subset is done via logger. This leads to an inconsistent format where some output is plaintext, while other messages are in JSON, which is difficult to read. Let's make this consistent by making all non-debug output use the writer, which will be simpler to parse for a one-off CLI command.
2022-08-31praefect: Fix typo in track-repository help stringWill Chandler
Correct spelling of 'executed' in help string for `track-repository` subcommand.
2022-08-31Merge branch 'ash2k/client-fixes' into 'master'Will Chandler
Address client issues Closes #3206 See merge request gitlab-org/gitaly!4846
2022-08-30go: Update module google.golang.org/grpc to v1.49.0GitLab Renovate Bot
2022-08-30Merge remote-tracking branch 'dev/master'GitLab Release Tools Bot
2022-08-30Merge branch 'renovate/ruby-dependencies' into 'master'Stan Hu
ruby: Update dependency gitlab-labkit to '~> 0.24' See merge request gitlab-org/gitaly!4664
2022-08-30Merge branch '1294-simplify-response-type-of-findlocalbranches' into 'master'Will Chandler
Simplify response type of FindLocalBranches See merge request gitlab-org/gitaly!4850
2022-08-30Merge branch 'jt-issue-template-slack' into 'master'Toon Claes
template: Update issue templates See merge request gitlab-org/gitaly!4837
2022-08-30Update changelog for 15.1.6GitLab Release Tools Bot
[ci skip]
2022-08-30Update changelog for 15.2.4GitLab Release Tools Bot
[ci skip]
2022-08-30Update changelog for 15.3.2GitLab Release Tools Bot
[ci skip]
2022-08-30Merge branch 'jc-add-praefect-walkthrough-video' into 'master'Justin Tobler
README: Add Praefect walkthrough video to training section See merge request gitlab-org/gitaly!4852
2022-08-29README: Add Praefect walkthrough video to training sectionJohn Cai
2022-08-26template: Add requests to onboarding templatejt-issue-template-slackJustin Tobler
New Gitaly team members need access to both Zendesk and gitaly ruby gem. This change adds these requests to the onboarding issue template.
2022-08-26template: Update Slack channel in issue templatesJustin Tobler
The `#g_create_gitaly` Slack channel has been renamed to `#g_gitaly`. This change updates the feature flag and onboarding issue templates accordingly.
2022-08-26Update VERSION filesv15.4.0-rc2GitLab Release Tools Bot
[ci skip]
2022-08-26Let client users specify interceptorsash2k/client-fixesMikhail Mazurskiy
Do not assume client users want the same tracing interceptors with the same configuration.
2022-08-26Do not mutate the original options sliceMikhail Mazurskiy
2022-08-26refs: Add 'LocalBranches' to 'FindLocalBranchesResponse'1294-simplify-response-type-of-findlocalbranchesKarthik Nayak
Using a feature flag 'SimplifyFindLocalBranchesResponse', let's add 'LocalBranches' to the 'FindLocalBranchesResponse' structure. After the rollout we'll deprecate the usage of 'Branches' field and only use 'LocalBranches'. Modify the tests to accommodate this new flag.
2022-08-26featureflag: Add new flag 'SimplifyFindLocalBranchesResponse'Karthik Nayak
Add a new flag 'SimplifyFindLocalBranchesResponse' which will facilitate the addition of the new response type to 'FindLocalBranchesResponse'. The new field 'LocalBranches' is meant to deprecate the existing 'Branches' field. The new field is of the generic 'Branch' type.
2022-08-26testhelper: Introduce a new 'assertContainsBranch'Karthik Nayak
In the previous commit (cd071fd027d4dddecf69db4477e2becb25becf59) we renamed 'assertContainsBranch' to 'assertContainsAllBranchesResponseBranch'. In this commit, let's introduce a new 'assertContainsBranch' function which checks if a 'gitalypb.Branch' is present in a list of the same type.
2022-08-26testhelper: Rename 'assertContainsBranch'Karthik Nayak
Rename the function 'assertContainsAllBranchesResponseBranch' and its usecases because its name is not generic enough and we want to introduce a more generic 'assertContainsBranch' commit in the following commits.
2022-08-26Merge branch 'renovate/github.com-rubenv-sql-migrate-1.x' into 'master'Sami Hiltunen
go: Update module github.com/rubenv/sql-migrate to v1 See merge request gitlab-org/gitaly!4698
2022-08-26Merge branch '4227-convert-usercreatebranch-to-use-structured-errors' into ↵Sami Hiltunen
'master' Convert UserCreateBranch to use structured errors Closes #4227 See merge request gitlab-org/gitaly!4835
2022-08-26Merge branch 'ps-flaky-server-factory' into 'master'Justin Tobler
Fix flaky tests of the TestGitalyServerFactory test suite Closes #3916 See merge request gitlab-org/gitaly!4841
2022-08-25Merge branch 'tnir-dashboards-is-no-more-public' into 'master'Andras Horvath
docs: Public Grafana dashboards does not exist any more See merge request gitlab-org/gitaly!4831
2022-08-25Merge branch '1294-simplify-response-type-of-findlocalbranches' into 'master'Will Chandler
proto: return 'Branch' in 'FindLocalBranchesResponse' See merge request gitlab-org/gitaly!4842
2022-08-25Merge branch 'ps-remove-drift_threshold_millis' into 'master'Toon Claes
proto: Remove deprecated drift_threshold_millis Closes #4417 See merge request gitlab-org/gitaly!4843