Hi,

just FYI: the changed watch file was not usable to download a new
release. It downloaded the .tar.gz that was autogenerated by GitHub.
However, this was incomplete and not usable for a package build.
Upstream generates its own source archive. See #1123797.

I changed the watch file to use the project page
(https://www.darktable.org/install/) where the official
source archive is published.

I also created a watch file that uses GitHub tags (see below).  It works for the
5.4.0 release, but uses Download-Url-Mangle: and Filename-Mangle:
parameters that I find somewhat ugly.

Version: 5

Source: https://github.com/darktable-org/@PACKAGE@/tags
Matching-Pattern: (?:.*?/)?release-(\d\.[02468]+[.\d]+)@ARCHIVE_EXT@
Download-Url-Mangle: 
s%(https://.*?)archive/refs/tags/release-(@ANY_VERSION@).tar.gz%$1/releases/download/release-$2/@PACKAGE@-$2.tar.xz%
Filename-Mangle: s/.*?(@ANY_VERSION@)@ARCHIVE_EXT@/@PACKAGE@$1.tar.xz/

Regards,
Tino

Reply via email to