Commit 17bcf630 authored by Daniel Stone's avatar Daniel Stone
Browse files

GitLab repo paths are lower-case on disk

parent d04d0cb5
......@@ -49,7 +49,7 @@ class Repo:
self.imported = False
def gitlab_repo_file_path(self):
return "/gitlab-data/git-data/repositories/%s.git" % self.url_gitlab
return "/gitlab-data/git-data/repositories/%s.git" % self.url_gitlab.lower()
def gitlab_repo_mirror_cmd(self):
return 'pushd %s && git config --local fdo.mirror-dir %s && git config --local receive.denyNonFastForwards false && mkdir %s/custom_hooks && ln -s /gitlab-ssh-keys/git-post-receive-mirror %s/custom_hooks/post-receive; popd' % (self.gitlab_repo_file_path(), self.url_fdo, self.gitlab_repo_file_path(), self.gitlab_repo_file_path())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment