From 365d70d8ecc93b528a6085a2a37568bb6291109d Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Tue, 4 Sep 2018 22:52:09 +0259 Subject: deployment: switch to https:// --- deployment/mgagit/templates/git-post-receive-hook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deployment/mgagit/templates') 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): -- cgit v1.2.1