From fa5afee24bca35476f2d40712af4647ca424995b Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 16 Mar 2018 13:20:00 +0000 Subject: [PATCH] Config for puiterwijk's dead.package hotfix. --- roles/pdc/backend/templates/pdcupdater.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/pdc/backend/templates/pdcupdater.py b/roles/pdc/backend/templates/pdcupdater.py index b46ddf18d8..416cdc8e65 100644 --- a/roles/pdc/backend/templates/pdcupdater.py +++ b/roles/pdc/backend/templates/pdcupdater.py @@ -42,6 +42,13 @@ config = { 'pdcupdater.pkgdb_url': 'https://admin.fedoraproject.org/pkgdb', {% endif %} + # dead.package details + {% if env == 'staging' %} + 'pdcupdater.file_check_url': 'https://src.stg.fedoraproject.org/%(namespace)s/%(repo)s/blob/%(branch)s/f/%(file)s', + {% else %} + 'pdcupdater.file_check_url': 'https://src.fedoraproject.org/%(namespace)s/%(repo)s/blob/%(branch)s/f/%(file)s', + {% endif %} + # Koji details {% if env == 'staging' %} 'pdcupdater.koji_url': 'https://koji.stg.fedoraproject.org/kojihub',