summaryrefslogtreecommitdiff
path: root/lorrycontroller/gitlab.py
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-07-14 23:52:14 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-07-30 14:07:46 +0100
commit1263e62a2fafc590017b52f3e8c5ee4a94d56212 (patch)
treece2da5d8d7f35194907d501c1f5ffe97f6fe1f78 /lorrycontroller/gitlab.py
parentbc7f80d39b0bd8dd1484567b89c2e8801754d077 (diff)
downloadlorry-controller-1263e62a2fafc590017b52f3e8c5ee4a94d56212.tar.gz
givemejob: Add metadata for single repositories
When mirroring a repository found through a 'lorries' configuration section (instead of 'trove' or 'gitlab'), we currently don't set a description or default branch. * Set the description to the upstream repository path, but allow this to be overridden by a description field in the .lorry file. Prepend the host-name, just as we do when mirroring an Upstream Host. * Set the default branch to: - Bazaar: 'trunk' - Git: upstream default branch, found using 'git ls-remote' - others: 'master' Closes #15.
Diffstat (limited to 'lorrycontroller/gitlab.py')
0 files changed, 0 insertions, 0 deletions