[devscripts] 02/02: wnpp-check: add convenience URLs to DBTS and reorder fields for easy perception

James McCoy jamessan at debian.org
Sat Aug 3 03:35:03 UTC 2013


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit f52669761c421e039ca6242c3b3256be3662d97a
Author: Yaroslav Halchenko <debian at onerussian.com>
Date:   Fri Jul 19 00:03:48 2013 -0400

    wnpp-check: add convenience URLs to DBTS and reorder fields for easy perception
    
    Closes: #715572
    Signed-off-by: Yaroslav Halchenko <debian at onerussian.com>
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog      |    2 ++
 scripts/wnpp-check.sh |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f1065d0..431b6da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,8 @@ devscripts (2.13.3) UNRELEASED; urgency=low
 
   [ Yaroslav Halchenko ]
   * licensecheck: Check .go (Go) files (Closes: #711467)
+  * wnpp-check: Add bug URL to output and reorder columns to ease reading.
+    (Closes: #715572)
 
  -- Yaroslav Halchenko <debian at onerussian.com>  Thu, 06 Jun 2013 22:32:37 -0400
 
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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list