Bug#517637: auto-generalise the search regex
Osamu Aoki
osamu at debian.org
Wed Nov 11 13:59:42 UTC 2015
Hi,
On Wed, Nov 11, 2015 at 12:44:16PM +0800, Paul Wise wrote:
> On Sun, 2015-11-08 at 23:28 +0900, Osamu Aoki wrote:
>
> > As I thought about this bug report and https://bugs.debian.org/539780 ,
> > these share the same solution
> >
> > predefined string substitution applied to the watch file before any
> > procerssing
> >
> > I can think of @package@ @version@ @suffix@ @YYMMDD@ ... as the
> > candidates since no watch file uses @...@ I hope.
>
> I think these two requests are slightly different but I agree that
> something your proposed solution to #539780 is definitely needed and is
> probably a prerequisite for implementing #517637.
Yes. You do not want to pick tar.gz when tar.xz exists.
> #517637 is more about, for watch files that do not use the proposed
> @...@ syntax, if no files are found or if the package is up-to-date
> then look for some newer files that use one of the common extensions.
It now sort by version and suffix (with priority given to xz) with a bit
rough huristics.
Osamu
More information about the devscripts-devel
mailing list