diff options
Diffstat (limited to 'deployment/mgagit/templates')
-rwxr-xr-x | deployment/mgagit/templates/git-post-receive-hook | 4 |
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): |