[Fedora-packaging] Prefix for database add-on packages?

Tom "spot" Callaway tcallawa at redhat.com
Fri Nov 12 20:17:29 UTC 2010


On 11/12/2010 02:15 PM, Tom Lane wrote:
> Michel Alexandre Salim <salimma at fedoraproject.org> writes:
>> I'm currently reviewing pgRouting:
>> https://bugzilla.redhat.com/show_bug.cgi?id=652533
> 
>> the packager is currently using "postgresql-pgrouting" as the name, which 
>> is alright but a bit long. There does not seem to be a policy for naming
>> DB add-ons yet (though I see a couple of postgresql-* packages).
> 
>> Would the same policy applied as to, say, the Python add-ons? e.g.
>> "if the name starts with [pP]y then you don't need the python- prefix".
> 
>> In this case, "pg" would clearly indicate that it's to be used with 
>> PostgreSQL.
> 
> Please do NOT give it a name starting with "postgresql-".  That would
> cause great confusion because people couldn't tell which RPMs originate
> with postgresql itself and which originate from other packages.
> 
> I don't see anything much wrong with "pgrouting" as the package name.

There is no formal policy in this space, so it is up to the package
maintainers to use their best judgement when naming the package. The
guidelines say:

When naming a package, the name should match the upstream tarball or
project name from which this software came. In some cases, this naming
choice may be more complicated. If this package has been packaged by
other distributions/packagers in the past, then you should try to match
their name for consistency. In any case, try to use your best judgement,
and other developers will help in the final decision.

https://fedoraproject.org/wiki/Packaging/NamingGuidelines#General_Naming

~spot


More information about the packaging mailing list