#1127008 uscan: use canical tag format in autogenerated templates (Gitexport -> Git-Export, Pgpmode -> Pgp-Mode)

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Otto Kekäläinen
Date:
2026-02-05 07:53:02 UTC
Severity:
normal
#1127008#5
Date:
2026-02-05 07:50:26 UTC
From:
To:
Currently, when running `uscan --update-watchfile` it outputs a
template using spelling such as e.g.

...
Matching-Pattern: refs/tags/v?([\d\.]+)
Gitexport: all
Mode: git
Pgpmode: gittag

It would be better to use the canonical formatting that is documented
in the uscan man page:

...
Matching-Pattern: refs/tags/v?([\d\.]+)
Git-Export: all
Mode: git
Pgp-Mode: gittag

This is also how it will be formatted when `debputy reformat --style
black` runs. See
https://salsa.debian.org/phpmyadmin-team/mariadb-mysql-kbs/-/merge_requests/2
for a practical example. Having the formatting correct directly by
uscan itself would avoid having to later fix it.