[sysadmin-bin] Point homepage to gitlab.g.o in case it's empty
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Point homepage to gitlab.g.o in case it's empty
- Date: Thu, 28 Jun 2018 09:03:20 +0000 (UTC)
commit 7c1db2c13b9d16f4c30b7b83e7b3d06c45ed31e6
Author: Andrea Veri <averi redhat com>
Date: Thu Jun 28 11:03:07 2018 +0200
Point homepage to gitlab.g.o in case it's empty
git/post-receive-mirror-github | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/git/post-receive-mirror-github b/git/post-receive-mirror-github
index d768a10..35411a4 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -147,8 +147,8 @@ def get_repo_settings (repo_name):
name = name.text if name != None else repo_name
desc = desc.text if desc != None else name
- homepage = homepage.get(resource) if homepage != None else 'http://www.gnome.org/'
- homepage = homepage if homepage != None else 'http://www.gnome.org/'
+ homepage = homepage.get(resource) if homepage != None else 'https://gitlab.gnome.org/GNOME'
+ homepage = homepage if homepage != None else 'https://gitlab.gnome.org/GNOME'
return { "homepage": homepage.encode('utf-8').decode('utf-8'),
"name": repo_name.encode('utf-8').decode('utf-8'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]