RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Limiting package Name: field to explicit character set

From: Per Řyvind Karlsen <pkarlsen@rpm5.org>
Date: Mon 05 Jan 2009 - 18:13:36 CET
Message-ID: <534660c60901050913l4084cfe8je17f8d72515e3911@mail.gmail.com>
2009/1/5 Wichmann, Mats D <mats.d.wichmann@intel.com>

> rpm-devel-owner@rpm5.org wrote:
> > This off-hand comment regarding Mandriva DUDF -> CUDF
> > translation needed by the Mancoosi project reminds me
> > of a design mis-feature in RPM:
> >
> >> - package names: they should match the naming convention we
> >> discussed, i.e., only lowercase characters, numbers, dashes or
> >> pluses [1] or dots (see section 3.2.2 of D5.1, and in particular the
> >> definition of type "pkgname")
> >
> > With the possible addition of '_', that is an unsuprising set
> > of characters to limit package Name: fields to explicitly (i.e.
> > cause rpmbuild to fail with characters not in the permitted set).
> >
> > Its really silly that consensus on an obvious "standard" needs
> > to be attempted for RPM in 2009 imho. But better late than never ...
> >
> > Are there any objections if I limit the characters permitted in Name:?
> >
> > 73 de Jeff
>
> Well, there sure are a lot of current packages out there
> with uppercase characters in the name....

This limitation sounds good to me, I think many distributions out there
has policies on lower case names only, ie. we have in Mandriva (even
though it's not always followed by some:/).
I still have a concern about compatibility issues though..
Received on Mon Jan 5 18:13:37 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.