[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian/watch file does not ignore beta version



Hi,

this is the current debian/watch file for proftp, it is not in the archive yet, just on salsa:

version=4
opts=repack,compression=gz,repacksuffix=+dfsg,dversionmangle=s/\+dfsg//,\
uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
pgpsigurlmangle=s@archive/refs/tags@releases/download@;\
s@v([^\/]+)\.tar\.gz@v$1/proftpd-$1\.tar\.gz@;\
s/$/.asc/ \
  https://github.com/proftpd/proftpd/tags .*/v?(\d\S+)\.tar\.gz

According to [1] the entry "uversionmangle=..." should handle the case that there could be beta/rc versions, which should be ignored. When doing an uscan now it downloads happily version v1.3.8rc1, which is available from upstream, instead of the expected 1.3.7b.

What am I doing wrong?

Hilmar

[1] https://wiki.debian.org/debian/watch#Common_mistakes
--
sigfault


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: