Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1027798

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

From gregor herrmann <gregoa@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#971784: libconfig-model-dpkg-perl: cme should not warn on "unknown dh-sequence-nodejs package"
Date 2020-10-07 17:00 +0200
Message-ID <AXj57-7Uk-3@gated-at.bofh.it> (permalink)
References <AXd9p-4jv-11@gated-at.bofh.it> <AXd9p-4jv-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#971784: libconfig-model-dpkg-perl: cme should not warn on "unknown dh-sequence-nodejs package" Xavier Guimard <yadd@debian.org> - 2020-10-07 10:40 +0200
  Bug#971784: libconfig-model-dpkg-perl: cme should not warn on "unknown dh-sequence-nodejs package" gregor herrmann <gregoa@debian.org> - 2020-10-07 17:00 +0200
    Bug#971784: libconfig-model-dpkg-perl: cme should not warn on "unknown dh-sequence-nodejs package" Xavier <yadd@debian.org> - 2020-10-07 17:00 +0200
      Bug#971784: libconfig-model-dpkg-perl: cme should not warn on "unknown dh-sequence-nodejs package" Xavier <yadd@debian.org> - 2020-10-07 17:10 +0200
    Bug#971784: libconfig-model-dpkg-perl: cme should not warn on "unknown dh-sequence-nodejs package" Dominique Dumont <dod@debian.org> - 2020-10-11 17:10 +0200

csiph-web