From 3abf0d25261df55a972a4653ec741594aa939ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Thu, 15 Sep 2022 15:51:26 +0200 Subject: [PATCH] [release-monitoring] Add configurable mapping links to config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Anitya is now supporting configurable links for distribution. Let's add those we already know. Signed-off-by: Michal Konečný --- .../release-monitoring/templates/anitya.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/openshift-apps/release-monitoring/templates/anitya.toml b/roles/openshift-apps/release-monitoring/templates/anitya.toml index c4c65a5cf8..43715f0a81 100644 --- a/roles/openshift-apps/release-monitoring/templates/anitya.toml +++ b/roles/openshift-apps/release-monitoring/templates/anitya.toml @@ -66,6 +66,15 @@ github_access_token = "{{ github_prod_release_monitoring }}" # Error threshold check_error_threshold = 100 +# Configurable links to package repositories for package mappings in distributions +# If you want to add any new distribution just add a new entry to this section +# %s will be filled in HTML template by the name of package mapping +[distro_mapping_links] +AlmaLinux = "https://git.almalinux.org/rpms/%s" +Fedora = "https://src.fedoraproject.org/rpms/%s" +PLD-Linux = "https://github.com/pld-linux/%s" +Ubuntu = "https://launchpad.net/ubuntu/+source/%s" + # The logging configuration, in dictConfig format. [anitya_log_config] version = 1