From 302567155d3a5f15022fd6d6e3f96433972a920d Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 14 Apr 2007 12:47:04 +0200 Subject: [PATCH] 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) --- lib/Packages/DoShow.pm | 2 ++ 1 file changed, 2 insertions(+) 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 ]; } } -- 2.39.2