On Mon, Mar 03, 2014 at 06:44:06PM +0800, Rolf Leggewie wrote: > I've pushed the relevant patch to alioth git in a branch called > pull-request1.
As I'm cleaning up branches while moving the canonical git repository, I'm posting it here so I can delete that branch. commit dd2a2ceb81979f37017797c3ad3b5998e77b6b04 (HEAD, origin/pull-request1) Author: Rolf Leggewie <f...@rolf.leggewie.biz> AuthorDate: Mon Mar 3 06:47:02 2014 +0100 Commit: Rolf Leggewie <f...@rolf.leggewie.biz> CommitDate: Mon Mar 3 06:47:02 2014 +0100 wnpp-alert: linkify bug numbers and align fields. Closes: #514307 diff --git a/scripts/wnpp-alert.sh b/scripts/wnpp-alert.sh index da3be4b4..b633650e 100755 --- a/scripts/wnpp-alert.sh +++ b/scripts/wnpp-alert.sh @@ -128,5 +128,22 @@ if [ -f "$WNPP_DIFF" ]; then fi fi -comm -12 $WNPP_PACKAGES $INSTALLED | sed -e 's/+/\\+/g' | \ -xargs -i egrep '^[A-Z]+ [0-9]+ {} ' $WNPP +# - The AWK line-up's the columns. +# - The sort groups packages with similar WNPP status together, then +# - sorts by package name + +comm -12 $WNPP_PACKAGES $INSTALLED | +sed -e 's/+/\\+/g' | +xargs -i egrep '^[A-Z]+ [0-9]+ {} ' $WNPP | +awk '{ + type = $1 + bug = $2 + pkg = $3 + bts = "http://bugs.debian.org/" + + re = "^.*" pkg " --" + sub(re, ""); + + printf( "%3s %s%d %-25s -- ", type, bts, bug, pkg); + print +}' | sort --ignore-case -k 1,1 -k 3 -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature
_______________________________________________ devscripts-devel mailing list devscripts-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel