On Wed, Nov 22, 2006 at 01:46:37PM +0100, Andreas Bresser wrote: > Hi, > > so is it enought when I update my package manually using uupdate and > create a watch file that looks like you suggested? > (because that line does not work): Well, until uscan gets fixed, or an upload to sf.net is made, it won't do anything useful, as you note.
I think there are 2 problems: - Berlios apparently rejects based on User-Agent. - Strange headers sent by uscan, observed with wireshark I was hoping that the devscripts maintainers could comment on this. > > Justin > Justin Pryzby schrieb: > > On Mon, Nov 20, 2006 at 11:21:45AM +0100, Andreas Bresser wrote: > > > >> Hello, > >> > >> The upstream-author of my package "spe" uploaded a new release on > >> berlios.de (on sourceforge is still the old version), so I changed the > >> debian/watch-file from sf.net to berlios: > >> version=3 > >> opts=downloadurlmangle=s/prdownload/download/ \ > >> http://developer.berlios.de/project/showfiles.php?group_id=4161 \ > >> http://prdownload.berlios.de/python/SPE-(.*)-wx.*\.tar\.gz > >> > >> but this does not work: > >> > >> ~/debian/spe2/spe-0.8.2a+repack$ uscan > >> spe: Newer version (0.8.3.c) available on remote site: > >> http://download.berlios.de/python/SPE-0.8.3.c-wx2.6.1.0.tar.gz > >> (local version is 0.8.2a+repack) > >> uscan warning: In directory ., downloading > >> http://download.berlios.de/python/SPE-0.8.3.c-wx2.6.1.0.tar.gz failed: > >> 403 Forbidden > >> > >> when I try to download this file directly with "wget" it works: > >> > > Berlios apparently rejects based on User-Agent. > > > > wget -q --header 'User-Agent: libwww-perl/5.805' > > 'http://developer.berlios.de/project/showfiles.php?group_id=4161' > > >/dev/null ; echo $? > > 1 > > > > wget -q 'http://developer.berlios.de/project/showfiles.php?group_id=4161' > > >/dev/null ; echo $? > > 0 > > > > I also note the following strange headers sent by uscan, observed with > > ethereal^Wwireshark: > > > > Connection: TE, close > > TE: deflate,gzip;q=0.3 > > > > Problems aside, I think you will want something like: > > version=3 > > http://developer.berlios.de/project/showfiles.php?group_id=4161 > > SPE-(.*)-wx.*\.tar\.gz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

