Bug#1125967: libconfig-model-dpkg-perl: cme can add "Priority: optional"
gregor herrmann
gregoa at debian.org
Sun Jan 25 01:27:17 GMT 2026
On Sat, 24 Jan 2026 10:32:50 +0100, Dominique Dumont wrote:
>> Or, put differently, what's the difference
>> between them in your idea?
>
>With "fix", cme decides what needs to be modified to fix warnings. For dpkg, this
>depends on the content of dpkg model.
>
>With "modify", the modification is decided by user. This command is intended to
>be used with arguments to actually modify dpkg files. For instance:
>
> cme modify dpkg-control source Maintainer="Foo <foo at debian.org>"
>
>The fact that some minor modification like reformat, migration of deprecated
>values (e.g. Priority extra changed to optional) is a side effect.
>
>Another less known command is "cme migrate" which is equivalent to "cme modify
>-save" (barring a bug which will be fixed with cme 1.044)
Thanks for taking the time to explain!
>> >I'll have to think about it.
>> No hurry, I understand this is complicated, and it's just a minor
>> thing.
>Another possibility is to change dpkg model so that:
>- by default priority is unchanged (no default value, no upstream default
>value)
>- when Standard-Version is >= 4.7.3 , a warning is emitted when Priority is
>set to optional with a fix to remove this value.
>
>I don't like this option because it may be confusing for "cme edit dpkg"
>users: the GUI will not show any hint on Priority's default value and user
>will get a warning when Priority is set to "optional" even if it is a legal
>value. IMHO, a warning should not be issued for a harmless value.
Agreed.
>> - for the time being, bumping the S-V (with sed etc.) before the call
>> to `cme modify dpkg-control -save`, then the latter shouldn't add a
>> removed Priority:optional back.
>Or you can do the same with :
>cme modify dpkg-control source StandardsVersion=4.7.3
>or
>cme run update-standards-version
Well yes, but this also reformats d/control, which I wanted to keep
in a separate step :)
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
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20260125/3c420009/attachment.sig>
More information about the pkg-perl-maintainers
mailing list