Package: libconfig-model-dpkg-perl
Version: 2.132
Severity: normal

Dear Maintainer,

While getting "author" from package.json the expected values are string or
lists. However some packages like less.js present an object as value.

As an example here is how "author" is declared in less.js

      "author": {
        "name": "Alexis Sellier",
        "email": "s...@cloudhead.net"
      },

So I think it is a good idea to support this by retrieving the value of key
"name" in that case.

I have sent a MR but my perl skills are limited

https://salsa.debian.org/perl-team/modules/packages/libconfig-model-dpkg-
perl/-/merge_requests/3



-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), 
(100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-70-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libconfig-model-dpkg-perl depends on:
ii  debhelper                          12.10ubuntu1
ii  libapt-pkg-perl                    0.1.36build3
ii  libarray-intspan-perl              2.003-1
ii  libconfig-model-backend-yaml-perl  2.133-2
ii  libconfig-model-perl               2.138-2
ii  libexporter-lite-perl              0.08-1
ii  liblog-log4perl-perl               1.49-1
ii  libmouse-perl                      2.5.9-1
ii  libparse-recdescent-perl           1.967015+dfsg-2
ii  libsoftware-licensemoreutils-perl  1.004-1
ii  libsort-versions-perl              1.62-1
ii  libtext-autoformat-perl            1.750000-1
ii  libtext-levenshtein-damerau-perl   0.41-1
ii  liburi-perl                        1.76-2
ii  libwww-perl                        6.43-1
ii  libyaml-libyaml-perl               0.81+repack-1
ii  licensecheck                       3.0.45-1
ii  lintian                            2.62.0
ii  perl [libmodule-corelist-perl]     5.30.0-9ubuntu0.2

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl  1.371-2

libconfig-model-dpkg-perl suggests no packages.

-- no debconf information

Reply via email to