#1111292 libconfig-model-dpkg-perl: Does not know about the `debian/control` fields

#1111292#5
Date:
2025-08-16 14:31:43 UTC
From:
To:
Hi

The `debian/control` file contains the some fields that `cme` does not
know about and causes them to be re-ordered to the bottom of the stanza
when `cme` writes the file. The fields I noticed are:

  * Build-Driver (Source)

  * X-DH-Compat (Source)


There is some documentation for them at:

https://salsa.debian.org/debian/debputy/-/blob/main/src/debputy/lsp/data/deb822_data/debian_control_reference_data.yaml?ref_type=heads

(That link also have all the fields I know about for `debian/control`,
feel free check for other fields missing in that file or `cme`)

Best regards,
Niels

#1111292#10
Date:
2025-08-18 14:11:12 UTC
From:
To:
This one is surprising. IIUC the doc you mention, this field can only have one
value (debian-rules) which is the default value. Is that correct ?

I can add this field, but I don't see the point.

ok, so we are migrating from a file (debian/compat) to a field in debian/
control. Which means debian/compat is now deprecated.

I'm worried if this is enforced on package using old compat version. what
happens then ?

All the best

#1111292#15
Date:
2025-08-26 16:47:54 UTC
From:
To:
Anyway, I've added this field.

But I cannot find this field in  [1]. Where is it documented ?

All the best

[1] https://salsa.debian.org/debian/debputy/-/blob/main/src/debputy/lsp/data/deb822_data/debian_control_reference_data.yaml?ref_type=heads

#1111292#20
Date:
2025-08-26 18:00:08 UTC
From:
To:
Hi, :)

Sorry, I did not get your first reply, so I did not see your follow up
until now.

Dominique Dumont:

The documentation lists only its default,  not an exhaustive list.

The field is used to load a Perl Module and there is currently a second
value (`debputy`) provided you have `debputy` installed. But like with
`dh` sequence add-ons, more modules could appear in the future.

Thanks.

Thanks for catching that. That is an oversight from me. The
`X-DH-Compat` field is a replacement for `debian/compat`. I will add it
shortly.

Best regards,
Niels

#1111292#25
Date:
2025-08-27 15:55:01 UTC
From:
To:
I've now found it, but the "Package" stanza.

I believe it should be in the "Source" stanza.

HTH

#1111292#30
Date:
2025-08-27 16:35:14 UTC
From:
To:
Dominique Dumont:

Thanks for noticing. I have fixed that as well.

Best regards,
Niels

#1111292#35
Date:
2025-08-27 17:38:28 UTC
From:
To:
Given that source/compat and X-DH-Compat are seldom used, I won't try to
implement a migration scheme in cme. I'll let user deal with this.

Other news, I've added lot of fields and cme now features (in theory) all fields
handled by debputy.

All the best.

#1111292#40
Date:
2025-09-01 11:43:08 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libconfig-model-dpkg-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1111292@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Dumont <dod@debian.org> (supplier of updated libconfig-model-dpkg-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 30 Aug 2025 17:24:26 +0200
Source: libconfig-model-dpkg-perl
Architecture: source
Version: 3.015
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Dominique Dumont <dod@debian.org>
Closes: 1107170 1111291 1111292 1111391
Changes:
 libconfig-model-dpkg-perl (3.015) unstable; urgency=medium
 .
   * grant by-file: handle empty dist.ini files.
     Thanks to Walter Lozano for the report (Closes: #1107170)
   * Backend: sort unknown fields on read (Closes: #1111291)
   * Dpkg backend: use style like wrap-and-sort -ast
   * control:
     * reformated by cme
     * dropped old version constraints in dependencies
   * control model:
     * set Priority upstream_default to optional (Closes: #1111391)
     * move Standards-Version in the beginning of the field list.
     * add Build-Driver field
     * add doc for "Essential" field
     * add Bugs and Origin fields
     * add X-Cargo-Crate and X-Style fields
     * add Source Synopsis and Description fields
     * add X-Important and Protected binary field
     * setup migration from X-Important to Protected field
     * add XB-Installer-Meny-Item binary field
     * add X-DH-Build-For-Type and X-Time64-Compat binary fields
     * add X-DhRuby-Root binary field
     * add X-DH-Compat source field (Closes: 1111292)
     * re-order elements in a more logical order
Checksums-Sha1:
 62aa5f211026653156a98a6aa57d364e41256a14 3051 libconfig-model-dpkg-perl_3.015.dsc
 38a8e3ff91b58b379ca194a2c6ef15846c9d02ca 493932 libconfig-model-dpkg-perl_3.015.tar.xz
 98d7d8c43a1e6be029274dfd29fed056844f95c9 6130 libconfig-model-dpkg-perl_3.015_source.buildinfo
Checksums-Sha256:
 b761d2c3881a426d391febd2a2b67d1b8e205829f41f35e3fd900de510d1dfcb 3051 libconfig-model-dpkg-perl_3.015.dsc
 3b325e3d60a234fa25e4a7f0b090805157ba6e5ab74f200b033b8f2a842ec428 493932 libconfig-model-dpkg-perl_3.015.tar.xz
 fb5682cd7862484c678997d8d5f30dd6f75e5ce6aa99ba90a40bb75df02be2b1 6130 libconfig-model-dpkg-perl_3.015_source.buildinfo
Files:
 6a609553ca04842cfb3d38f72818fb1d 3051 perl optional libconfig-model-dpkg-perl_3.015.dsc
 2114f64760ec064529f0d4f87cf294d4 493932 perl optional libconfig-model-dpkg-perl_3.015.tar.xz
 8ca7c790c62c31a06dd19712e5515226 6130 perl optional libconfig-model-dpkg-perl_3.015_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEn3I5/LZk8Qsz6dwDwx9P2UmrK2wFAmi1fBsPHGRvZEBkZWJp
YW4ub3JnAAoJEMMfT9lJqytsqJ8QAJi8KcCTeVlHlawAOB+VZ9C5Yeo9cslhVFEO
Y2CCf7yc3s+R/qXO/9Ja/g53NCMSbadE/TXF9tUu/fj3Wv4nDNaqPbsTsJaDX3ES
PYoDb0sDbLULYb1VpaJaAfvChbaxF7fHjQacTU/MS6fJwIYsMRz3yhGW1M2B8Gjy
OCN2N/ppsLnVvSSa4NlFNlzmrYdTP62HmuOXz/4ckYchHQTIq9yMD9N29+PMPPQv
D/24HKvNb6SZ+rsO7wJynncu0cbiOY0wzA187rfBndwRX8JyVtNXPKpJ6T13fjxW
K/sNxGabh+HvFHqjqlEeTOmVudJPWdHkEI9NOhEXxgLSaqX3Evj3UDxQDqAlOCvL
sob6ZjsuGt+mw2ppkANOEEpkQE2K6EX+/E6by05ite69BPrYlksuxGdjjwm3FJ0L
mx0+mLkmp6UZSWfKb8Xym5JzNEtDcMXGMwlzSH+BlUGFe83bYaQalnsr4oNt7pmz
HmydLyIUpSXRMaDDcVrThnCY1hh/Dp581tB7YXdly1eS7ufh12LIucbkKcjUj6lB
NM7Dgra5iDe1LTj/Hj4kdzgfzdMe+l0OECV8OkQQUdF/xUKfWqHEZBbTrOuheuuG
a15D+0QPI9LWPb60MST1qjFIqOT2VigsuRKTRtU2N3CB4YIwfW1PMRrgMOCNZBF+
K+SNo3OA
=Ozkd
-----END PGP SIGNATURE-----