From 321ef5263e8f45ecdc1ac1e6e2bb280a756cc3f1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Aug 2017 07:24:33 +0200 Subject: cgit => pagure --- smarty/templates/rpmphp/zoom.tpl | 2 +- zoom.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl index 0c34d2e..c1f882e 100644 --- a/smarty/templates/rpmphp/zoom.tpl +++ b/smarty/templates/rpmphp/zoom.tpl @@ -43,7 +43,7 @@ {if $k eq 'Bugzilla'} Active bugs - {elseif $k eq 'URL' or $k eq 'GitWeb' or $k eq 'PkgDB'} + {elseif $k eq 'URL' or $k eq 'Pagure' or $k eq 'PkgDB'} {$v} {else} {$v} diff --git a/zoom.php b/zoom.php index 699f22f..96e2cf6 100644 --- a/zoom.php +++ b/zoom.php @@ -173,8 +173,7 @@ if ( !isset($name) || !$name ) { '?bug_status=NEW&bug_status=ASSIGNED&bug_status=ON_QA' . '&component=' . $name; } - $summary['GitWeb'] - = 'http://pkgs.fedoraproject.org/cgit/' . $name . '.git'; + $summary['Pagure'] = "https://src.fedoraproject.org/rpms/$name"; $summary['PkgDB'] = $fedcli->getPackageURL($name); -- cgit