Package: qa.debian.org
Severity: normal

Dear Maintainer,

    $ gbp clone https://salsa.debian.org/debian/jed-extra.git
    $ cd jed-extra
    $ uscan
    uscan warn: In watchfile debian/watch, reading webpage
      https://qa.debian.org/watch/sf.php/jedmodes/ failed: 400 SourceForge HTTP 
Error: Bad Request

The debian/watch file contains the following:

    Version: 5

    Source: http://sf.net/jedmodes/
    Matching-Pattern: jedmodes-@ANY_VERSION@@ARCHIVE_EXT@
    Compression: xz
    Dversionmangle: s/[~+]ds[0-9]*//
    Repacksuffix: +ds

Accessing the redirected URL results in this error message:

    $ curl https://qa.debian.org/watch/sf.php/jedmodes/
    http response: HTTP/1.1 400 Bad Request
    libxml error: Warning 1549: failed to load external entity 
"https://sourceforge.net/projects/jedmodes/rss?limit=10000000000000000000";

It seems that the problem is related to the "limit" parameter, since visiting 
this URL:

    https://sourceforge.net/projects/jedmodes/rss?limit=100

yields the expected result, while visiting this one:

    https://sourceforge.net/projects/jedmodes/rss?limit=1000

yields an error page with the message “Sorry, something's not right with this 
request.”

Best,

Rafael Laboissière

Reply via email to