From 76d4371a4c59d4fa14c85dc05221169de4e24b77 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 12 2019 10:39:14 +0000 Subject: Call the source package info in mdapi We were calling mdpi for the package info, but the dist-git repo name corresponds to the source package name, not the actual package name. So, we would not find anything for packages such as python-arrow whose source package name is python-arrow but the packages are python2-arrow and python3-arrow. Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/themes/srcfpo/templates/repo_info.html b/pagure/themes/srcfpo/templates/repo_info.html index 7b541de..f0c1efe 100644 --- a/pagure/themes/srcfpo/templates/repo_info.html +++ b/pagure/themes/srcfpo/templates/repo_info.html @@ -477,7 +477,7 @@ $(document).ready(function() { {% if repo.namespace == 'rpms' %} $.ajax({ - url: 'https://apps.fedoraproject.org/mdapi/rawhide/pkg/{{ repo.name }}', + url: 'https://apps.fedoraproject.org/mdapi/rawhide/srcpkg/{{ repo.name }}', type: 'GET', dataType: 'jsonp', success: function(res) {