aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/git-post-receive-hook
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-02-10 10:07:42 +0000
committerColin Guthrie <colin@mageia.org>2014-02-10 10:07:42 +0000
commit7a949b88d7d60e0d2f166f14b8d7dd7d017d9332 (patch)
treedbe8ed034377d1ca51a62bff9cd4c96577d71d89 /deployment/mgagit/templates/git-post-receive-hook
parent3dd4526bb1515315f64ac8943dd47f6c4727c0c5 (diff)
downloadpuppet-7a949b88d7d60e0d2f166f14b8d7dd7d017d9332.tar
puppet-7a949b88d7d60e0d2f166f14b8d7dd7d017d9332.tar.gz
puppet-7a949b88d7d60e0d2f166f14b8d7dd7d017d9332.tar.bz2
puppet-7a949b88d7d60e0d2f166f14b8d7dd7d017d9332.tar.xz
puppet-7a949b88d7d60e0d2f166f14b8d7dd7d017d9332.zip
mgagit: Use the full repo name + .git suffix when informing remote side.
Diffstat (limited to 'deployment/mgagit/templates/git-post-receive-hook')
-rwxr-xr-xdeployment/mgagit/templates/git-post-receive-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook
index 04b746cd..cf7404e2 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -185,7 +185,7 @@ if __name__ == '__main__':
pass
try:
- req = urllib2.Request('http://alamut.mageia.org:8000', repo_shortname())
+ req = urllib2.Request('http://alamut.mageia.org:8000', repo_shortname() + '.git')
req.add_header('Content-Type', 'x-git/repo')
fp = urllib2.urlopen(req)
if (fp)