Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way

Felix Lechner felix.lechner at lease-up.com
Fri Dec 4 05:42:33 GMT 2020


Hi,

> On Saturday, 8 August 2020 23:40:51 CEST gregor herrmann wrote:
> > I think having the data provided by debian-policy (in the package,
> > and maybe-for other purposes-also on the website) would be an
> > excellent idea, thanks for the offer.

Please have a look at this commit. It explains how to mitigate
expected upcoming breakage in your package.

   https://salsa.debian.org/lintian/lintian/-/commit/d2f692f564ac725a0eb58a7d62abe57f66cdc753

Please load the policy data with:

    my $data = $profile->load_data(...);

instead of

    my $data = Lintian::Data->new(...);

That is a temporary fix; the interface is scheduled to change again in
the near future. Thank you!

Kind regards
Felix Lechner



More information about the pkg-perl-maintainers mailing list