[devscripts] 11/11: rmadison: Strip arch-qualifiers from incoming package names
James McCoy
jamessan at debian.org
Fri Mar 13 03:40:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository devscripts.
commit 4a671459e7722c7a801c3dcf74a968e5cb642900
Author: James McCoy <jamessan at debian.org>
Date: Thu Mar 12 23:40:11 2015 -0400
rmadison: Strip arch-qualifiers from incoming package names
Closes: #780167
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 1 +
scripts/rmadison.pl | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ef80c01..05f3d58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ devscripts (2.15.1+exp1) UNRELEASED; urgency=medium
+ Remove 404ing myon and debug URLs
+ Use https://api.ftp-master.debian.org/madison for debian and new URLs.
This also fixes support for the -b option. (Closes: #775084)
+ + Strip arch-qualifiers from package names. (Closes: #780167)
* mk-origtargz: Avoid adding the same file to the "to be deleted" list
multiple times. This may also cause patterns to be declared as unused if
a file is matched by multiple patterns. (Closes: #776318)
diff --git a/scripts/rmadison.pl b/scripts/rmadison.pl
index 9db6e4f..7b41d0c 100755
--- a/scripts/rmadison.pl
+++ b/scripts/rmadison.pl
@@ -192,6 +192,10 @@ my @url = split /,/, $url;
my $status = 0;
+# Strip arch qualifiers from the package name, to help those that are feeding
+# in output from other commands
+s/:.*// for (@ARGV);
+
foreach my $url (@url) {
print "$url:\n" if @url > 1;
$url = $url_map{$url} if $url_map{$url};
--
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