From a28169aedea4ef9245b2042972bd4d2eb41b20ec Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 9 Jul 2019 12:28:55 +0100 Subject: Support 'local' git-server-type for local mirrors In this scenario, where the mirror would be in the local filesystem, lorry will be the one initialising the repository. --- lorrycontroller/givemejob.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lorrycontroller') diff --git a/lorrycontroller/givemejob.py b/lorrycontroller/givemejob.py index dd4de87..a893036 100644 --- a/lorrycontroller/givemejob.py +++ b/lorrycontroller/givemejob.py @@ -70,6 +70,8 @@ class GiveMeJob(lorrycontroller.LorryControllerRoute): self.create_gerrit_project(statedb, lorry_info) elif api == 'gitlab': self.create_gitlab_project(statedb, lorry_info) + elif api == 'local': + pass def create_repository_in_local_trove(self, statedb, lorry_info): # Create repository on local Trove. If it fails, assume -- cgit v1.2.1