Package: devscripts
Version: 2.20.4
Severity: wishlist
Control: user -1 devscri...@packages.debian.org
Control: usertags -1 uscan

uscan offers some target for components: ignore, same,... "same" is
strict and matches only the exact same version, while "ignore" doesn't
check anything.
It could be interesting to have a "compat" target that accept to
download the last component whose version is compatible (using Semver).
Example: nodejs needs to embed a compatible @types/node nodejs module.
Nodejs unstable version is 12 and @types/node does not follow any minor
version of nodejs, so:
 * "same" will often fail
 * "ignore" will download @types/node version ≥ 14, corresponding to
   last published version

The "compat" target (with group-compat and checksum-compat) will avoid
to modify debian/watch regexp.

Reply via email to