[devscripts] 01/01: debsnap: Avoid an extra / in the srcfiles URL
Paul Wise
pabs at moszumanska.debian.org
Tue Jun 14 04:23:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
pabs pushed a commit to branch master
in repository devscripts.
commit e296b1b95f772fd0c084023f87a75da651a285cf
Author: Paul Wise <pabs at debian.org>
Date: Tue Jun 14 12:17:44 2016 +0800
debsnap: Avoid an extra / in the srcfiles URL
While srcfiles URLs with // in them currently work, that may or
may not change if snapshot is rewritten in a different framework.
Also, it looks ugly in the --verbose output.
---
debian/changelog | 2 ++
scripts/debsnap.pl | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4b916b6..fd0eb96 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ devscripts (2.16.6) UNRELEASED; urgency=medium
[ Paul Wise ]
* uscan:
+ Fix typo of "release" in description of git repository mode
+ * debsnap:
+ + Avoid an extra / in the srcfiles URL
[ Antonio Terceiro ]
* debc:
diff --git a/scripts/debsnap.pl b/scripts/debsnap.pl
index b40a9f7..cf17f25 100755
--- a/scripts/debsnap.pl
+++ b/scripts/debsnap.pl
@@ -324,7 +324,7 @@ elsif ($opt{binary}) {
}
else {
foreach my $version (@versions) {
- my $src_json = fetch_json_page("$baseurl/$version->{version}/srcfiles?fileinfo=1");
+ my $src_json = fetch_json_page("$baseurl$version->{version}/srcfiles?fileinfo=1");
unless ($src_json) {
warn "$progname: No source files found for $package version $version->{version}\n";
$warnings++;
--
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