Bug#971784: libconfig-model-dpkg-perl: cme should not warn on "unknown dh-sequence-nodejs package"

gregor herrmann gregoa at debian.org
Wed Oct 7 15:49:30 BST 2020


On Wed, 07 Oct 2020 10:32:42 +0200, Xavier Guimard wrote:

> Since all dh-sequence-* build dependencies are virtual packages, cme
> should ignore related warnings.

Right, the handling of dh-sequence-* could be improved.

Currently it's an array of static entries in lib/Config/Model/Dpkg/Dependency.pm
(@virtual_list) which is then converted into a hash which is then
checked to exclude warnings. Maybe adding a regexp to

        if ( @res == 0 and not $virtual_hash{$pkg}) {   

would be enough? Like (untested pseudo-code)

    … and $pkg =! /^dh-sequence-.+/

(and removing the list of dh-sequence-* packages from @virtual_list)


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
   `-   NP: Bettina Wegner: die rose
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20201007/974dad28/attachment.sig>


More information about the pkg-perl-maintainers mailing list