Package: qa.debian.org Severity: minor Tags: patch The main change is reformatting the description of the output format into a (IMO clearer) list as well as refer to where type_of_wnpp_entry is validated.
Thanks, Euan. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.8-rc1 Locale: LANG=ja_JP.UTF8, LC_CTYPE=ja_JP.UTF8
Index: www/bin/parse-wnpp.pl =================================================================== RCS file: /cvs/qa/pts/www/bin/parse-wnpp.pl,v retrieving revision 1.2 diff -u -r1.2 parse-wnpp.pl --- www/bin/parse-wnpp.pl 26 Mar 2004 06:28:57 -0000 1.2 +++ www/bin/parse-wnpp.pl 29 Jul 2004 16:56:13 -0000 @@ -2,14 +2,15 @@ # parse-wnpp -- utility to extract information from the wnpp web page # # On stdin, parse-wnpp takes the web page <http://bugs.debian.org/wnpp> -# and on stdout, it creates a list of entries of the form +# and on stdout, it creates a list of entries of the form: # # package_name type_of_wnpp_entry bug_number age # -# Here "package_name" is the name of the package that appears in the -# wnpp web-page, "type_of_wnpp_entry" can be "ITA", "O", "RFA", "ITP", -# #RFP", "bug_number" is the number in the bug tracking system of this bug -# against wnpp, "age" is a string describing how old this bug is. +# package_name: the name of the package that appears in the wnpp page +# type_of_wnpp_entry: "ITA", "O", "RFA", "ITP", "RFP" or "RFH" are considerred +# valid by www/xsl/pts.xsl. +# bug_number: the corresponding bug against wnpp in the bug tracking system. +# age: a string describing how old this bug is. # # Copyright (c) 2003 Peter van Rossum <[EMAIL PROTECTED]>. This # utility is being distributed under the Gnu General Public License @@ -37,7 +38,7 @@ $package = ""; $title = ""; # We're not using this } - + if (/#([0-9]*):\s*([A-Z]*)\s*:\s*([^\s\<]+)(\s+-+|\s*:)?\s*(\S.*)?$/) { $number = $1; $type = $2;