Re: d/watch for Gitea's new dynamic pages

2021-11-07 Thread Felix Lechner
Hi Yadd, On Sun, Nov 7, 2021 at 1:08 PM Yadd wrote: > > Yes, but USCAN_SYMLINK is a local parameter I wondered about that, but in the interest of progress implemented the experimental and pedantic tag 'prefer-uscan-symlink'. [1] The description includes the disclaimer: "Please check with your te

Re: d/watch for Gitea's new dynamic pages

2021-11-07 Thread Yadd
Le 07/11/2021 à 21:37, Felix Lechner a écrit : > Hi > > On Thu, Nov 4, 2021 at 12:48 PM Johannes Schauer Marin Rodrigues > wrote: >> >>> filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \ >> filenamemangle=s{.*/(.*)}{@PACKAGE@-$1.tar.gz} \ > > mapreri pointed out that 'USCAN_SYMLINK=rename'

Re: d/watch for Gitea's new dynamic pages

2021-11-07 Thread Yadd
On Thu, Nov 4, 2021 at 12:48 PM Johannes Schauer Marin Rodrigues wrote: > >> filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \ > filenamemangle=s{.*/(.*)}{@PACKAGE@-$1.tar.gz} \ I think this is more generic: filenamemangle=s/.*?(@ANY_VERSION@@ARCHIVE_EXT@)/@PACKAGE@-$1/ (not dependent t

Re: d/watch for Gitea's new dynamic pages

2021-11-07 Thread Felix Lechner
Hi On Thu, Nov 4, 2021 at 12:48 PM Johannes Schauer Marin Rodrigues 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. Linti

Re: d/watch for Gitea's new dynamic pages

2021-11-04 Thread Johannes Schauer Marin Rodrigues
Quoting Felix Lechner (2021-11-04 20:17:49) > 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

d/watch for Gitea's new dynamic pages

2021-11-04 Thread Felix Lechner
Hi, For anyone having issues with Gitea's new dynamic download links [1] here is a debian/watch file that works. Kind regards Felix Lechner [1] https://github.com/go-gitea/gitea/issues/16354 * * * version=4 opts=\ downloadurlmangle=s/\/releases\/tag\/(\d\S+)$/\/archive\/$1\.tar\.gz/,\ filena