Bug#1149950: libconfig-model-dpkg-perl: Accept alternate capitalization for bug-control fields

Dominique Dumont domi.dumont at free.fr
Mon Oct 5 18:19:41 BST 2026


On Sun, 4 Oct 2026 20:34:42 +0200 Jeremy Bícha <jbicha at debian.org> wrote:
> Meanwhile, it would be helpful if cme would accept
> input in both styles even if it normalizes towards the currently
> documented capitalization format.

ok, let's go for lower case. This change is easy:

diff --git a/lib/Config/Model/models/Dpkg/BugFiles/Control.pl b/lib/Config/Model/models/Dpkg/BugFiles/Control.pl
index fa445315..a294b6a3 100644
--- a/lib/Config/Model/models/Dpkg/BugFiles/Control.pl
+++ b/lib/Config/Model/models/Dpkg/BugFiles/Control.pl
@@ -69,7 +69,8 @@ See L<README.developers|https://anonscm.debian.org/cgit/reportbug/reportbug.git/
       'auto_delete' => '1',
       'backend' => 'IniFile',
       'config_dir' => 'debian',
-      'file' => '&index(-).bug-control'
+      'file' => '&index(-).bug-control',
+      'force_lc_key' => '1'
     }
   }
 ]

Forcing Camel-Case will be more challenging as it will require a modification on Config::Model::Backend::IniFile.

I'll cross that bridge when we get to it.

All the best
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20261005/a380fb01/attachment.sig>


More information about the pkg-perl-maintainers mailing list