On Wed, Jul 31, 2013 at 08:32:24AM +0200, Raphael Hertzog wrote: > Hi, > > On Wed, 31 Jul 2013, Charles Plessy wrote: > > just a brief comment while seeing this change to the Debian wiki page. "Not > > flexible enough" is very open-ended and calls for continuous updates of > > watch > > files that work perfectly at the moment of their update. > > > > I think that all of this suggests that we would benefit of having this > > complexity transferred to uscan: if the file looks like a compressed tar > > archive, like 'foo.tar.gz', then look for other common compressions or > > formats > > if no file is found. > > +1 > > Or maybe allow usage of some predefined variables: > - $ARCHIVE_EXT -> (?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) > - $COMPRESSION_EXT -> (?:gz|bz2|xz) > - $ANY_VERSION -> (?:\d\S*) > > Can you file a bug report against uscan ?
All good ideas. I would however add a nuance around the "zip" part. On some websites a .zip and a .tar.gz file are both available, and then uscan should select the .tar.gz file. I mean, uscan should prefer a file extension of a file that is usable for Debian packaging as-is. Regards, Bart Martens -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130731182205.ga12...@master.debian.org