Re: New update fields for cme dpkg
gregor herrmann <[email protected]> Sat, 4 Apr 2026 15:37:32 +0200
| Newsgroups | gmane.linux.debian.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
------------=_1775309857-5622-55
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, 04 Apr 2026 15:04:38 +0200, Dominique Dumont wrote:
>On Wednesday, 25 March 2026 21:38:59 Central European Summer Time gregor
>herrmann wrote:
>> If you look into dpt-debian-upstream -- ehm, actually
>> Debian::Upstream::Metadata::Perl (bin: libdebian-source-perl, src:
>> dh-make-perl) -- we can see that the authors (mostly alexm) put in
>> quite some effort to fix/cleanup the URLs that are found in the
>> metadata files of perl distributions (like: no ssh://, no git://,
>> https:// instead of http:// if possible etc., handling Repository vs.
>> Repository-Browse). All these fixups have been added and refined
>> over time because of examples seen in the wild =E2=80=A6
>Which makes sense.
>Would it be possible to modify Debian::Upstream::Metadata::Perl so that the
>fixup logic is isolated in a function callable by cme ?
Debian::Upstream::Metadata::Perl actually is just one function named=20
'convert':
SYNOPSIS
use Debian::Upstream::Metadata::Perl;
Debian::Upstream::Metadata::Perl->convert(
CPAN::Meta->new('META.yaml'),
'debian/upstream/metadata');
which is used by dpt-debian-upstream and some part of dh-make-perl.
>This way, cme would call this function and perform the same updates as dpt-
>debian-upstream.
Using this function from cme as well sounds like a good idea to me.=20
And if you need to change it or add a second funtion, just go ahead=20
:)
Cheers,
gregor
--=20
.''`. 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 Eu=
rope
`-=20=20=20
------------=_1775309857-5622-55
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-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmnRFCFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgaSnw//fIaQPGWlwNpHQRdmRvz+RlafcpSx8raovbzMqdBRxpmJVZWgzwAxHMZQ
1dvBj0iKVC9UO3LMcsszaVicriyqn05h0/yFf9eEIzuqv9dFWxAcQGe5yETqhekj
nDvPtIG1lD8F2pKJMOhSjT5+bqTj5ZYwHT55epcXO/fmJ0IHEBvsOpMeJHmq1ru/
e2EJ+O6AbJyAGt6mtSGxtHbpDd3am7Bzef0VeoxvU7VpT3FdBlknT+qVhsFKHfbV
gg3yvnbIGvLbE1zZv/uv8jZFGHVp/YqutBBJYSS9G8nRbeM0O3yx7dHGrliCTvMe
q8Xon2tYBHxdQOlA+5wAmPX3OA1k4GdmIi4kyMyH0/oXQZoLqKF0iZDO1JfHiW8f
pPjelGff226I14C/S0lRzovQl/liymXgHvnwacbPJ3Q5nfttKEF4hsahxIvGSqQK
MJSVbwXnW120Q5NZvIUTWJ16AsG1lePlAEtgDH7mUyx0gNHPOkere1T5gD5Z88IJ
SsnLFVtjFuM0gc0RZ2evmZYlaNQ4zS04Ybxhv7vL9WDnEos/HSXmXPojm75Dt7bp
lmXFe8KiVToQSehpExkfcP3pLfyeQrzE0lASh1tbTl9cvwEjXN2+Ygbw9UHQUsAH
I+YmMxbIvqp7aHl+DzH136QCXekcNhTsw2YZ4hW6Qccj0OKAopA=
=edk8
-----END PGP SIGNATURE-----
------------=_1775309857-5622-55--