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-08-19CONTRIBUTING.md: Replace indivudual names by @gl-gitalytoon-codeownersToon Claes
It's annoying to keep the list of maintainers up-to-date, so just refer to the group of maintainers.
2022-08-19CODEOWNERS: Add CODEOWNERS fileToon Claes
Specify who needs to give approval on Merge Requests.
2022-08-19Update changelog for 15.3.0GitLab Release Tools Bot
[ci skip]
2022-08-19Merge branch 'tnir-ruby-licensee-to-9.15.2' into 'master'John Cai
Add support for MulanPSL-2.0 in license detection See merge request gitlab-org/gitaly!4825
2022-08-19Merge branch 'jt-revert-d0e60a80' into 'master'Justin Tobler
Revert "config: Set autocrlf to false" See merge request gitlab-org/gitaly!4833
2022-08-18Revert "config: Set autocrlf to false"Justin Tobler
This reverts commit d0e60a800ddadd6531a5c4030d86b09564004a21. Due to an issue with some tests in the main GitLab project this commit needs to be reverted to unblock the update flow and allow time for further investigation.
2022-08-18Merge branch 'smh-remove-custom-duration' into 'master'Justin Tobler
Remove custom duration type See merge request gitlab-org/gitaly!4829
2022-08-18Merge branch 'jt-gitaly-exit-code' into 'master'Sami Hiltunen
gitaly: Exit code 1 on error Closes #4238 See merge request gitlab-org/gitaly!4821
2022-08-18Remove custom duration typeSami Hiltunen
Back in the day, a custom duration type was added to Gitaly's config package as the TOML parser used didn't support parsing duration types natively. The TOML parser used these days supports the native time.Duration type of Go. Remove the custom type and update all sites to use the native duration type.
2022-08-17Merge branch 'sh-update-rack-and-rouge' into 'master'John Cai
Update rack and rouge gems to match GitLab Rails See merge request gitlab-org/gitaly!4817
2022-08-17Merge branch 'renovate/postgres-dependencies' into 'master'Toon Claes
go: Update Postgres dependencies See merge request gitlab-org/gitaly!4818
2022-08-17Merge branch 'sh-update-pgquery' into 'master'Toon Claes
Update pg_query gem to v2.1.3 See merge request gitlab-org/gitaly!4815
2022-08-17Merge branch 'sh-update-ffi' into 'master'Toon Claes
Update ffi gem to v1.15.5 See merge request gitlab-org/gitaly!4816
2022-08-17Add support for MulanPSL-2.0 in license detectiontnir-ruby-licensee-to-9.15.2Takuya Noguchi
Counterpart PR in gitlab: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/94948 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> Changelog: other
2022-08-17Merge branch 'pks-makefile-refactor-git-target' into 'master'Pavlo Strokov
Makefile: Refactor `make git` target See merge request gitlab-org/gitaly!4804
2022-08-16Merge branch 'jt-update-autocrlf-config' into 'master'John Cai
config: Set autocrlf to false Closes #3476 See merge request gitlab-org/gitaly!4801
2022-08-16Merge branch 'jc-cat-file-object-size' into 'master'John Cai
repository: Use git-cat-file to calculate repository size Closes gitlab#368150 See merge request gitlab-org/gitaly!4797
2022-08-16repository: Use git-cat-file to calculate repository sizeJohn Cai
Use git-cat-file to list all objects and accumulate the sizes in order to get a number of the total size of a repository. Changelog: changed
2022-08-16config: Set autocrlf to falseJustin Tobler
Gitaly should be agnostic as a datastore and not transform line endings. Currently by default `core.autocrlf` is set to `input` which can transform line endings on commit. This change updates the default global configuration of `core.autocrlf` to `false` which stops Gitaly from transforming line endings.
2022-08-16Merge branch 'pks-gitpipe-sha256' into 'master'Toon Claes
gitpipe: Support SHA256 object hash See merge request gitlab-org/gitaly!4798
2022-08-16gitaly: Exit code 1 on errorjt-gitaly-exit-codeJustin Tobler
Currently in Gitaly when `run()` returns an error and exits the exit code returned is always 0. On error the exit code should be 1 to reflect that the process terminated due to an error. This change checks for errors returned by `run()` and exits with the appropriate error code.
2022-08-14Update rack and rouge gems to match GitLab Railssh-update-rack-and-rougeStan Hu
This matches the versions used in GitLab Rails and helps reduce some space in the Omnibus build. Changelog: changed
2022-08-14Update ffi gem to v1.15.5sh-update-ffiStan Hu
This matches the version used in GitLab Rails and helps reduce some space in the Omnibus build. Changelog: changed
2022-08-14Update pg_query gem to v2.1.3sh-update-pgqueryStan Hu
This matches the version used in GitLab Rails and helps reduce some space in the Omnibus build. Changelog: changed
2022-08-13go: Update Postgres dependenciesGitLab Renovate Bot
2022-08-12Merge branch 'smh-default-enable-replica-path' into 'master'Toon Claes
Default enable Praefect generated replica paths See merge request gitlab-org/gitaly!4809
2022-08-12Merge branch 'jt-update-git-fsck-config' into 'master'Toon Claes
fsck: Update fsck ignore rules configuration Closes #4265 and #4404 See merge request gitlab-org/gitaly!4777
2022-08-12fsck: Test ignore rules configurationjt-update-git-fsck-configJustin Tobler
Added tests to ensure correct configuration of git-fsck(1) is generated and applied to the command when executed.
2022-08-12fsck: Update fsck ignore rules configurationJustin Tobler
Currently fsck ignore rules configuration only applies to git-fetch-pack(1) and git-receive-pack(1) commands. These rules should also apply to the git-fsck(1) command itself. This change unifies the configuration.
2022-08-11Merge branch '17801_use_semantic_sort_for_tags' into 'master'John Cai
Use semantic sort for tags See merge request gitlab-org/gitaly!4336
2022-08-11Merge branch 'jc-remove-default-mr-template' into 'master'Toon Claes
Remove default MR template See merge request gitlab-org/gitaly!4811
2022-08-11Remove default MR templateJohn Cai
The default MR template creates unnecessary work since we already take pains to write a coherent and detailed commit message. Once the MR template supports automatic importing of commit messages, we can add a default template once again.
2022-08-11gitpipe: Support SHA256 object hashpks-gitpipe-sha256Patrick Steinhardt
Adapt the gitpipe package to support repositories that use SHA256 as object hash by automatically detecting the repository format and enable testing this package with SHA256.
2022-08-11gitpipe: Parallelize testsPatrick Steinhardt
The gitpipe tests are not parallelized right now. Fix this by adding the missing calls to `t.Parallel()`.
2022-08-11gitpipe: Refactor Pipeline tests to not use seeded reposPatrick Steinhardt
Refactor the Pipeline tests to not use seeded repositories with hardcoded object IDs. Instead, the tests are changed such that they generate test data at runtime so that we can easily support different object hashes.
2022-08-11gitpipe: Refactor ForEachRef tests to not use seeded reposPatrick Steinhardt
Refactor the ForEachRef tests to not use seeded repositories with hardcoded object IDs. Instead, the tests are changed such that they generate test data at runtime so that we can easily support different object hashes.
2022-08-11gitpipe: Refactor Revision tests to not use seeded reposPatrick Steinhardt
Refactor the Revision tests to not use seeded repositories with hardcoded object IDs. Instead, the tests are changed such that they generate test data at runtime so that we can easily support different object hashes.
2022-08-11gitpipe: Refactor LsTree tests to not use seeded reposPatrick Steinhardt
Refactor the LsTree tests to not use seeded repositories with hardcoded object IDs. Instead, the tests are changed such that they generate test data at runtime so that we can easily support different object hashes.
2022-08-11gitpipe: Refactor DiffTree tests to not use seeded reposPatrick Steinhardt
Refactor the DiffTree tests to not use seeded repositories with hardcoded object IDs. Instead, the tests are changed such that they generate test data at runtime so that we can easily support different object hashes.
2022-08-11gitpipe: Refactor CatfileObject tests to not use seeded reposPatrick Steinhardt
Refactor the CatfileObject tests to not use seeded repositories with hardcoded object IDs. Instead, the tests are changed such that they generate test data at runtime so that we can easily support different object hashes.
2022-08-11gitpipe: Refactor CatfileInfo tests to not use seeded reposPatrick Steinhardt
Refactor the CatfileInfo tests to not use seeded repositories with hardcoded object IDs. Instead, the tests are changed such that they generate test data at runtime so that we can easily support different object hashes.
2022-08-11Merge branch 'pks-golangci-lint-thelper' into 'master'Patrick Steinhardt
golangci-lint: Add the `thelper` linter to enforce more-consistent test style See merge request gitlab-org/gitaly!4806
2022-08-11golangci-lint: Document why we don't enable `t.Helper()` rulePatrick Steinhardt
The `thelper` linter has a rule that will flag test helper functions that don't call `t.Helper()`. Unfortunately, this will also flag all kinds of functions that really shouldn't have this call, which makes the linter effectively useless for us. Document why we disable it to not keep folks wondering.
2022-08-11Use semantic sort for tagsVasilii Iakliushin
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/17801 **Problem** Default sort by name for tags often does not produce the expected result. ``` v1.1.0 v1.10.0 v1.2.0 ``` **Solution** Use semantic sort for tag names ``` v1.1.0 v1.2.0 v1.10.0 ``` Changelog: changed
2022-08-11golangci-lint: Enforce consistent naming of `testing.TB` variablesPatrick Steinhardt
Enforce consistent naming of `testing.TB` variables, which should be called `tb`, and adapt tests that violate this rule.
2022-08-11golangci-lint: Enforce that `testing.T` must be first parameterPatrick Steinhardt
Enforce that `testing.T` et al must be the first parameter of test functions. Unfortuntately, the linter explicitly allows for contexts to precede `testing.T`, which causes us to still not enforce a uniform style for our test functions. Fix cases where we violate this rule.
2022-08-11golangci-lint: Add `thelper` linterPatrick Steinhardt
Add the `thelper` linter, which knows to enforce consistent code styles around tests: - `testing.T` should be the first parameter in test-related functions. - Functions called by tests should call `t.Helper()`. - `testing.T`, `testing.B` and testing.TB` variables should be consistently named as `t`, `b`, and `tb`, respectively. Right now we still have all rules disabled that would trigger warnings.
2022-08-11golangci-lint: Allow `testing.T` as first parameterPatrick Steinhardt
We currently exclude a revive rule that `context.Context` should be the first parameter for our test sources. This can be handled better though because golangci-lint allows us to exclude certain types from this rule. Adapt the rule to allow `testing.T` et al before `context.Context` and remove the excluded rule. Interestingly, this now surfaces a whole bunch of `nolint: revive` annotations that aren't needed anymore, so we fix them in the same commit.
2022-08-11golangci-lint: Update to v1.48.0Patrick Steinhardt
Update golangci-lint to v1.48.0 and fix two warnings it starts to surface due to that update.
2022-08-11Merge branch 'pks-gittest-create-repo-consolidation' into 'master'Patrick Steinhardt
gittest: Consolidate functions to create test repositories See merge request gitlab-org/gitaly!4795