Bug#738977: uscan: howto download from alioth ...

Osamu Aoki osamu at debian.org
Tue Sep 22 17:32:03 UTC 2015


Hi,

After having a locally functioning multi-upstream tarball support for
uscan, I realize this multiple download capability can be extended to
address downloading sig file too.

opts="sigmode=next" <URL> <pattern for tarfile> debian
opts="sigmode=prev" <URL> <pattern for sigfile> prev uupdate

<version> is prev which mean to match the previous download version.

If we use matching pattern for 3989, 3990, ... in the path within href
as non-capturing (?:\d+?), the changing number does not impact the
download.  Downloading version match is done exactly equal to the
previously download one.

pgpsigurlmangle is good for the most simple case, but this 2-line approach
is more robust and flexible.

If sigmode is missing, "mangle" is assumed.  If we wish to stop probing
remote site for sigfile, use "none".

I need to finish test code for sig check and polish code a bit...

Osamu

https://bugs.debian.org/738977



More information about the devscripts-devel mailing list