Dear mentors, in 10/2014, a bug in devscripts/uscan (#764367) broke the watch files that use the sf redirector service. It was fixed in devscripts-2.14.8 by:
+ + Strip the Referer header when using qa.debian.org's Sourceforge + redirector. When there's a foreign Referer header, Sourceforge responds + with a web page containing a <meta refresh=...> redirect to the actual + file, causing uscan to save the web page rather than the file. (Closes: + #764367) (http://anonscm.debian.org/cgit/collab-maint/devscripts.git/commit/?id=fb0e6a67fc059acb89cf0ea7bc9b52cad43d5326) Now I cannot use the sf redirect service because I need to limit the search to the "freeplane%20stable/" folder (and the redirect does not allow this). (I am using devscripts 2.15.1) Here is my old watch file (which limits the search to the "freeplane%20stable/" folder): https://github.com/fnatter/freeplane-debian/blob/master/debian/watch But this fails for the same reason as in #764367: felix@debianunstable:~/freeplane-unstable/freeplane-debian$ uscan freeplane: Newer version (1.3.15) available on remote site: http://sourceforge.net/projects/freeplane/files/freeplane%20stable/freeplane_srcpure-1.3.15.tar.gz/download (local version is 1.3.12) Unknown or no compression used in ../freeplane_srcpure-1.3.15.tar.gz. at /usr/bin/mk-origtargz line 336. uscan: error: mk-origtargz --package freeplane --version 1.3.15 --compression gzip --directory .. --copyright-file debian/copyright ../freeplane_srcpure-1.3.15.tar.gz gave error exit status 255 wget http://sourceforge.net/projects/freeplane/files/freeplane%20stable/freeplane_srcpure-1.3.15.tar.gz/download works (beside the fact that it downloads as 'download'). --> my question is: Is there a hack for stripping the referer header in my watch file or shall I report a bug against devscripts (maybe add a "sourceforge.net/projects" special case as well or add a 'remove_referer' option?)? Thanks and Best Regards, -- Felix Natter -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87fva4z6a7....@bitburger.home.felix