For anyone having issues with Gitea's new dynamic download links [1] here is a debian/watch file that works.
* * *
version=4
opts=\
downloadurlmangle=s/\/releases\/tag\/(\d\S+)$/\/archive\/$1\.tar\.gz/,\
filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \ https://codeberg.org/dnkl/foot/releases .*/releases/tag/(\d\S+)
filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \filenamemangle=s{.*/(.*)}{@PACKAGE@-$1.tar.gz} \
filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \filenamemangle=s{.*/(.*)}{@PACKAGE@-$1.tar.gz} \
Hi
On Thu, Nov 4, 2021 at 12:48 PM Johannes Schauer Marin Rodrigues <josch@debian.org> wrote:
filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \filenamemangle=s{.*/(.*)}{@PACKAGE@-$1.tar.gz} \
mapreri pointed out that 'USCAN_SYMLINK=rename' is superior to 'filenamemangle' in both of our cases.
Lintian will also suggest it very soon (more generally).
Kind regards
Felix Lechner
Yes, but USCAN_SYMLINK is a local parameter
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (2 / 14) |
Uptime: | 19:34:49 |
Calls: | 6,640 |
Files: | 12,188 |
Messages: | 5,325,232 |