On Wed, 10 Jul 2013, Benjamin Drung wrote:
> > e.g. instead of 
> > veewee (RFP - #658863)
> > spit out
> > veewee (RFP - #658863) 
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658863

> > that would help to quickly get to the report of interest

> ...or in short form:

> veewee (RFP - #658863) http://bugs.debian.org/658863

> or:

> veewee (RFP - http://bugs.debian.org/658863)

or originally suggested form BUT with fields reordered.  See attached
patch:

(RFP - #648942) http://bugs.debian.org/648942 clicompanion
(RFP - #533049) http://bugs.debian.org/533049 eclipse-l10n-japanese-3.5.0
(ITP - #712854) http://bugs.debian.org/712854 libcpan-reporter-perl
(ITP - #713910) http://bugs.debian.org/713910 libcpan-reporter-smoker-perl
(RFP - #580005) http://bugs.debian.org/580005 otf-apanov-heuristica
(RFP - #597172) http://bugs.debian.org/597172 panda3d
(RFP - #417507) http://bugs.debian.org/417507 pandorafms-console
(RFP - #417506) http://bugs.debian.org/417506 pandorafms-server
(RFP - #594794) http://bugs.debian.org/594794 panucci
(ITP - #703275) http://bugs.debian.org/703275 ruby-rubypants
(RFP - #554153) http://bugs.debian.org/554153 spring-kernelpanic
(RFP - #630868) http://bugs.debian.org/630868 umts-panel2

this way it it looks more consistent for easy parsing of the output.  compare to

clicompanion (RFP - #648942) http://bugs.debian.org/648942
eclipse-l10n-japanese-3.5.0 (RFP - #533049) http://bugs.debian.org/533049
libcpan-reporter-perl (ITP - #712854) http://bugs.debian.org/712854
libcpan-reporter-smoker-perl (ITP - #713910) http://bugs.debian.org/713910
otf-apanov-heuristica (RFP - #580005) http://bugs.debian.org/580005
panda3d (RFP - #597172) http://bugs.debian.org/597172
pandorafms-console (RFP - #417507) http://bugs.debian.org/417507
pandorafms-server (RFP - #417506) http://bugs.debian.org/417506
panucci (RFP - #594794) http://bugs.debian.org/594794
ruby-rubypants (ITP - #703275) http://bugs.debian.org/703275
spring-kernelpanic (RFP - #554153) http://bugs.debian.org/554153
umts-panel2 (RFP - #630868) http://bugs.debian.org/630868


-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate,     Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        
From 7a1d4c30730cc96b5fc8656d68c87a0f8a12009c Mon Sep 17 00:00:00 2001
From: Yaroslav Halchenko <deb...@onerussian.com>
Date: Fri, 19 Jul 2013 00:03:48 -0400
Subject: [PATCH] wnpp-check: add convenience URLs to DBTS and reorder fields
 for easy perception

Closes: #715572
Signed-off-by: Yaroslav Halchenko <deb...@onerussian.com>
---
 scripts/wnpp-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/wnpp-check.sh b/scripts/wnpp-check.sh
index 53964b9..9525698 100755
--- a/scripts/wnpp-check.sh
+++ b/scripts/wnpp-check.sh
@@ -65,7 +65,7 @@ $GETCOMMAND $WNPPTMP http://www.debian.org/devel/wnpp/requested || \
     { echo "${0##*/}: $CURLORWGET http://www.debian.org/devel/wnpp/requested failed." >&2; exit 1; }
 sed -ne 's/.*<li><a href="http:\/\/bugs.debian.org\/\([0-9]*\)">\([^:<]*\)[: ]*\([^<]*\)<\/a>.*/RFP \1 \2 -- \3/; T d; p; : d' $WNPPTMP >> $WNPP
 
-awk -F' ' '{print $3" ("$1" - #"$2")"}' $WNPP | sort > $WNPP_PACKAGES
+awk -F' ' '{print "("$1" - #"$2") http://bugs.debian.org/"$2"; "$3}' $WNPP | sort -k 5 > $WNPP_PACKAGES
 
 FOUND=0
 for pkg in $PACKAGES
-- 
1.8.3

Attachment: signature.asc
Description: Digital signature

Reply via email to