[sysadmin-bin] s/hostname/gitlab.gnome.org



commit 660cf75fe8e7525ca6e924d900c65524d8d0560c
Author: Andrea Veri <averi redhat com>
Date:   Tue May 29 21:55:20 2018 +0200

    s/hostname/gitlab.gnome.org

 git/post-receive-mirror-github | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/post-receive-mirror-github b/git/post-receive-mirror-github
index 9d3488c..2aee7ec 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -107,7 +107,7 @@ def get_repo_settings (repo_name):
     nss = {'doap': 'http://usefulinc.com/ns/doap#',
            'rdf':  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'}
 
-    doap_url = 'https://%s/GNOME/%s/raw/master/%s.doap' % (hostname, repo_name, repo_name)
+    doap_url = 'https://gitlab.gnome.org/GNOME/%s/raw/master/%s.doap' % (repo_name, repo_name)
 
     rq = requests.get(doap_url)
     if rq.status_code not in (200, 301, 302):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]