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

Re: debian/watch file and berlios



I am sorry if I am trying to wake up a dead issue, but 

On Thu, 23 Nov 2006, Julian Gilbey wrote:
> On Wed, Nov 22, 2006 at 11:17:29AM -0500, Justin Pryzby wrote:
> > I think there are 2 problems:
> > - Berlios apparently rejects based on User-Agent.
> Fixed in 2.9.24, I believe.

Indeed there is a changelog entry:
  * uscan: set HTTP user agent name (Closes: #397354)

and current 2.9.27 version of uscan has:

$user_agent->agent('Debian uscan 2.9.27');

and my uscan fails with:

,---
| -- In debian/watch, processing watchfile line:
|    opts=downloadurlmangle=s/prdownload/download/  http://developer.berlios.de/project/showfiles.php?group_id=7729  http://prdownload.berlios.de/keyjnotegui/keyjnotegui-(.*).tar.bz2
| uscan warning: In watchfile debian/watch, reading webpage
|  http://developer.berlios.de/project/showfiles.php?group_id=7729 failed: 403 Forbidden
`---

so imho issue persists since berlios seems to don't allow uscan as the
agent effectively bringing #397354 back alive:

,---
| *$>  lynx -dump 'http://developer.berlios.de/project/showfiles.php?group_id=7729' | head -3
|
|       [1]BerliOS :    [2]DevCounter   [3]WebCalendar   [4]Developer
|     [5]SourceAgency   [6]SourceLines    [7]Partners   [8]Contact Us
|
| $>  lynx -useragent='Debian uscan 2.9.27' -dump 'http://developer.berlios.de/project/showfiles.php?group_id=7729'
| Warning: User-Agent string does not contain "Lynx" or "L_y_n_x"!
|
|                                    Forbidden
|
|    You don't have permission to access /project/showfiles.php on this
|    server.
|      _________________________________________________________________
|
|
|     Apache/1.3.34 Server at developer.berlios.de Port 80
`---


P.S. Sorry for an extensive list of Addressees -- just wanted to
follow-up on existing thread/issue.

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        



Reply to: