Watch file results

component: main
debian_mangled_uversion: 3.15.2
debian_uversion: 3.15.2
distribution: debian
last_check: 2021-09-17 16:50:04.018921
release: sid
source: cfengine3
status: newer package available
upstream_url: https://github.com/cfengine/core/archive/refs/tags/3.18.0.tar.gz
upstream_version: 3.18.0
version: 3.15.2-3
watch_file:
version=4
# Since the official upstream download page at https://cfengine.com/product/community/
# is dynamically generated from many layers of JSON files, we instead look at the
# GitHub releases page to get a list of versions and then construct the URLs for
# release tarballs from them.
# Therefore, the following looks pretty ugly. If someone finds a sane way to improve it,
# please do so!
opts=downloadurlmangle=s%https://github.com/cfengine/core/archive/(@ANY_VERSION@@ARCHIVE_EXT@)%https://cfengine-package-repos.s3.amazonaws.com/tarballs/cfengine-$1%,\
		filenamemangle=s%.*/(@ANY_VERSION@)(@ARCHIVE_EXT@)%cfengine-$1$3% \
	https://github.com/cfengine/core/releases .*/([\.\d]+)@ARCHIVE_EXT@
opts=component=masterfiles,downloadurlmangle=s%https://github.com/cfengine/masterfiles/archive/(@ANY_VERSION@@ARCHIVE_EXT@)%https://cfengine-package-repos.s3.amazonaws.com/tarballs/cfengine-masterfiles-$1%,\
		filenamemangle=s%.*/(@ANY_VERSION@)(@ARCHIVE_EXT@)%cfengine-masterfiles-$1$3% \
	https://github.com/cfengine/masterfiles/releases .*/([\.\d]+)@ARCHIVE_EXT@