From 436466af4f794400f958b8c2f43fda08cb996ef5 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 6 Jul 2016 10:28:23 +0200 Subject: [PATCH] Specify the apps URLs for stg, use the defaults for prod --- roles/pkgdb2/templates/pkgdb2.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/pkgdb2/templates/pkgdb2.cfg b/roles/pkgdb2/templates/pkgdb2.cfg index 581c68f57b..6620b03c44 100644 --- a/roles/pkgdb2/templates/pkgdb2.cfg +++ b/roles/pkgdb2/templates/pkgdb2.cfg @@ -188,4 +188,15 @@ REPO_MAP = [ ] BASE_REPO_URL = 'http://dl.phx2.fedoraproject.org/pub/%s/' +{% else %} +# URLs used in the package's info page +# Watch for the `%s` in the URL it is mandatory and in each of these, it +# will be replaced by the package's name +PKGS_BUG_URL = 'https://apps.stg.fedoraproject.org/packages/%s/bugs' +PKGS_PKG_URL = 'https://apps.stg.fedoraproject.org/packages/%s' +CGIT_URL = 'http://pkgs.stg.fedoraproject.org/cgit/%s.git/' +BODHI_URL = 'https://bodhi.stg.fedoraproject.org/updates/?packages=%s' +KOJI_URL = 'http://koji.stg.fedoraproject.org/koji/search?'\ + 'type=package&match=glob&terms=%s' + {% endif %}