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
2020-06-02Fix warnings for upcoming ruby versionzj-fix-ruby-warningsAnatol Pomozov
Ruby 2.7 made some deprecation warnings verbose and they become visible to users e.g.: remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete remote: gitlab-gitaly/ruby/gitlab-shell/lib/gitlab_net.rb:63: warning: Passing the keyword argument as the last hash parameter is deprecated remote: gitlab-gitaly/ruby/gitlab-shell/lib/http_helper.rb:98: warning: The called method `post' is defined here remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete Fix the warnings. TESTS: unittests, manually by pushing to a gitlab server Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
2020-06-02Merge branch 'pks-build-git-fixes' into 'master'Zeger-Jan van de Weg
Fix build-git target on musl-based systems See merge request gitlab-org/gitaly!2171
2020-06-02Merge branch 'update-gitlab-url-to-url' into 'master'Zeger-Jan van de Weg
Update config.toml.example to use `gitlab.url` See merge request gitlab-org/gitaly!2240
2020-06-02Update config.toml.example to support ↵Kamil Trzciński
https://gitlab.com/gitlab-org/gitaly/-/commit/87b8dde88db42036d6c03b5537e7ee9b720c1aa5
2020-06-02Merge branch 'cc-git-2-27-0' into 'master'Patrick Steinhardt
Upgrade to Git 2.27 See merge request gitlab-org/gitaly!2237
2020-06-02Upgrade to Git 2.27Christian Couder
- update Docker base image - update CI testing matrix Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2829
2020-06-02Merge branch 'zj-default-sql-failover' into 'master'John Cai
failover: Default to enabling SQL strategy Closes #2682 See merge request gitlab-org/gitaly!2218
2020-06-02Merge branch 'jc-revert-414c9b7c' into 'master'Paul Okstad
Revert "Merge branch 'jc-deprecate-gitlab-shell-yml' into 'master'" See merge request gitlab-org/gitaly!2235
2020-06-02Revert "Merge branch 'jc-deprecate-gitlab-shell-yml' into 'master'"John Cai
This reverts commit 414c9b7c075bae42bd929be7e5abfee52770bfe6, reversing changes made to 3b0d832d1d7162528d35171516969509beee7ead.
2020-06-02Merge branch 'jc-deprecate-gitlab-shell-yml' into 'master'jc-revert-414c9b7cJohn Cai
Remove usage of gitlab shell yml Closes #2182 See merge request gitlab-org/gitaly!2168
2020-06-02Deprecate usage of gitlab shell ymlJohn Cai
Since we are now passing values from gitaly's config.toml to gitlab shell hooks through an environment variable, we can deprecate usage of the legacy yml file.
2020-06-01Merge branch 'jc-dependency-inject-api' into 'master'John Cai
Dependency inject gitlab api See merge request gitlab-org/gitaly!2214
2020-06-01Dependency inject gitlab apiJohn Cai
2020-06-01Update VERSION to 13.1.0-rc2v13.1.0-rc2GitLab Release Tools Bot
2020-05-30Merge branch 'sh-upgrade-ruby-2.6.6' into 'master'Paul Okstad
Bump Ruby to v2.6.6 See merge request gitlab-org/gitaly!2231
2020-05-29Bump Ruby to v2.6.6Stan Hu
This matches the version used in GitLab: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33253
2020-05-29Merge branch 'smh-clean-storage-paths' into 'master'John Cai
Clean configured storage paths See merge request gitlab-org/gitaly!2223
2020-05-29Merge branch 'ps-remove-model-pkg' into 'master'Zeger-Jan van de Weg
Praefect: move of models package Closes #2613 See merge request gitlab-org/gitaly!2228
2020-05-29Update CHANGELOG.md for 13.0.3GitLab Release Tools Bot
[ci skip]
2020-05-29clean configured storage pathsSami Hiltunen
Cleans configured storage paths to ensure the paths are well- formed.
2020-05-29failover: Default to enabling SQL strategyZeger-Jan van de Weg
Given the SQL strategy is a reasonable default, and tested well enough, this change makes the SQL strategy the preferred strategy. This was `local`, which creates dataloss scenarios when multiple Praefects are behind a load balancer. Additionally, this changes behaviour around the read only feature. This would default to being enabled. Currently availability is favoured over consistency. Now this is flipped. Fixes: https://gitlab.com/gitlab-org/gitaly/-/issues/2682
2020-05-29Merge branch 'po-praefect-job-counter-storage-label' into 'master'Paul Okstad
Praefect gauge for replication jobs scoped by storage Closes #2780 See merge request gitlab-org/gitaly!2207
2020-05-29Praefect gauge for replication jobs scoped by storagePaul Okstad
2020-05-29Merge branch 'patch-2' into 'master'Zeger-Jan van de Weg
Use default puma socket in example config See merge request gitlab-org/gitaly!2213
2020-05-29Praefect: move of models packagePavlo Strokov
After removal of Datastore struct it make sense to move entities of the models package into config package. As it is has only a configuration purpose. As well 'node' configuration removed from Config as it is not used anymore. Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2613
2020-05-29Merge branch 'jc-check-auth-before-limit-handler' into 'master'John Cai
Check auth before limit handler Closes #2815 See merge request gitlab-org/gitaly!2221
2020-05-29Update CHANGELOG.md for 13.0.2GitLab Release Tools Bot
[ci skip]
2020-05-29Merge branch 'zj-remove-comment' into 'master'John Cai
Remove outdated comment about alternates sync See merge request gitlab-org/gitaly!2220
2020-05-29Check auth before limit handlerJohn Cai
2020-05-29Remove outdated comment about alternates syncZeger-Jan van de Weg
This comment links to an issue that's closed, referring: https://gitlab.com/gitlab-org/gitaly/-/issues/1674#note_251566094. Which points to https://gitlab.com/gitlab-org/gitaly/-/issues/2016, itself closed too.
2020-05-28Merge branch 'ps-remove-old-tables' into 'master'John Cai
Praefect migration to drop gitaly_ tables Closes #2796 See merge request gitlab-org/gitaly!2217
2020-05-28Merge branch 'zj-allow-failure-danger' into 'master'John Cai
Allow danger to fail See merge request gitlab-org/gitaly!2225
2020-05-28Allow danger to failZeger-Jan van de Weg
2020-05-28Update VERSION to 13.1.0-rc1v13.1.0-rc1GitLab Release Tools Bot
2020-05-28Use workhorse socket instead of the Rails socketJustin Kromlinger
Reasoning: https://gitlab.com/gitlab-org/gitlab-workhorse/-/blob/master/README.md#quick-facts-how-does-workhorse-work https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/388#note_351164003
2020-05-28Merge branch 'ps-removal-memory-datastore' into 'master'Zeger-Jan van de Weg
Praefect: removal of unnecessary Datastore wrapper See merge request gitlab-org/gitaly!2222
2020-05-28Praefect: removal of unnecessary Datastore wrapperPavlo Strokov
Datastore is not needed anymore because of introduction of nodes.NewManager. Now it is responsible for managing nodes. Also Queue interface removed as unnecessary and replaced with ReplicationEventQueue. Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2613
2020-05-27Merge remote-tracking branch 'dev/master'jramsay
2020-05-27Merge branch 'ps-replicator-free-of-datastore' into 'master'Paul Okstad
Praefect: same storage name can't be used for different virtual storages See merge request gitlab-org/gitaly!2215
2020-05-27Praefect migration to drop gitaly_ tablesPavlo Strokov
As there was a rename of the tables in migrations after migrations were applied all tables with old names are still present on the envs. New migration removes old tables with 'gitaly_' prefix if they are still exist. Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2796
2020-05-27Update CHANGELOG.md for 12.9.8GitLab Release Tools Bot
[ci skip]
2020-05-27Update CHANGELOG.md for 12.10.7GitLab Release Tools Bot
[ci skip]
2020-05-27Update CHANGELOG.md for 13.0.1GitLab Release Tools Bot
[ci skip]
2020-05-27Praefect: same storage name can't be used for different virtual storagesPavlo Strokov
In order to exclude usage of Datastore struct as not actual anymore migration to replication queue is node and set of virtual storages is provided from outside in time of creation of replication manager. Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2613
2020-05-27Merge branch 'ps-praefect-graceful-stop' into 'master'Pavlo Strokov
Praefect graceful stop See merge request gitlab-org/gitaly!2210
2020-05-27Praefect graceful stopPavlo Strokov
In order to reduce usage of global configuration Bootstrap struct changed to accept duration as parameter. That was a cause of adding a new configuration setting to praefect configuration file, because previously it used default value of 1m configured for gitaly.
2020-05-26Merge branch 'ps-protoreg-lock-free' into 'master'John Cai
gRPC proto registry can be lock free See merge request gitlab-org/gitaly!2209
2020-05-26Merge branch 'rs-ls-remote-toggle' into 'master'John Cai
Remote branches via ls-remote is now a toggle See merge request gitlab-org/gitaly!2183
2020-05-25Use default puma socket in example configJustin Kromlinger
The unicorn replacement 'puma' uses a unix socket in the example config [1] instead of a tcp port. Using the non-existing tcp port results in "Internal API unreachable" on git operations. [1] https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/puma.rb.example#L34
2020-05-25gRPC proto registry can be lock freePavlo Strokov
The Registry of proto files free of locks as it fully initialized by constructor before usage. Creation of Registry for each test makes no sense and to make them more consistent the global protoregistry.GitalyProtoPreregistered is used.