]> git.deb.at Git - deb/packages.git/commitdiff
DoShow.pm: Don't show "special:" debtags
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 14 Apr 2007 10:47:04 +0000 (12:47 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 14 Apr 2007 10:47:04 +0000 (12:47 +0200)
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

index 58026e130095a2ff564d28b9f42607d0611ba863..cfe7a90f783ff8486ae74f909dc1b6ed06c6de36 100644 (file)
@@ -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 ];
                            }
                        }