RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Limiting package Name: field to explicit character set

From: Michael Jennings <mej@kainx.org>
Date: Tue 06 Jan 2009 - 20:21:07 CET
Message-ID: <20090106192107.GD733@kainx.org>
On Monday, 05 January 2009, at 11:53:34 (-0500),
Jeff Johnson 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:?

Our packaging policy, and what I thought was in keeping with
traditionally-espoused RPM/RedHat/whatever philosophy, is to keep Name
the same as the tarball name.  This leaves a lot of room for uppercase
letters, colons, percent signs, carots, and other symbols as people
try to get more and more clever about their naming (as will ultimately
be necessary once folks realize you can only say "bundle of functions"
in so many ways, and the lib* and *Kit namespaces fill to capacity).

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej@kainx.org>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "The last time I checked, the Constitution said, 'of the people, by
  the people, and for the people.'  That's what the Declaration of
  Independence says."  -- President Bill Clinton, criticizing anti-
  government rhetoric during campaign  (The quote is actually from
  Lincoln's Gettysburg Address.)
Received on Tue Jan 6 20:21:08 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.