Watch file results

component: main
debian_mangled_uversion: 0.2.1
debian_uversion: 0.2.1
distribution: debian
last_check: 2024-05-02 00:50:34.77709
release: sid
source: vmfs6-tools
status: up to date
upstream_url: https://api.github.com/repos/teward/vmfs6-tools/tarball/0.2.1
upstream_version: 0.2.1
version: 0.2.1-1
watch_file:
version=4
# So, thanks to Microsoft changing GitHub's releases page so 
# it's dynamic content via JS or such, and NOT static text...
# we have to do a convoluted matching on the github API 
# output for the repo's releases, and since it's JSON do a
# plain search to make this work.
# 
# Unfortunately, we also have to do a full URL format match
# on the URL we want for the tarball download and mangle the 
# filename appropriately.
#
# Inspired by the solution specified here:
# https://lists.debian.org/debian-devel/2022/09/msg00229.html
#
# ... and adapted for autogenerated version tarballs from GH.
#
opts="searchmode=plain, \
filenamemangle=s/.+\/@ANY_VERSION@/@PACKAGE@-$1.tar.gz/" \
  https://api.github.com/repos/teward/@PACKAGE@/releases https:\/\/api.github.com\/repos\/teward\/@PACKAGE@\/tarball/@ANY_VERSION@