[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tags: on package page link points at nonexistent server



Hi,

наб <nabijaczleweli@nabijaczleweli.xyz> wrote:
> All the links in the list (System Boot, C) point at packages.debian.org
> and work, but the link on Tags points at
>   https://debtags.alioth.debian.org/edit.html?pkg=grub-pc
> which doesn't even resolve.

A patch is attached to (hopefully) replace the old alioth search URL
	https://debtags.alioth.debian.org/edit.html?pkg=<package-name>
by the new one at debtags.d.o
	https://debtags.debian.org/search/?wl=&q=<package-name>&qf=default


Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index a586f8c..8e2401a 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -204,7 +204,7 @@
 [% FOREACH tag IN tags %]
   [% IF loop.first -%]
     <div id="ptags"><p>
-    <a href="[% tags_url %]edit.html?pkg=[% uri_escape(pkg) %]">[% g('Tags') %]</a>:
+    <a href="[% tags_url %]search/?wl=&q=[% uri_escape(pkg) %]&qf=default">[% g('Tags') %]</a>:
   [%- END %]
   [% facet = tag.0; lfacet = "$facet-$po_lang"; 
      facet_name = debtags_voc.$lfacet;

Reply to: