Package: devscripts
Version: 2.14.7
Severity: normal
File: /usr/bin/uscan

hi,

the last upload appears to have broken the sf.net handling, resulting
in the download of some html page rather than the actual upstream
tarball.

No such problem with the previous release (2.14.6), or with 2.14.7 after
commenting out the "referer" header introduced in this commit:
http://anonscm.debian.org/cgit/collab-maint/devscripts.git/commit/?id=f0403cebacf193e2a709545321e1881f7d954365


Example output:

============= 2.14.7 =====================
debian@debian:~/devel/svn.debian.org/sab/trunk$ uscan --version | head -n1
This is uscan, from the Debian devscripts package, version 2.14.7

debian@debian:~/devel/svn.debian.org/sab/trunk$ uscan --verbose --force-download
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   http://sf.net/sabnzbdplus/SABnzbd-([\d\.]*)-src\.tar\.gz
-- Found the following matching hrefs:
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.18-src.tar.gz (0.7.18)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.17-src.tar.gz (0.7.17)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.16-src.tar.gz (0.7.16)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.14-src.tar.gz (0.7.14)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.13-src.tar.gz (0.7.13)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.12-src.tar.gz (0.7.12)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.11-src.tar.gz (0.7.11)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.10-src.tar.gz (0.7.10)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.9-src.tar.gz (0.7.9)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.7-src.tar.gz (0.7.7)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.6-src.tar.gz (0.7.6)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.5-src.tar.gz (0.7.5)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.4-src.tar.gz (0.7.4)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.3-src.tar.gz (0.7.3)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.2-src.tar.gz (0.7.2)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.1-src.tar.gz (0.7.1)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.7.0-src.tar.gz (0.7.0)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.15-src.tar.gz (0.6.15)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.14-src.tar.gz (0.6.14)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.10-src.tar.gz (0.6.10)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.9-src.tar.gz (0.6.9)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.8-src.tar.gz (0.6.8)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.7-src.tar.gz (0.6.7)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.6-src.tar.gz (0.6.6)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.5-src.tar.gz (0.6.5)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.4-src.tar.gz (0.6.4)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.3-src.tar.gz (0.6.3)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.2-src.tar.gz (0.6.2)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.1-src.tar.gz (0.6.1)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.6.0-src.tar.gz (0.6.0)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.5.6-src.tar.gz (0.5.6)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.5.5-src.tar.gz (0.5.5)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.5.4-src.tar.gz (0.5.4)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.5.3-src.tar.gz (0.5.3)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.5.2-src.tar.gz (0.5.2)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.5.0-src.tar.gz (0.5.0)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.12-src.tar.gz (0.4.12)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.11-src.tar.gz (0.4.11)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.9-src.tar.gz (0.4.9)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.8-src.tar.gz (0.4.8)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.7-src.tar.gz (0.4.7)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.6-src.tar.gz (0.4.6)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.5-src.tar.gz (0.4.5)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.4-src.tar.gz (0.4.4)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.3-src.tar.gz (0.4.3)
     /watch/sf.php/sabnzbdplus/SABnzbd-0.4.0-src.tar.gz (0.4.0)
Newest version on remote site is 0.7.18, local version is 0.7.18
 => Package is up to date
Newest version on remote site is 0.7.18, local version is 0.7.18
 => Forcing download as requested
-- Downloading updated package SABnzbd-0.7.18-src.tar.gz
-- Checking for common possible upstream OpenPGP signatures
Unknown or no compression used in ../SABnzbd-0.7.18-src.tar.gz. at 
/usr/bin/mk-origtargz line 336.
uscan: error: mk-origtargz --package sabnzbdplus --version 0.7.18 --compression 
gzip --directory .. --copyright-file debian/copyright 
../SABnzbd-0.7.18-src.tar.gz gave error exit status 255

debian@debian:~/devel/svn.debian.org/sab/trunk$ ls -la 
../SABnzbd-0.7.18-src.tar.gz 
-rw-r--r-- 1 debian debian 38108 Oct  7 13:37 ../SABnzbd-0.7.18-src.tar.gz

debian@debian:~/devel/svn.debian.org/sab/trunk$ file 
../SABnzbd-0.7.18-src.tar.gz 
../SABnzbd-0.7.18-src.tar.gz: HTML document, ASCII text, with very long lines
==========================================



Meanwhile, results with 2.14.6 (as well as 2.14.7 without referrer) are
just fine:

============= 2.14.6 ===================== 
debian@debian:~/devel/svn.debian.org/sab/trunk$ uscan --version | head -n1
This is uscan, from the Debian devscripts package, version 2.14.6

debian@debian:~/devel/svn.debian.org/sab/trunk$ uscan --verbose --force-download

[lengthy identical output stripped...]

Newest version on remote site is 0.7.18, local version is 0.7.18
 => Package is up to date
Newest version on remote site is 0.7.18, local version is 0.7.18
 => Forcing download as requested
-- Downloading updated package SABnzbd-0.7.18-src.tar.gz
-- Checking for common possible upstream OpenPGP signatures
-- Successfully downloaded updated package SABnzbd-0.7.18-src.tar.gz
-- Successfully symlinked ../SABnzbd-0.7.18-src.tar.gz to 
../sabnzbdplus_0.7.18.orig.tar.gz.
-- Scan finished

debian@debian:~/devel/svn.debian.org/sab/trunk$ ls -la 
../SABnzbd-0.7.18-src.tar.gz 
-rw-r--r-- 1 debian debian 2317137 Oct  7 13:38 ../SABnzbd-0.7.18-src.tar.gz

debian@debian:~/devel/svn.debian.org/sab/trunk$ file 
../SABnzbd-0.7.18-src.tar.gz 
../SABnzbd-0.7.18-src.tar.gz: gzip compressed data, was 
"SABnzbd-0.7.18-src.tar", last modified: Sun Jul  6 14:12:50 2014, max 
compression
==========================================

Attachment: signature.asc
Description: PGP signature

Reply via email to