Package: libconfig-model-dpkg-perl
Severity: minor
X-Debbugs-Cc: [email protected]


Hi,

When `cme fix dpkg-control` is applied to a `debian/control` file with fields that `cme` does not know about, `cme` orders them at the bottom of the stanza (at least for the `Source` stanza). So far so good.

However, the order is not consistent between runs. That is, if you start with a `debian/control` that can be will be reformatted, run `cme fix dpkg-control`, note the field order as O1. Then reset the `debian/control` (git restore -- debian/control), run `cme fix dpkg-control` and note the new field order as O2.

I expected O1 to equal O2, but it does not when there are multiple unknown fields. This can trigger unnecessary edits such as via `routine-update` (which uses `cme fix dpkg-control`).

Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to