Watch file results

component: main
debian_mangled_uversion: 2.30.50~git20241102~44a2d4d+ds
debian_uversion: 2.30.50~git20241102~44a2d4d+ds
distribution: debian
last_check: 2024-12-10 00:20:53.808337
release: experimental
source: sdl2-compat
status: newer package available
upstream_url: https://github.com/libsdl-org/sdl2-compat HEAD
upstream_version: 2.30.50~git20241130~89e3c65+ds
version: 2.30.50~git20241102~44a2d4d+ds-1
watch_file:
version=4

# TODO:
#opts="\
#    compression=gzip, \
#    dversionmangle=s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)//, \
#    downloadurlmangle=s#/releases/tag/#/archive/refs/tags/#;s#((?:pre)?release-?@ANY_VERSION@)$#$1/@PACKAGE@-$2.tar.gz#, \
#    filenamemangle=s#(?:pre)?release-?@ANY_VERSION@#@PACKAGE@-$1.tar.gz#" \
#https://github.com/libsdl-org/@PACKAGE@/tags .*/releases/tag/release-?@ANY_VERSION@
#
# or:
#opts="mode=git" \
#https://github.com/libsdl-org/@PACKAGE@ \
#refs/tags/release-@ANY_VERSION@

opts="\
    mode=git, \
    compression=gzip, \
    dversionmangle=s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)(?:\+(?:dfsg|ds)[0-9]*)//, \
    pretty=2.30.50~git%cd~%h+ds" \
https://github.com/libsdl-org/sdl2-compat \
HEAD