aos / dsf-debian

Debian/Ubuntu packaging for diff-so-fancy
https://launchpad.net/~aos1/+archive/ubuntu/diff-so-fancy
17 stars 1 forks source link

Fix debian watch file matching syntax #4

Closed dephekt closed 1 year ago

dephekt commented 2 years ago

uscan fails to find a match as the matching needs updated in the watch file to account for changes in Github. This updates the syntax so it can find releases again using the tags page.

Before:

$ uscan --destdir tarballs
uscan warn: In debian/watch no matching files for watch line
  https://github.com/so-fancy/diff-so-fancy/releases/latest (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

After:

$ uscan --destdir tarballs
uscan: Newest version of diff-so-fancy on remote site is 1.4.3, local version is 1.4.2
uscan:  => Newer package available from:
        => https://github.com/so-fancy/diff-so-fancy/archive/refs/tags/v1.4.3.tar.gz
Successfully symlinked tarballs/diff-so-fancy-1.4.3.tar.gz to tarballs/diff-so-fancy_1.4.3.orig.tar.gz.

Closes #3