[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian/watch file and berlios



On Tue, Nov 21, 2006 at 12:43:33PM -0500, Justin Pryzby wrote:
> 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

This was fixed in devscripts 2.9.24, and was bug#397354.  Do you still
observe this erroneous behaviuur with the latest devscripts?

> I also note the following strange headers sent by uscan, observed with
> ethereal^Wwireshark:
> 
> Connection: TE, close
> TE: deflate,gzip;q=0.3

Not a clue, sorry.

> 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

   Julian



Reply to: