* Niels Thykier <ni...@thykier.net> [2025-09-23 21:08]:
Ok. It should be possible based on the `HTTP site (recursive directory scanning)` example from `man debian-watch`. Not entirely sure what you are missing. The only notable difference I spot is that a @VAR@ pattern is used in `Source` as well. Might be needed to trigger the code path you are looking for.

If that does not do it, then I am out of ideas.

uscan wants the capturing version regex in the Matching-Pattern and refuses to download anything if that regex is only in the Source: key. A possible workaround/ugly hack would be:

Version: 5

Source: http://festvox.org/packed/festival/@ANY_VERSION@/
Matching-Pattern: festival@ANY_VERSION@-release@ARCHIVE_EXT@
Download-Url-Mangle: 
s,festival.*-release(@ARCHIVE_EXT@),voices/festvox_kallpc16k$1,

(Note how this matches against the URL of a versioned tarball which is sneakily mangled to point at the unversioned tarball).


Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to