debian/watch and v5
gregor herrmann <[email protected]> Fri, 20 Feb 2026 23:55:55 +0100
| Newsgroups | gmane.linux.debian.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
------------=_1771628157-11407-37
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
I notice that some people have started to convert d/watch files to
version 5 format.
While there is no consensus to do this, which is not my problem, I
also note that often it's done wrong for CPAN distributions.
Random example:
Wrong:
Source: https://metacpan.org/release/Mail-Message
Matching-Pattern: .*/Mail-Message-v?@ANY_VERSION@@ARCHIVE_EXT@$
Correct:
Template: Metacpan
Dist: Mail-Message
This is not only semantics and aesthetics; the reason why Yadd
started version 5 in the first place was exactly the MetaCPAN
thingie, as they started to block random user-agents (anti-scraper
defence) and recommended using the MetaCPAN API -- and that's what
the uscan Metacpan template uses.
I've now fixed what I've found in our repos (and also noticed a
couple of minor issues in uscan, which require Uversionmangles at
this point). -- Please use the Metacpan template in the future if you
want to switch to version 5.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
------------=_1771628157-11407-37
Content-Type: application/pgp-signature; name="signature.asc"
Content-Disposition: inline; filename="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: Digital Signature
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmmY5n1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYS+Q//fo85mwFrxfbqtYcOL5CTEqN77pDqZlty0lDLjio3MzJeLfUaaHnNQ4XE
6GQ5GPF0FGgBfMkGhOSXr2fnjRg9K7bc4G6kFBnC79g76Rr9KNRGaM8pVw9DyP5I
Kn+dDrT3kaGAPb9GPLCl0gmuY39vL+Vd2ahRTaaHn/zWo5IUs59JBsW4OfxxPTK+
RJf87rvsyqKgMkWhIpDmbKfn6ptlAMOGHOASRpAvhYA8wIus49UyHw5fqyniVzL0
xBGdOh4Nl2UGZG8/Nh80bAAY44koJs2ixS3V71PCmzhsRI4H6CiWq00UvVOhItj9
cpFQVmIpWxMC4Q1rZgH++hwFuU0e9N3+5LvyaNzZeconKJ8RWMq1Tzkj9Fswnlqc
hb6w+KAuRUVU5z+yM4cNkczqvguO+DXVi+07bZT0nnyQbVXGb4XaKKGuqOx6UIiC
75sHps8/fJYn++uBfDaZpPkzI8cP8T0T0hJ+ie6HXH66T6vx3iC8QTwBQk8lwd+8
SmgWbMsyB3veFHxe9qc065Q+4basxvMAVztbKiOo0G28Xf5Y2rieQ2kh9CESi7jL
CwReW7AeM4evWMzkWQeKTdqGUej9vxMgbhkFqyY9Wu4MC/P/WoEjkh5VObJJFMVT
p2vH+ifrqf56pQojddOD310WcQ6W9nm+u0U8kn+9lAY8+Lh5clA=
=6KN4
-----END PGP SIGNATURE-----
------------=_1771628157-11407-37--