From f67e9096e8f2887a81801416bd38c90e97dbc777 Mon Sep 17 00:00:00 2001 From: Skunnyk <skunnyk@alteroot.org> Date: Sun, 23 Sep 2018 15:39:53 +0200 Subject: [PATCH] Add xfce projects urls --- bztogl/bztogl.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bztogl/bztogl.py b/bztogl/bztogl.py index 2f5561f..d65f25f 100644 --- a/bztogl/bztogl.py +++ b/bztogl/bztogl.py @@ -353,6 +353,8 @@ def options(): $user_namespace/$bugzilla_product will be used") parser.add_argument('--fdo', action='store_true', help="import for freedesktop.org rather than GNOME") + parser.add_argument('--xfce', action='store_true', + help="import for xfce.org rather than GNOME") return parser.parse_args() @@ -385,6 +387,15 @@ def main(): giturl = "https://anongit.freedesktop.org/git/" instance = "freedesktop.org" bzresolution = 'MOVED' + elif args.xfce: + if args.production: + glurl = "https://gitlab.xfce.org/" + else: + glurl = "http://localhost:8080/" + bzurl = "https://bugzilla.xfce.org" + giturl = "https://git.xfce.org/" + instance = "xfce.org" + bzresolution = 'MOVED' else: if args.production: glurl = "https://gitlab.gnome.org/" -- GitLab