Bug#514307: pull request

2018-03-06 Thread Mattia Rizzolo
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 
AuthorDate: Mon Mar 3 06:47:02 2014 +0100
Commit: Rolf Leggewie 
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


Bug#514307: pull request

2014-03-08 Thread James McCoy
On Mon, Mar 03, 2014 at 06:44:06PM +0800, Rolf Leggewie wrote:
> hoping that this could land after lingering for about 5 years I've
> pushed the relevant patch to alioth git in a branch called
> pull-request1.

The changes weren't applied to the "--diff" handling.  Was that
intentional?

I'm not sure that sorting primarily on the type of WNPP bug is
necessarily useful.  The most relevant piece of information is the
package name, so I think that should continue to be the primary key for
sorting.  This would also keep the sort stable if the answer to my
earlier question is “no”.

Also, now that the bug reference is larger, I think it looks a bit
cleaner to have "bugUrl wnppType package -- desc".

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy 


signature.asc
Description: Digital signature


Bug#514307: pull request

2014-03-03 Thread Adam D. Barratt

Hi,

On 2014-03-03 10:44, Rolf Leggewie wrote:

hoping that this could land after lingering for about 5 years I've
pushed the relevant patch to alioth git in a branch called
pull-request1.  The branch is based off the tip of the current master.
Thank you for your kind consideration.


Thanks for the patch.

I'm not particularly involved with devscripts maintenance these days; 
I'm afraid it's unlikely I'll look at this myself in the near future.


Regards,

Adam


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514307: pull request

2014-03-03 Thread Rolf Leggewie
Hello,

hoping that this could land after lingering for about 5 years I've
pushed the relevant patch to alioth git in a branch called
pull-request1.  The branch is based off the tip of the current master. 
Thank you for your kind consideration.

Regards

Rolf


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org