[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#473761: [PROPOSAL] debconf specification should allow underscores in template names



Package: debian-policy
Version: 3.7.3.0
Severity: wishlist

The debconf specification says that (/-separated) template name
components are limited to alphanumerics, '+', '-', and '.'. However, d-i
and I suspect many other packages also use '_' extensively. As a debconf
and cdebconf co-maintainer I can say that there's no harm in doing so,
and that this should be allowed.

Patch against current policy.git attached.

I'm seeking seconds for this proposal.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]
diff --git a/debconf_spec/debconf_specification.xml b/debconf_spec/debconf_specification.xml
index 1690f76..ef8da7d 100644
--- a/debconf_spec/debconf_specification.xml
+++ b/debconf_spec/debconf_specification.xml
@@ -139,8 +139,8 @@
 	So, what do we need to store in a variable template? Of course we
 	need a name to identify the template. Template names are made up of
 	components separated by the character `/' (slash).
-	Each component is limited to alphanumerics and `+' `-' `.'
-	(plus, minus, full stop).
+	Each component is limited to alphanumerics and `+' `-' `.' `_'
+	(plus, minus, full stop, underscore).
       </para>
       <para>
         A type is also needed so data can be verified. Here is a table

Attachment: signature.asc
Description: Digital signature


Reply to: