aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2018-09-04 22:52:09 +0259
committerThomas Backlund <tmb@mageia.org>2018-09-04 22:52:09 +0259
commit365d70d8ecc93b528a6085a2a37568bb6291109d (patch)
tree12399b0308570efd91258fe8f7b66a05cbf99715 /deployment/mgagit
parentccae161f5328c16afd5cd21477d705ef14b5aebd (diff)
downloadpuppet-365d70d8ecc93b528a6085a2a37568bb6291109d.tar
puppet-365d70d8ecc93b528a6085a2a37568bb6291109d.tar.gz
puppet-365d70d8ecc93b528a6085a2a37568bb6291109d.tar.bz2
puppet-365d70d8ecc93b528a6085a2a37568bb6291109d.tar.xz
puppet-365d70d8ecc93b528a6085a2a37568bb6291109d.zip
deployment: switch to https://
Diffstat (limited to 'deployment/mgagit')
-rwxr-xr-xdeployment/mgagit/templates/git-post-receive-hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook
index 06ffbb9e..624ba39e 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -26,7 +26,7 @@ BUG_REFS = {
}
COMMIT_RE = re.compile('^commit ([a-f0-9]{40})')
-COMMIT_REPLACE = 'http://gitweb.mageia.org/%s/commit/?id=%s'
+COMMIT_REPLACE = 'https://gitweb.mageia.org/%s/commit/?id=%s'
MAGEIA_BUGZILLA_URL = 'https://bugs.mageia.org/xmlrpc.cgi'
MAGEIA_BUGZILLA_PASSWORD_FILE = '.gitzilla-password'
@@ -257,7 +257,7 @@ if __name__ == '__main__':
pass
try:
- req = urllib2.Request('http://gitweb.mageia.org:8000', repo_shortname() + '.git')
+ req = urllib2.Request('https://gitweb.mageia.org:8000', repo_shortname() + '.git')
req.add_header('Content-Type', 'x-git/repo')
fp = urllib2.urlopen(req, timeout=5)
if (fp):