Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-25 12:05:03 +0200
committerErich Eckner <git@eckner.net>2023-05-25 12:05:03 +0200
commiteaa13742eebde1dcec6be3fa39ed77776da74dd1 (patch)
tree698fddef343453a943475c47b9fd4d2b23396838
parent1538f32162e2dbdfdf58aff296db7100cf7a6575 (diff)
packages/pkginfo.php: fix git links and mysql query
-rw-r--r--packages/pkginfo.php17
1 files changed, 5 insertions, 12 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index a42b949..775934c 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -80,7 +80,6 @@ require_once BASE . "/lib/style.php";
"`r_a`.`name` AS `repo_arch`," .
"`architectures`.`name` AS `arch`," .
"IFNULL(`compressions`.`suffix`,\"xz\") AS `suffix`," .
- "`git_repositories`.`name` AS `git_repo`," .
"`package_sources`.`uses_upstream`," .
"`package_sources`.`uses_modification`," .
"MAX(`binary_packages_in_repositories`.`last_moved`) AS `last_moved`," .
@@ -97,7 +96,6 @@ require_once BASE . "/lib/style.php";
mysql_join_binary_packages_build_assignments() .
mysql_join_build_assignments_package_sources() .
mysql_join_package_sources_upstream_repositories() .
- mysql_join_upstream_repositories_git_repositories() .
mysql_join_upstream_repositories_repository_moves() .
" JOIN `repositories` AS `sr` ON `sr`.`id`=`repository_moves`.`to_repository`" .
" JOIN (" .
@@ -413,20 +411,15 @@ require_once BASE . "/lib/style.php";
<?php
if ($content["uses_upstream"]) {
print " <li>\n";
- print " <a href=\"https://github.com/archlinux/svntogit-";
- print $content["git_repo"];
- print "/tree/packages/";
- print $content["pkgbase"];
- print "/trunk";
+ print " <a href=\"https://gitlab.archlinux.org/archlinux/packaging/packages/";
+ print $content["pkgname"];
print "\" title=\"View upstream's source files for ";
print $content["pkgname"];
print "\">Upstream's Source Files</a> /\n";
- print " <a href=\"https://github.com/archlinux/svntogit-";
- print $content["git_repo"];
- print "/commits/packages/";
- print $content["pkgbase"];
- print "/trunk";
+ print " <a href=\"https://gitlab.archlinux.org/archlinux/packaging/packages/";
+ print $content["pkgname"];
+ print "/-/commits/main";
print "\" title=\"View upstream's changes for ";
print $content["pkgname"];
print "\">Upstream's Changes</a>\n";