Bug#907410: libconfig-model-dpkg-perl: Missing support for Rules-Requires-Root in control file

Dominique Dumont dod at debian.org
Mon Aug 27 18:35:20 BST 2018


Package: libconfig-model-dpkg-perl
Version: 2.115
Severity: wishlist
Tags: newcomer

Dear Maintainer,

Policy 4.1.5 added support for Rules-Requires-Root root parameter.

This is a simple parameter which is good for a newcomer to learn how
to modify 'cme dpkg'

Suggestion on how to add support for this parameter:
* install cme, libconfig-model-tkui-perl and libconfig-model-itself-perl
* in dpkg repository, run 'cme meta edit'
* open class Dpkg::Control::Source
* open 'element'
* add Rules-Requires-Root parameter and all required fields
  (like type, value_type)
* cut'n'paste doc from debian policy in documentation fields
  (description and help parameters)

The page [1] shows how to add a new parameter to OpenSsh model. Fixing
this bug requires a similar work, to reading this page should be
invaluable to get started.

In case of problem, please call for help on debian-perl mailing list
or on #debian-perl IRC channel.

All the best

[1] https://github.com/dod38fr/config-model/wiki/How-to-add-a-new-parameter-to-an-existing-model




-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libconfig-model-dpkg-perl depends on:
ii  libapt-pkg-perl                              0.1.34
ii  libarray-intspan-perl                        2.003-1
ii  libconfig-model-perl                         2.126-1
ii  libexporter-lite-perl                        0.08-1
ii  liblog-log4perl-perl                         1.49-1
ii  libmouse-perl                                2.5.6-1
ii  libparse-recdescent-perl                     1.967015+dfsg-2
ii  libsoftware-licensemoreutils-perl            1.002-1
ii  libtext-autoformat-perl                      1.740000-2
ii  libtext-levenshtein-damerau-perl             0.41-1
ii  liburi-perl                                  1.74-1
ii  libwww-perl                                  6.35-2
ii  libyaml-perl                                 1.26-1
ii  licensecheck                                 3.0.31-2
ii  lintian                                      2.5.98
ii  perl [libmodule-corelist-perl]               5.26.2-7
ii  perl-modules-5.24 [libmodule-corelist-perl]  5.24.1-7

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl  1.366-1

libconfig-model-dpkg-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list