Package: devscripts
Version: 2.25.20
Severity: wishlist
X-Debbugs-Cc: [email protected]

With both devscripts 2.25.19 and 2.25.20, a minimal GitHub template
watch file correctly removes the optional v prefix when determining
the upstream version number, while a minimal GitLab template watch
file does not.

GitHub
======
gnome-shell-extension-gsconnect with this watch file correctly returns
a version number of 67 instead of v67

Version: 5
Template: GitHub
Owner: GSConnect
Project: @PACKAGE@

$ uscan --report-status
[excerpt]
    $newfile            =
https://api.github.com/repos/GSConnect/gnome-shell-extension-gsconnect/git/refs/tags/v67
    $mangled_newversion = 67
    $newversion         = 67
    $lastversion        = 67

GitLab
=====
apostrophe with this watch file returns a version of v3.4 instead of
the expected 3.4

Version: 5
Template: GitLab
Dist: https://gitlab.gnome.org/World/@PACKAGE@

$ uscan --report-status
[excerpt]
    $newfile            =
https://gitlab.gnome.org/api/v4/projects/10690/repository/archive.tar.gz?sha=v3.4
    $mangled_newversion = v3.4
    $newversion         = v3.4
    $lastversion        = 3.2

Alternate Links
===========
https://qa.debian.org/cgi-bin/watch?pkg=apostrophe
https://qa.debian.org/cgi-bin/watch?pkg=gnome-shell-extension-gsconnect

Note that UDD is still using devscripts 2.25.19
https://salsa.debian.org/qa/udd/-/commits/master


Thank you,
Jeremy Bícha

Reply via email to