FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 11-12-2010, 05:47 PM
Michel Alexandre Salim
 
Default Prefix for database add-on packages?

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.

Thanks,

--
Michel Alexandre Salim
Fedora Project Contributor: http://fedoraproject.org/

Email: salimma@fedoraproject.org | GPG key ID: 78884778
Jabber: hircus@jabber.ccc.de | IRC: hircus@irc.freenode.net

() ascii ribbon campaign - against html e-mail
/ www.asciiribbon.org - against proprietary attachments

--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 11-12-2010, 05:54 PM
Rex Dieter
 
Default Prefix for database add-on packages?

On 11/12/2010 12:47 PM, Michel Alexandre Salim wrote:
> 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.

I think a case could be made for an exception, yes (though our
guidelines don't explicitly mention the postgresql/pg case yet).

-- Rex
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 11-12-2010, 06:15 PM
Tom Lane
 
Default Prefix for database add-on packages?

Michel Alexandre Salim <salimma@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.

regards, tom lane
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 11-12-2010, 06:20 PM
Viji V Nair
 
Default Prefix for database add-on packages?

On Sat, Nov 13, 2010 at 12:45 AM, Tom Lane <tgl@redhat.com> wrote:
> Michel Alexandre Salim <salimma@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.

As Michel said there are many packages in the repo starts with
postgresql-*, all of them are not a part of the actual postgresql. Eg:
postgresql-pgpool

We need to correct them as well, if possible


>
> I don't see anything much wrong with "pgrouting" as the package name.
>
> * * * * * * * * * * * *regards, tom lane
> --
> packaging mailing list
> packaging@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
>

Thanks
Viji
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 11-12-2010, 07:17 PM
"Tom "spot" Callaway"
 
Default Prefix for database add-on packages?

On 11/12/2010 02:15 PM, Tom Lane wrote:
> Michel Alexandre Salim <salimma@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
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 11-13-2010, 02:25 PM
Michel Alexandre Salim
 
Default Prefix for database add-on packages?

On Sat, 13 Nov 2010 00:50:08 +0530, Viji V Nair wrote:

> On Sat, Nov 13, 2010 at 12:45 AM, Tom Lane <tgl@redhat.com> wrote:
>> 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.
>
> As Michel said there are many packages in the repo starts with
> postgresql-*, all of them are not a part of the actual postgresql. Eg:
> postgresql-pgpool
>
> We need to correct them as well, if possible
>
Yup. pgRouting also provides rules for doing Debian packages, but there
does not appear to be any official Debian release yet:

http://packages.debian.org/search?
keywords=pgrouting&searchon=all&suite=all&section= all

so we don't have to follow their postgresql-X.Y-pgrouting naming. In any
case, the Debian situation is probably different enough, in that they
have several PostgreSQL versions (like we have two Python stacks) and
parallel-installable PostgreSQL-dependent packages have to be prefixed to
avoid confusion.

In this case I'd defer to Tom as both a PostgreSQL developer and a Red
Hat employee

Thanks,

--
Michel Alexandre Salim
Fedora Project Contributor: http://fedoraproject.org/

--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 11-15-2010, 07:23 PM
Devrim GÜNDÜZ
 
Default Prefix for database add-on packages?

On Fri, 2010-11-12 at 14:15 -0500, Tom Lane wrote:
>
> 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.

+1.

Also, FWIW, I've been maintaining PgRouting in PostgreSQL RPM repository
already, and I'm using pgrouting there.

Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 05:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org