summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2015-08-28 13:03:29 +0200
committerChristian Franke <nobody@nowhere.ws>2015-08-28 13:05:12 +0200
commitd499c58345edf473e2ef34b8135b9da22d1f8691 (patch)
treefbe1037473fc8c23a6ea0c2b5cb2cba65f0283a6
parent366f705642808a6fe14fd30138519c0ac75e0fdf (diff)
Remove sublab specific naming from running code
-rw-r--r--backend/repo_service.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/repo_service.py b/backend/repo_service.py
index dfd7c78..037d324 100644
--- a/backend/repo_service.py
+++ b/backend/repo_service.py
@@ -12,7 +12,7 @@ repo_desc_re = re.compile(r'^[\w\s]{5,}$')
repo_dir = os.path.dirname(os.path.realpath(__file__))
repo_dir = os.path.join(repo_dir, 'gitolite')
-repo_git = 'git@git.sublab.org:gitolite-admin.git'
+repo_git = 'git@127.0.0.1:gitolite-admin.git'
cgit_conf = '/etc/cgitrc.repo_service'
class GitException(Exception):
@@ -62,7 +62,7 @@ def gitolite_append(repo_owner, repo_name, repo_desc):
git_call(['git', 'add', filename], cwd=repo_dir)
git_call(['git', 'commit',
- '--author=Repo Service <nobody@nowhere.ws>',
+ '--author=Repo Service <repo_service@localhost>',
'--message=repo_service: create %s for %s' % (repo_name, repo_owner)],
cwd=repo_dir)
git_call(['git', 'push', repo_git, 'master:master'], cwd=repo_dir)
@@ -76,7 +76,7 @@ def cgit_append(repo_owner, repo_name, repo_desc):
repo.url=%(repo_name)s
repo.path=/var/lib/git/repositories/%(repo_name)s.git
repo.desc=%(repo_desc)s
-repo.owner=sublab
+repo.owner=repo-service
''' % locals()
with open(cgit_conf, 'a') as cgit_config: