pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
jar naming consitency
5+ messages / 4 participants
[nested] [flat]

* jar naming consitency
@ 2005-02-04 18:07  Manuel Sugawara <masm@fciencias.unam.mx>
  0 siblings, 1 reply; 5+ messages in thread

From: Manuel Sugawara @ 2005-02-04 18:07 UTC (permalink / raw)
  To: pgsql-jdbc

Hi!

I'd like to see consistency in the jars naming, for instance, in the
change between 310 and 309:

postgresql-8.0-310.jdbc2.jar
              ^
postgresql-8.0.309.jdbc2.jar
              ^

Having consistency makes easier others process that depends on the
jars as RPM packing.

Regards,
Manuel.



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: jar naming consitency
@ 2005-02-04 18:21  Manuel Sugawara <masm@fciencias.unam.mx>
  parent: Kris Jurka <books@ejurka.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Manuel Sugawara @ 2005-02-04 18:21 UTC (permalink / raw)
  To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc

Kris Jurka <books@ejurka.com> writes:

> We think we've finally hit upon a reasonable convention and do
> intend to stick with it.

Excellent!

Regards,
Manuel.



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: jar naming consitency
@ 2005-02-04 18:22  Kris Jurka <books@ejurka.com>
  parent: Manuel Sugawara <masm@fciencias.unam.mx>
  0 siblings, 2 replies; 5+ messages in thread

From: Kris Jurka @ 2005-02-04 18:22 UTC (permalink / raw)
  To: Manuel Sugawara <masm@fciencias.unam.mx>; +Cc: pgsql-jdbc



On Fri, 4 Feb 2005, Manuel Sugawara wrote:

> I'd like to see consistency in the jars naming, for instance, in the
> change between 310 and 309:
> 
> postgresql-8.0-310.jdbc2.jar
> postgresql-8.0.309.jdbc2.jar
>               ^

This change was intentional to try and indicate that it is build 310 of 
the 8.0 driver series, not something to do with the postgresql minor 
version 310.  Additionally for build 310 the source package name was 
changed postgresql-8.0.309.src.tar.gz to 
postgresql-jdbc-8.0-310.src.tar.gz to try and differentiate it from the 
server as well.  We think we've finally hit upon a reasonable convention 
and do intend to stick with it.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: jar naming consitency
@ 2005-02-04 19:01  Peter Eisentraut <peter_e@gmx.net>
  parent: Kris Jurka <books@ejurka.com>
  1 sibling, 1 reply; 5+ messages in thread

From: Peter Eisentraut @ 2005-02-04 19:01 UTC (permalink / raw)
  To: Kris Jurka <books@ejurka.com>; +Cc: Manuel Sugawara <masm@fciencias.unam.mx>; pgsql-jdbc

Am Freitag, 4. Februar 2005 19:22 schrieb Kris Jurka:
> This change was intentional to try and indicate that it is build 310 of 
> the 8.0 driver series, not something to do with the postgresql minor 
> version 310.

But that would then imply that both releases are the same source, just 
different "builds", i.e., compiled on different occasions from the same 
source.  That is not true.  If you release an altered source code, then it 
should get a new version.

> Additionally for build 310 the source package name was  
> changed postgresql-8.0.309.src.tar.gz to
> postgresql-jdbc-8.0-310.src.tar.gz to try and differentiate it from the
> server as well.  We think we've finally hit upon a reasonable convention
> and do intend to stick with it.

I think it would be preferrable if "jdbc" appeared somewhere in the name.  
There may be other contexts in which a jar appears in relation with 
postgresql.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: jar naming consitency
@ 2005-02-04 19:52  Oliver Jowett <oliver@opencloud.com>
  parent: Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Oliver Jowett @ 2005-02-04 19:52 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: Kris Jurka <books@ejurka.com>; Manuel Sugawara <masm@fciencias.unam.mx>; pgsql-jdbc

Peter Eisentraut wrote:
> Am Freitag, 4. Februar 2005 19:22 schrieb Kris Jurka:
> 
>>This change was intentional to try and indicate that it is build 310 of 
>>the 8.0 driver series, not something to do with the postgresql minor 
>>version 310.
> 
> But that would then imply that both releases are the same source, just 
> different "builds", i.e., compiled on different occasions from the same 
> source.

I don't see why "8.0-310" implies anything different about the source 
used than "8.0.310", beyond making it clear that it is version 310 of 
the 8.0-based driver. "8.0-311" and "8.0.311" are both obviously 
different versions to the corresponding 310 versions. Maybe "build" is 
bad terminology, but it's the terminology that the JDBC driver has been 
using for some time now.

If you rebuild from the same source with different options. I'd expect 
the package to tack on a package version along the lines of 
postgresql-jdbc3-8.0-310-4, etc.

Do you have a better suggestion for making it clear which source is 
being used? We could call it "postgresql-jdbc-stable-310" -- which is 
really what it is -- but then you have the problem that it's not clear 
which "stable" release you should use for a particular server version.

Personally, I'd rather just use subversion and release with a tree 
revision number -- then it's very obvious exactly what source you built 
from -- but I don't see that happening any time soon :)

-O



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2005-02-04 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-02-04 18:07 jar naming consitency Manuel Sugawara <masm@fciencias.unam.mx>
2005-02-04 18:22 ` Kris Jurka <books@ejurka.com>
2005-02-04 18:21   ` Manuel Sugawara <masm@fciencias.unam.mx>
2005-02-04 19:01   ` Peter Eisentraut <peter_e@gmx.net>
2005-02-04 19:52     ` Oliver Jowett <oliver@opencloud.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox