Bug#763071: devscripts: [uscan] allow setting download compression ordering (prefer xz over gz)

Andreas Metzler ametzler at bebt.de
Sat Sep 27 16:50:06 UTC 2014


Package: devscripts
Version: 2.14.7
Severity: wishlist

Hello,

Given this watch file ...

-------------
version=3
opts=pgpsigurlmangle=s/$/.sig/ \
ftp://ftp.gnu.org/gnu/autogen/rel([\d\.]+)/autogen-([\d\.]+)\.tar\.(?:xz|bz2|gz)
-------------

... uscan finds both .gz and .xz but selects the gzip version for
download. Switching the two alternatives in the regex does not change
this. I think it simply selects the first match in alphabetic
ordering. I would prefer to use xz if available.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the devscripts-devel mailing list