Hi all, I pushed an MR to uscan to add "compat", "compat_group" and "compat_checksum" targets. This permits to solve for example @types/node download. Example
version=4 opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-glob-$1.tar.gz/ \ https://github.com/isaacs/node-glob/tags \ .*/archive/v?([\d\.]+).tar.gz group opts="searchmode=plain,component=types-glob,pgpmode=none" \ https://registry.npmjs.org/@types/glob https://registry.npmjs.org/@types/glob/-/glob-([\d\.]+)@ARCHIVE_EXT@ \ compat_group will download @types/glob as long as @types/glob version is compatible with glob. If next version of glob embeds its typescript definitions (and then no new version of @types/glob is published), uscan will fail. Other example, if you restrict version in "glob" regexp (or in --download-version), uscan will choose the good @types/glob, not the last. And so on. See https://salsa.debian.org/debian/devscripts/-/merge_requests/207 -- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
