From: Frank Lichtenheld Date: Sat, 14 Apr 2007 10:47:04 +0000 (+0200) Subject: DoShow.pm: Don't show "special:" debtags X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=302567155d3a5f15022fd6d6e3f96433972a920d;p=deb%2Fpackages.git DoShow.pm: Don't show "special:" debtags packages.d.o is for end users who are probably not interested in the various special: tags that are more useful for debtags maintainance. (This can be moved to the template if ever the need arises to display these tags) --- diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 58026e1..cfe7a90 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -126,9 +126,11 @@ sub do_show { # handle tags like devel::{lang:c,lang:c++} if ($tag =~ s/^\{(.+)\}$/$1/) { foreach (split( /,/, $tag )) { + next if $tag =~ /^special:/; push @tags, [ $facet, $_ ]; } } else { + next if $tag =~ /^special:/; push @tags, [ $facet, $tag ]; } }