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

Re: (user-)Tagging ITPs



Le Tue, Aug 15, 2006 at 08:00:12AM +0200, Andreas Tille a écrit :
> On Tue, 15 Aug 2006, Charles Plessy wrote:
> 
> >How about using usertags ?
> >
> >http://lists.debian.org/debian-devel-announce/2005/09/msg00002.html
> >http://wiki.debian.org/DebianScienceSponsoring#head-dd4c76d756afae474c2c9892c9221fd3277b3e80
> 
> Sure we can do this and I admit it would be the cleaner way.  But to make
> it perfect we would have to
> 
>    1. change
>         http://people.debian.org/~tille/cdd/ap-bts.en.html#s-howto_itp
>       (patches are welcome)
>    2. apply user tags to all currently tagged ITPs
> 
> So you are right in principle but for the moment is this simple way less
> time consuming.  Probably we should live with both for a transitional
> period.

Here is a proposal to make this transitional period very short:

lynx -width=10000 --dump 'http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=wnpp&include=subject:%5bmed' | \
   grep \# | grep med- | \
   perl  -ne '/#(\d*).+?\[([\w-]*)[\]}]$/ ; print "usertag $1 + $2\n"'

This gives me an almost-ready list of tag-setting commands of the bts:

usertag 75078 + med-imaging
usertag 170814 + med-imaging
usertag 175968 + med-hospital
usertag 199874 + med-bio
usertag 221492 + med-bio
usertag 237599 + med-research
usertag 241111 + med-bio
usertag 246476 + med-practice
usertag 277748 + med-bio
usertag 332666 + med-imaging
usertag 382994 + med-bio
usertag 64980 + med-tools
usertag 69446 + med-tools
usertag 136306 + med-research
usertag 146201 + med-doc
usertag 150636 + med-bio-dev
usertag 166282 + med-practice
usertag 200591 + med-bio
usertag 228319 + med-bio
usertag 241235 + med-bio
usertag 243771 + med-bio
usertag 252101 + med-bio
usertag 286167 + med-bio
usertag 289043 + med-bio
usertag 291379 + med-bio
usertag 293320 + med-bio
usertag 299856 + med-bio
usertag 306028 + med-bio
usertag 310932 + med-bio-dev
usertag 310934 + med-bio
usertag 311421 + med-bio
usertag 319945 + med-bio
usertag 321180 + med-bio

Now the big question is : which email adress for the "user" field? This
list?

PS: I attached a patch to the CDD sgml documentation. But I do not know
what kind of SGML it is, so there is no guarantee that the patched file
will compile...

Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan
--- cdd-c.sgml-old	2006-08-15 22:44:26.000000000 +0900
+++ cdd-c.sgml	2006-08-15 23:03:23.000000000 +0900
@@ -21,14 +21,16 @@
 If you use wnpp sanely you can even tag this bug for the intended
 purpose to include it in a certain Custom Debian Distribution. This
 was described in <url
-id="http://lists.debian.org/debian-custom/2005/04/msg00017.html";
-name="a mail of Ben Armstrong"> and in short works like this:
+id="http://lists.debian.org/debian-devel-announce/2005/09/msg00002.html";
+name="a mail of Anthony Towns"> and
+<url id="http://wiki.debian.org/DebianScienceSponsoring#head-dd4c76d756afae474c2c9892c9221fd3277b3e80";
+name="the Debian wiki">. In short works like this:
 
 <list>                                                                              
-  <item><p>Add the tag <tt>[</tt><var>cdd</var><tt>]</tt> (where
-        <var>cdd</var> stands for your Custom Debian Distribution like
-        <tt>jr</tt> or <tt>med</tt>) to the short description. It is
-          prefered to place it on the end to have a common syntax.
+  <item><p>Add an usertag to an existing bug by sending to request@bugs.debian.org
+           a mail containing <example>user &lt;email&gt; usertag &lt;bug number&gt;
+	   + wnpp </example>, where email is the electronic adress of the person
+	   or mail list which coordinates the relevant Custom Debian Distribution.
         </p>
         <p>
         <strong>Note:</strong> Because the search is case sensitive
@@ -38,7 +40,7 @@
   <item>To search for WNPP bugs of a certain Custom Debian
         Distribution just visit the URL
 <example>
-http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=wnpp&amp;include=subject:%5b<var>cdd</var>%5d
+http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=wnpp;users=<var>email</var>
 </example>
   </item>
 </list>

Reply to: