Le 18/11/2021 à 21:47, Christian Marillat a écrit : > reopen 999543 > thanks > > On 18 nov. 2021 19:24, Yadd <[email protected]> wrote: > >> Hi, > > Hi, > >> uscan 2.21.5 now fails when filenamemangle regex doesn't match upstream >> filename. This avoids some conflicts with GitHub downloads (which names >> all files "v<version>"): a previously downloaded file can be modified >> when more than one download is done. > > I'm sorry but this is a bug, uscan must not crash. > > Here I've 485 sources to scan and uscan leaves 300 sources not > scanned.
This is risky to uscan 300 GitHub sources with such filenamemangles: one download could overwrite a previously downloaded file. I'm using this for the thousands JS broken packages (already more than 300 fixed): perl -i -pe 's#filenamemangle=s/\.\*\\\/v\?\(\[\\d\\.\-\]\+\)\\\.tar\\\..z\/(node-.*)-\$1\.tar\.gz/#filenamemangle=s/.*?(\\d[\\d\\.-]*\@ARCHIVE_EXT\@)/$1-\$1/#' debian/watch Anyway, I added a --no-fail option in this MR: https://salsa.debian.org/debian/devscripts/-/merge_requests/246

