Package: devscripts
Version: 2.25.19
Severity: normal
Tags: patch
Hi,
Currently, gitlab template force uversionmangle to auto. The line in template
is:
$watchSource->{uversionmangle} = 'auto';
It would be better if it were:
$watchSource->{uversionmangle} ||= 'auto';
as for pgpmode or even mode (mode could have been forced).
I've an upstream repository with tags as version-x.y.z
I need to specify uversionmangle: s/version-//
As a side note, the three following entries are valid (they do not do the
same thing of courses):
Uversionmangle: s/version-//;
s/(\d)[_\.\-\+]?((?:RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/
Uversionmangle: s/version-//
Uversionmangle: auto
but this one is not (I would expect it to do the same a the first above):
Uversionmangle: s/version-//; auto
For now, I workaround by using mode: gitlab directly
Regards,
Vincent
-- Package-specific info:
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts ---
DSCVERIFY_KEYRINGS=$HOME/.gnupg/pubring.gpg
DEBUILD_DPKG_BUILDPACKAGE_OPTS=-k0x621E3509654DD77C43F5CA4AF6AEF2AFD17897FA
DEBSIGN_KEYID=0x621E3509654DD77C43F5CA4AF6AEF2AFD17897FA
-- System Information:
Debian Release: forky/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'oldstable-updates'), (500, 'oldstable-security'), (500, 'unstable'), (500,
'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel
Kernel: Linux 6.12.41+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages devscripts depends on:
ii dpkg-dev 1.22.21
ii file 1:5.46-5
ii gpg 2.4.8-3
ii gpg-agent 2.4.8-3
ii gpgv 2.4.8-3
ii libdpkg-perl 1.22.21
ii libfile-dirlist-perl 0.05-3
ii libfile-homedir-perl 1.006-2
ii libfile-touch-perl 0.12-2
ii libio-string-perl 1.08-4
ii libmoo-perl 2.005005-1
ii libwww-perl 6.80-1
ii patchutils 0.4.2-1
ii perl 5.40.1-6
ii python3 3.13.7-1
ii sensible-utils 0.0.26
ii wdiff 1.2.2-9
Versions of packages devscripts recommends:
ii apt 3.1.6
ii curl 8.16.0-1
ii dctrl-tools 2.24-3+b1
ii debian-keyring 2025.09.18
ii debian-tag2upload-keyring 1.1
ii dput 1.2.4
ii equivs 2.3.2
ii git-debpush 13.15
ii libdistro-info-perl 1.14
ii libencode-locale-perl 1.05-3
ii libgitlab-api-v4-perl 0.27-1
ii libjson-perl 4.10000-1
ii liblwp-protocol-https-perl 6.14-1
ii libmetacpan-client-perl 2.033000-1
ii libsoap-lite-perl 1.27-3
ii libstring-shellquote-perl 1.04-3
ii liburi-perl 5.34-1
ii licensecheck 3.3.9-1
ii lintian 2.126.0
ii lzip 1.25-3
ii man-db 2.13.1-1
ii patch 2.8-2
ii pristine-tar 1.50+nmu2
ii python3-apt 3.0.0
ii python3-debian 1.0.1
ii python3-magic 2:0.4.27-3
ii python3-requests 2.32.5+dfsg-1
ii python3-unidiff 0.7.5-2
ii python3-xdg 0.28-2
ii strace 6.16+ds-2
ii unzip 6.0-29
ii wget 1.25.0-2
ii xz-utils 5.8.1-1.1
Versions of packages devscripts suggests:
pn adequate <none>
ii at 3.2.5-2.2
ii autopkgtest 5.51
pn bls-standalone <none>
ii bsd-mailx [mailx] 8.1.2-0.20220412cvs-1.1
ii build-essential 12.12
pn check-all-the-things <none>
ii debhelper 13.28
ii diffoscope 306
pn disorderfs <none>
ii docker.io 26.1.5+dfsg1-10
pn dose-extra <none>
pn duck <none>
pn elpa-devscripts <none>
ii faketime 0.9.10+2024-06-05+gba9ed5b2-0.6
ii gnuplot 6.0.3+dfsg1-1
ii gnuplot-qt [gnuplot] 6.0.3+dfsg1-1
pn how-can-i-help <none>
ii libauthen-sasl-perl 2.1900-1
pn libdbd-pg-perl <none>
ii libgitlab-api-v4-perl 0.27-1
pn libterm-size-perl <none>
ii libtimedate-perl 2.3300-2
ii libyaml-libyaml-perl 0.904.0+ds-1
ii mailutils [mailx] 1:3.20-2
ii mmdebstrap 1.5.7-3
ii mutt 2.2.13-1
ii openssh-client [ssh-client] 1:10.0p1-8
pn piuparts <none>
pn postgresql-client <none>
pn pristine-lfs <none>
ii python3-debianbts 4.1.1
ii python3-pycurl 7.45.7-1
ii quilt 0.68-1
pn ratt <none>
pn reprotest <none>
ii svn-buildpackage 0.8.10
ii w3m 0.5.3+git20230121-2.1
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/perl5/Devscripts/Uscan/Templates/Gitlab.pm
(from devscripts package)