Skip to content

git: Make LocalRepository independent of the global Gitaly configuration

Patrick Steinhardt requested to merge pks-command-factory-global-config into master

This MR disentangles the LocalRepository abstraction from the global Gitaly configuration, on which it currently depends on indirectly via the CommandFactory. The first half of this MR consists of refactoring of the CommandFactory which merge some code paths, and which ultimately make it easier to be called from the LocalRepository directly. The second part then injects configurations into both CommandFactory and LocalRepository and makes use of them.

Merge request reports