diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2019-07-09 12:28:55 +0100 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2019-07-09 12:29:03 +0100 |
commit | a28169aedea4ef9245b2042972bd4d2eb41b20ec (patch) | |
tree | d186ff9b19cdcf08986f1dd6c0dc4a51841b7613 /lorrycontroller | |
parent | 87d97ba405039ac3c45a18ee4e310a77ff507fb5 (diff) | |
download | lorry-controller-a28169aedea4ef9245b2042972bd4d2eb41b20ec.tar.gz |
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.
Diffstat (limited to 'lorrycontroller')
-rw-r--r-- | lorrycontroller/givemejob.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |