Package: bugs.debian.org
Tags: patch

Some of you may remember this issue, see #623524.
There is some work left on this:

On
http://www.debian.org/Bugs/index.en.html
under "Select bugs" there is a list of tags which is lacking
'wheezy' and 'wheezy-ignore'.

On 
http://www.debian.org/Bugs/server-refcard.en.html
under "Tags currently include ..." is a list of tags which is 
also lacking 'wheezy' and 'wheezy-ignore'.


To make all this easier (and to not forget some occurences), 
we should change all occurences to use an entity like the 
already existing 'bts_tags' entity, which is generated in 
../english/Bugs/pkgreport-opts.inc and which is already used
in ../Bugs/index.wml:
        <p>Valid tags are <bts_tags></p>
The existing bts_tags entity has the disadvantage, that there
is no possibility to use a different formatting, what would be
good here.
Don't know why bts_tags is generated as it is:
---snip--------------------------------------------------------------
# this is pasted from debbugs/etc/config
<perl>
@gTags = ( "patch", "wontfix", "moreinfo", "unreproducible", "fixed",
           "potato", "woody", "sid", "help", "security", "upstream",
           "pending", "sarge", "sarge-ignore", "experimental", "d-i",
           "confirmed", "ipv6", "lfs", "fixed-in-experimental",
           "fixed-upstream", "l10n", "etch", "etch-ignore",
           "lenny", "lenny-ignore",
         );
</perl>

<define-tag bts_tags whitespace=delete>
  <: print join(", ", @gTags); :>
</define-tag>
-----snap------------------------------------------------------------
Are there special circumstances for this?
I have prepared a patch, that changes this to a more generic way
(without perl).

And:
On http://www.debian.org/Bugs/Developer.en.html#tags
I would also add a list of tags via that entity as a headline 
in top of all that long descriptions, because this list is getting
longer and longer. For a quick overview such a listing would be
good on the top.


That all would lead to changings in:    ../Bugs/Developer.wml
                                        ../Bugs/server-control.wml
                                        ../Bugs/server-refcard.wml
                                        ../Bugs/index.wml
                                        ../Bugs/pkgreport-opts.inc


Patches attached.

Holger

-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Created with Sylpheed 3.0.2
    under DEBIAN GNU/LINUX 6.0 - S q u e e z e 
        Registered LinuxUser #311290 - http://counter.li.org/
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
--- english/Bugs/pkgreport-opts_orig.inc	2011-08-27 15:31:45.000000000 +0200
+++ english/Bugs/pkgreport-opts_workingcopy.inc	2011-08-27 15:43:56.200135615 +0200
@@ -162,17 +162,14 @@
   <: print (join ", ", @gSeverityList); :>
 </define-tag>
 
-# this is pasted from debbugs/etc/config
-<perl>
-@gTags = ( "patch", "wontfix", "moreinfo", "unreproducible", "fixed",
-           "potato", "woody", "sid", "help", "security", "upstream",
-           "pending", "sarge", "sarge-ignore", "experimental", "d-i",
-           "confirmed", "ipv6", "lfs", "fixed-in-experimental",
-           "fixed-upstream", "l10n", "etch", "etch-ignore",
-           "lenny", "lenny-ignore",
-         );
-</perl>
-
-<define-tag bts_tags whitespace=delete>
-  <: print join(", ", @gTags); :>
-</define-tag>
+# bug tags / see debbugs/etc/config
+<define-tag bts_tags>
+<code>patch</code>,
+<code>wontfix</code>, <code>moreinfo</code>, <code>unreproducible</code>,
+<code>help</code>, <code>pending</code>, <code>fixed</code>,
+<code>security</code>, <code>upstream</code>, <code>confirmed</code>,
+<code>fixed-upstream</code>, <code>fixed-in-experimental</code>, <code>d-i</code>, <code>ipv6</code>,
+<code>lfs</code>, <code>l10n</code>, <code>potato</code>,
+<code>woody</code>, <code>sarge</code>, <code>sarge-ignore</code>,
+<code>etch</code>, <code>etch-ignore</code>, <code>sid</code>,
+<code>experimental</code></define-tag>
--- english/Bugs/Developer_orig.wml	2011-06-10 22:43:13.000000000 +0200
+++ english/Bugs/Developer_workingcopy.wml	2011-08-27 15:40:51.959131588 +0200
@@ -1,4 +1,5 @@
 #use wml::debian::template title="Debian BTS &mdash; developer info" NOHEADER=yes NOCOPYRIGHT=true
+#include "$(ENGLISHDIR)/Bugs/pkgreport-opts.inc"
 
 <h1>Information regarding the bug processing system for package
   maintainers and bug triagers</h1>
@@ -171,7 +172,8 @@
 <a href="#requestserv">control request server</a>.
 Separate multiple tags with commas, spaces, or both.</p>
 
-<p>The current bug tags are:</p>
+<p>The current bug tags are: <bts_tags>. Here is some detailed info
+about the tags:</p>
 
 <dl>
 
--- english/Bugs/index_orig.wml	2011-04-20 20:28:01.000000000 +0200
+++ english/Bugs/index_workingcopy.wml	2011-08-27 15:51:41.660139525 +0200
@@ -59,7 +59,7 @@
    is on the same search field, the results are ORed. If it is on a different
    field, the results are ANDed.</p>
 <p>Valid severities are <bts_severities></p>
-<p>Valid tags are <bts_tags></p>
+<p>Valid tags are <bts_tags>.</p>
 </td>
 </tr>
 
--- english/Bugs/server-control_orig.wml	2011-06-10 22:43:13.000000000 +0200
+++ english/Bugs/server-control_workingcopy.wml	2011-08-27 15:42:50.940130702 +0200
@@ -1,4 +1,5 @@
 #use wml::debian::template title="Debian BTS &mdash; control server" NOHEADER=yes NOCOPYRIGHT=true
+#include "$(ENGLISHDIR)/Bugs/pkgreport-opts.inc"
 
 <h1>Introduction to the bug control and manipulation mailserver</h1>
 
@@ -547,20 +548,7 @@
     </pre>
 
     <p>
-    Available tags currently include <code>patch</code>, <code>wontfix</code>,
-    <code>moreinfo</code>, <code>unreproducible</code>, <code>help</code>,
-    <code>pending</code>, <code>fixed</code>,
-    <code>fixed-in-experimental</code>, <code>fixed-upstream</code>,
-    <code>security</code>, 
-    <code>upstream</code>, <code>confirmed</code>, <code>d-i</code>,
-    <code>ipv6</code>, <code>lfs</code>, <code>l10n</code>,
-    <code>potato</code>, <code>woody</code>, <code>sarge</code>,
-    <code>sarge-ignore</code>, <code>etch</code>, <code>etch-ignore</code>,
-    <code>lenny</code>, <code>lenny-ignore</code>,
-    <code>squeeze</code>, <code>squeeze-ignore</code>,
-    <code>wheezy</code>, <code>wheezy-ignore</code>,
-    <code>sid</code>, and <code>experimental</code>.
-    </p>
+    Available tags currently include <bts_tags>.</p>
 
     <p>
     For <a href="Developer#tags">their meanings</a> please consult the
--- english/Bugs/server-refcard_orig.wml	2011-08-27 15:31:45.000000000 +0200
+++ english/Bugs/server-refcard_workingcopy.wml	2011-08-27 15:40:37.203134239 +0200
@@ -1,5 +1,5 @@
 #use wml::debian::template title="Debian BTS &mdash; mail server reference card" NOHEADER=yes NOCOPYRIGHT=true
-
+#include "$(ENGLISHDIR)/Bugs/pkgreport-opts.inc"
 <h1>Mail servers' reference card</h1>
 
 <p>Full documentation of the mail servers is available on the WWW, in the
@@ -71,15 +71,7 @@
 <code>grave</code>, <code>serious</code>, <code>important</code>,
 <code>normal</code>, <code>minor</code>, and <code>wishlist</code>.</p>
 
-<p><a href="Developer#tags">Tags</A> currently include <code>patch</code>,
-<code>wontfix</code>, <code>moreinfo</code>, <code>unreproducible</code>,
-<code>help</code>, <code>pending</code>, <code>fixed</code>,
-<code>security</code>, <code>upstream</code>, <code>confirmed</code>,
-<code>fixed-upstream</code>, <code>fixed-in-experimental</code>, <code>d-i</code>, <code>ipv6</code>,
-<code>lfs</code>, <code>l10n</code>, <code>potato</code>,
-<code>woody</code>, <code>sarge</code>, <code>sarge-ignore</code>,
-<code>etch</code>, <code>etch-ignore</code>, <code>sid</code>, and
-<code>experimental</code>.</p>
+<p><a href="Developer#tags">Tags</A> currently include <bts_tags>.</p>
 
 <h2>Synopsis of bug submission and followup addresses</h2>
 

Reply via email to