Watch file results

component: main
debian_mangled_uversion: 0.2.0
debian_uversion: 0.2.0
distribution: debian
last_check: 2024-11-19 00:24:09.341494
release: sid
source: obs-scene-notes-dock
status: up to date
upstream_url: https://github.com/exeldro/obs-scene-notes-dock/archive/refs/tags/0.2.0.tar.gz
upstream_version: 0.2.0
version: 0.2.0-3
watch_file:
version=4

# The following rule is right, but the upstream frequently...
# https://github.com/exeldro/obs-scene-notes-dock/tags archive/refs/tags/(\d\S+)\.tar\.(?:bz2|gz|xz)

# The upstream frequently forgets to update the tag on GitHub, but he always
# updates the official homepage at obsproject.com (see Homepage field at
# debian/control file). The following rule is a workaround to check the current
# version on the official homepage and to call this version from the GitHub.

# LINTIAN will warn about the filenamemangle. The filenamemangle is needed
# because we are using jumps and workarounds to get the last version from the
# upstream. Consequently, the name got by uscan is an HTML code (this is trash,
# no filename, no version).

opts="searchmode=plain, \
      downloadurlmangle=s/.*u-muted..([\d\.]+).*/https:\/\/github.com\/exeldro\/@PACKAGE@\/archive\/refs\/tags\/$1\.tar\.gz/, \
      filenamemangle=s/.*muted..([\d\.]+)..span./@PACKAGE@-$1\.tar\.gz/" \
https://obsproject.com/forum/resources/scene-notes-dock.1398 .span.class..u-muted..(\d\S+)..span.