pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedHow other package pgjdbc
8+ messages / 4 participants
[nested] [flat]
* How other package pgjdbc
@ 2016-01-25 15:33 Pavel Raiskup <praiskup@redhat.com>
2016-01-26 01:58 ` Re: How other package pgjdbc Álvaro Hernández Tortosa <aht@8kdata.com>
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Raiskup @ 2016-01-25 15:33 UTC (permalink / raw)
To: Dave Cramer <pg@fastcrypt.com>; +Cc: Vitalii Tymchyshyn <vit@tym.im>; Vladimir Sitnikov <sitnikov.vladimir@gmail.com>; pgsql-jdbc; Álvaro Hernández <aht@8kdata.com>
On Monday 25 of January 2016 15:33:18 Pavel Raiskup wrote:
> On Monday 25 of January 2016 08:46:56 Dave Cramer wrote:
> > Well like it or not, spring is arguably the largest enterprise java
> > dependency and it has hundreds if not thousands of dependencies which
> > enterprise users happily download.
>
> I can concur with you, Dave. There are people who are OK with that.
>
> > So I'm not sure how your argument holds water.
>
> Sure. You may choose to force users to use maven everywhere, via not
> allowing us to build from source. But I'm here please you not to do that.
>
> > I would imagine from a redhat perspective redhat is the only trusted
> > source. However this is 2016 and the sheer volume of dependencies
> > modern software requires makes this presumption untenable.
>
> Substitute Red Hat with any Linux, FreeBSD, Solaris etc. distributions.
> All of those are used and trusted. At least nowadays -- making this
> totally off-topic is not worth; I'm just trying to build from source.
>
> Believe it or not -- there are people who do not trust maven repositories
> -- and I'm not sure whether PostgreSQL project should encourage people to
> use maven repositories everywhere. PostgreSQL should be re-distribuable
> everywhere, if possible.
>
> > This argument is not constructive but an attempt to show another point
> > of view.
>
> Ack.
>
> > I have asked to join the osgi-dev list and will ask them how to deal
> > with this issue
>
> Right, but our mission is to distribute pgjdbc, not OSGi (which is
> something osgi-dev will tell you probably). If we could opt-out it, it
> would be fine.
Just a quick observation while trying to convince you that GNU/Linux
distributions do care about pgjdbc package-ability:
Gentoo build scripts:
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1206.eb...
Which is something I'm trying to avoid, but yes -- they were able to
rebase to 1206 thanks to those hacks.
Arch linux has pgjdbc in AUR repository. It means that there is no
support -- the reason is because they do not build from source; they
download the binary from upstream repository.
https://aur.archlinux.org/packages/postgresql-jdbc/
Debian has already been discussed. Way too old packages.
OpenSUSE (9.4.1201):
https://build.opensuse.org/package/view_file/openSUSE:Leap:42.1/postgresql-jdbc/postgresql-jdbc.spec...
Pavel
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: How other package pgjdbc
2016-01-25 15:33 How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
@ 2016-01-26 01:58 ` Álvaro Hernández Tortosa <aht@8kdata.com>
2016-01-26 03:34 ` Re: How other package pgjdbc Vitalii Tymchyshyn <vit@tym.im>
0 siblings, 1 reply; 8+ messages in thread
From: Álvaro Hernández Tortosa @ 2016-01-26 01:58 UTC (permalink / raw)
To: Pavel Raiskup <praiskup@redhat.com>; Dave Cramer <pg@fastcrypt.com>; +Cc: Vitalii Tymchyshyn <vit@tym.im>; Vladimir Sitnikov <sitnikov.vladimir@gmail.com>; pgsql-jdbc
Hi everybody. Top-posting here to avoid getting into finer detail,
providing more general opinion here.
To me the value of having pgjdbc packaged for Fedora/Red Hat, and
having it up to date, is undeniable. So let's find the ways to get it
done :)
Now I don't see productive analyzing one by one whether the
dependencies should be individually packaged or not. This is a very
common problem (or feature, as you may see it) of Java development, and
resolving it on a use-by-use case won't help. This kind of requires a
more general solution.
It is a good question why there are not packages like OSGI in rpm
already packaged. I understand the database team does not want to
maintain such package. What I see here is that there's a significant
"impedance mismatch" between distro packaging and Java. I strongly
believe this is the main reason there are few Java packages in the
distros, not that few users need it. Most Java users that use most Java
programs, in my experience, either download compiled, "fat" JARs (all
dependencies included) or use Maven. Few use pre-packaged distro
software (usually because it's unavailable).
And again, the reason for this is that Java development tends to
include one or several dependencies, and the ecosystem of dependencies
is huge (in my POV greater than any other language ecosystem, and by
far). So we have to consider one of the following two alternatives:
- Take every dependency on any Java software to package (pgjdbc in this
case) and also package it as a separate package. This IMHO might get
crazy with other projects with more dependencies, since that may split
the process into even dozens of packages.
- Take the source of those dependencies, install it locally prior to
package building, and provide all as a single unit.
The first method might be a burden on the packagers and might not
be convenient in many senses. The second one is thus probably the best
one. It might sound terrible if several packages will end up packaging
the same code and not reusing it; but in Java (different apps) this is
hardly a problem (as it is in C with shared libraries).
So I'd suggest to focus on this second approach. Whether we like
OSGI or not, it is a feature of the current driver, and should not be
removed lightly. It diminishes its value. However, I understand that it
may not be packaged individually (more packages to maintain). So mi big
question is:
Can OSGI dependency be pulled -as source, of course- into build
preparation phase, compile locally (mvn install or any alternative mean)
and ship it integrated with the pgjdbc package?
Cheers,
Álvaro
On 25/01/16 16:33, Pavel Raiskup wrote:
> On Monday 25 of January 2016 15:33:18 Pavel Raiskup wrote:
>> On Monday 25 of January 2016 08:46:56 Dave Cramer wrote:
>>> Well like it or not, spring is arguably the largest enterprise java
>>> dependency and it has hundreds if not thousands of dependencies which
>>> enterprise users happily download.
>> I can concur with you, Dave. There are people who are OK with that.
>>
>>> So I'm not sure how your argument holds water.
>> Sure. You may choose to force users to use maven everywhere, via not
>> allowing us to build from source. But I'm here please you not to do that.
>>
>>> I would imagine from a redhat perspective redhat is the only trusted
>>> source. However this is 2016 and the sheer volume of dependencies
>>> modern software requires makes this presumption untenable.
>> Substitute Red Hat with any Linux, FreeBSD, Solaris etc. distributions.
>> All of those are used and trusted. At least nowadays -- making this
>> totally off-topic is not worth; I'm just trying to build from source.
>>
>> Believe it or not -- there are people who do not trust maven repositories
>> -- and I'm not sure whether PostgreSQL project should encourage people to
>> use maven repositories everywhere. PostgreSQL should be re-distribuable
>> everywhere, if possible.
>>
>>> This argument is not constructive but an attempt to show another point
>>> of view.
>> Ack.
>>
>>> I have asked to join the osgi-dev list and will ask them how to deal
>>> with this issue
>> Right, but our mission is to distribute pgjdbc, not OSGi (which is
>> something osgi-dev will tell you probably). If we could opt-out it, it
>> would be fine.
> Just a quick observation while trying to convince you that GNU/Linux
> distributions do care about pgjdbc package-ability:
>
> Gentoo build scripts:
> https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1206.eb...
> Which is something I'm trying to avoid, but yes -- they were able to
> rebase to 1206 thanks to those hacks.
>
> Arch linux has pgjdbc in AUR repository. It means that there is no
> support -- the reason is because they do not build from source; they
> download the binary from upstream repository.
> https://aur.archlinux.org/packages/postgresql-jdbc/
>
> Debian has already been discussed. Way too old packages.
>
> OpenSUSE (9.4.1201):
> https://build.opensuse.org/package/view_file/openSUSE:Leap:42.1/postgresql-jdbc/postgresql-jdbc.spec...
>
> Pavel
>
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: How other package pgjdbc
2016-01-25 15:33 How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 01:58 ` Re: How other package pgjdbc Álvaro Hernández Tortosa <aht@8kdata.com>
@ 2016-01-26 03:34 ` Vitalii Tymchyshyn <vit@tym.im>
2016-01-26 07:13 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
0 siblings, 1 reply; 8+ messages in thread
From: Vitalii Tymchyshyn @ 2016-01-26 03:34 UTC (permalink / raw)
To: Álvaro Hernández Tortosa <aht@8kdata.com>; Pavel Raiskup <praiskup@redhat.com>; Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc; Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Well, first of all you dont need to package osgi classes. Those are the
apis and as soon as you run in the osgi container, they are provided by
container. But you need those to build the driver. And af far as I
understand, there are certain licensing problems to do this, ain't they? I
dont think it's pure packaging problem, e.g. see
https://lists.fedoraproject.org/pipermail/legal/2012-July/001930.html.
Thats why alternative sources of API were proposed.
Best regards, Vitalii Tymchyshyn
Пн, 25 січ. 2016 20:58 Álvaro Hernández Tortosa <aht@8kdata.com> пише:
>
> Hi everybody. Top-posting here to avoid getting into finer detail,
> providing more general opinion here.
>
> To me the value of having pgjdbc packaged for Fedora/Red Hat, and
> having it up to date, is undeniable. So let's find the ways to get it
> done :)
>
> Now I don't see productive analyzing one by one whether the
> dependencies should be individually packaged or not. This is a very
> common problem (or feature, as you may see it) of Java development, and
> resolving it on a use-by-use case won't help. This kind of requires a
> more general solution.
>
> It is a good question why there are not packages like OSGI in rpm
> already packaged. I understand the database team does not want to
> maintain such package. What I see here is that there's a significant
> "impedance mismatch" between distro packaging and Java. I strongly
> believe this is the main reason there are few Java packages in the
> distros, not that few users need it. Most Java users that use most Java
> programs, in my experience, either download compiled, "fat" JARs (all
> dependencies included) or use Maven. Few use pre-packaged distro
> software (usually because it's unavailable).
>
> And again, the reason for this is that Java development tends to
> include one or several dependencies, and the ecosystem of dependencies
> is huge (in my POV greater than any other language ecosystem, and by
> far). So we have to consider one of the following two alternatives:
>
> - Take every dependency on any Java software to package (pgjdbc in this
> case) and also package it as a separate package. This IMHO might get
> crazy with other projects with more dependencies, since that may split
> the process into even dozens of packages.
> - Take the source of those dependencies, install it locally prior to
> package building, and provide all as a single unit.
>
> The first method might be a burden on the packagers and might not
> be convenient in many senses. The second one is thus probably the best
> one. It might sound terrible if several packages will end up packaging
> the same code and not reusing it; but in Java (different apps) this is
> hardly a problem (as it is in C with shared libraries).
>
> So I'd suggest to focus on this second approach. Whether we like
> OSGI or not, it is a feature of the current driver, and should not be
> removed lightly. It diminishes its value. However, I understand that it
> may not be packaged individually (more packages to maintain). So mi big
> question is:
>
> Can OSGI dependency be pulled -as source, of course- into build
> preparation phase, compile locally (mvn install or any alternative mean)
> and ship it integrated with the pgjdbc package?
>
> Cheers,
>
> Álvaro
>
>
>
> On 25/01/16 16:33, Pavel Raiskup wrote:
> > On Monday 25 of January 2016 15:33:18 Pavel Raiskup wrote:
> >> On Monday 25 of January 2016 08:46:56 Dave Cramer wrote:
> >>> Well like it or not, spring is arguably the largest enterprise java
> >>> dependency and it has hundreds if not thousands of dependencies which
> >>> enterprise users happily download.
> >> I can concur with you, Dave. There are people who are OK with that.
> >>
> >>> So I'm not sure how your argument holds water.
> >> Sure. You may choose to force users to use maven everywhere, via not
> >> allowing us to build from source. But I'm here please you not to do
> that.
> >>
> >>> I would imagine from a redhat perspective redhat is the only trusted
> >>> source. However this is 2016 and the sheer volume of dependencies
> >>> modern software requires makes this presumption untenable.
> >> Substitute Red Hat with any Linux, FreeBSD, Solaris etc. distributions.
> >> All of those are used and trusted. At least nowadays -- making this
> >> totally off-topic is not worth; I'm just trying to build from source.
> >>
> >> Believe it or not -- there are people who do not trust maven
> repositories
> >> -- and I'm not sure whether PostgreSQL project should encourage people
> to
> >> use maven repositories everywhere. PostgreSQL should be re-distribuable
> >> everywhere, if possible.
> >>
> >>> This argument is not constructive but an attempt to show another point
> >>> of view.
> >> Ack.
> >>
> >>> I have asked to join the osgi-dev list and will ask them how to deal
> >>> with this issue
> >> Right, but our mission is to distribute pgjdbc, not OSGi (which is
> >> something osgi-dev will tell you probably). If we could opt-out it, it
> >> would be fine.
> > Just a quick observation while trying to convince you that GNU/Linux
> > distributions do care about pgjdbc package-ability:
> >
> > Gentoo build scripts:
> >
> https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1206.eb...
> > Which is something I'm trying to avoid, but yes -- they were able to
> > rebase to 1206 thanks to those hacks.
> >
> > Arch linux has pgjdbc in AUR repository. It means that there is no
> > support -- the reason is because they do not build from source; they
> > download the binary from upstream repository.
> > https://aur.archlinux.org/packages/postgresql-jdbc/
> >
> > Debian has already been discussed. Way too old packages.
> >
> > OpenSUSE (9.4.1201):
> >
> https://build.opensuse.org/package/view_file/openSUSE:Leap:42.1/postgresql-jdbc/postgresql-jdbc.spec...
> >
> > Pavel
> >
>
>
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: How other package pgjdbc
2016-01-25 15:33 How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 01:58 ` Re: How other package pgjdbc Álvaro Hernández Tortosa <aht@8kdata.com>
2016-01-26 03:34 ` Re: How other package pgjdbc Vitalii Tymchyshyn <vit@tym.im>
@ 2016-01-26 07:13 ` Pavel Raiskup <praiskup@redhat.com>
2016-01-26 12:18 ` Re: How other package pgjdbc Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Raiskup @ 2016-01-26 07:13 UTC (permalink / raw)
To: Vitalii Tymchyshyn <vit@tym.im>; +Cc: Álvaro Hernández Tortosa <aht@8kdata.com>; Dave Cramer <pg@fastcrypt.com>; pgsql-jdbc; Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
On Tuesday 26 of January 2016 03:34:00 Vitalii Tymchyshyn wrote:
> Well, first of all you dont need to package osgi classes. Those are the
> apis and as soon as you run in the osgi container, they are provided by
> container. But you need those to build the driver. And af far as I
> understand, there are certain licensing problems to do this, ain't they? I
> dont think it's pure packaging problem, e.g. see
> https://lists.fedoraproject.org/pipermail/legal/2012-July/001930.html.
Thanks, I was not aware of that. This makes clear why people probably
want OSGi enterprise, but it can not live in open source distribution.
I'm not sure, is it safe to depend on it in upstream?
Pavel
> Thats why alternative sources of API were proposed.
>
> Best regards, Vitalii Tymchyshyn
>
> Пн, 25 січ. 2016 20:58 Álvaro Hernández Tortosa <aht@8kdata.com> пише:
>
> >
> > Hi everybody. Top-posting here to avoid getting into finer detail,
> > providing more general opinion here.
> >
> > To me the value of having pgjdbc packaged for Fedora/Red Hat, and
> > having it up to date, is undeniable. So let's find the ways to get it
> > done :)
> >
> > Now I don't see productive analyzing one by one whether the
> > dependencies should be individually packaged or not. This is a very
> > common problem (or feature, as you may see it) of Java development, and
> > resolving it on a use-by-use case won't help. This kind of requires a
> > more general solution.
> >
> > It is a good question why there are not packages like OSGI in rpm
> > already packaged. I understand the database team does not want to
> > maintain such package. What I see here is that there's a significant
> > "impedance mismatch" between distro packaging and Java. I strongly
> > believe this is the main reason there are few Java packages in the
> > distros, not that few users need it. Most Java users that use most Java
> > programs, in my experience, either download compiled, "fat" JARs (all
> > dependencies included) or use Maven. Few use pre-packaged distro
> > software (usually because it's unavailable).
> >
> > And again, the reason for this is that Java development tends to
> > include one or several dependencies, and the ecosystem of dependencies
> > is huge (in my POV greater than any other language ecosystem, and by
> > far). So we have to consider one of the following two alternatives:
> >
> > - Take every dependency on any Java software to package (pgjdbc in this
> > case) and also package it as a separate package. This IMHO might get
> > crazy with other projects with more dependencies, since that may split
> > the process into even dozens of packages.
> > - Take the source of those dependencies, install it locally prior to
> > package building, and provide all as a single unit.
> >
> > The first method might be a burden on the packagers and might not
> > be convenient in many senses. The second one is thus probably the best
> > one. It might sound terrible if several packages will end up packaging
> > the same code and not reusing it; but in Java (different apps) this is
> > hardly a problem (as it is in C with shared libraries).
> >
> > So I'd suggest to focus on this second approach. Whether we like
> > OSGI or not, it is a feature of the current driver, and should not be
> > removed lightly. It diminishes its value. However, I understand that it
> > may not be packaged individually (more packages to maintain). So mi big
> > question is:
> >
> > Can OSGI dependency be pulled -as source, of course- into build
> > preparation phase, compile locally (mvn install or any alternative mean)
> > and ship it integrated with the pgjdbc package?
> >
> > Cheers,
> >
> > Álvaro
> >
> >
> >
> > On 25/01/16 16:33, Pavel Raiskup wrote:
> > > On Monday 25 of January 2016 15:33:18 Pavel Raiskup wrote:
> > >> On Monday 25 of January 2016 08:46:56 Dave Cramer wrote:
> > >>> Well like it or not, spring is arguably the largest enterprise java
> > >>> dependency and it has hundreds if not thousands of dependencies which
> > >>> enterprise users happily download.
> > >> I can concur with you, Dave. There are people who are OK with that.
> > >>
> > >>> So I'm not sure how your argument holds water.
> > >> Sure. You may choose to force users to use maven everywhere, via not
> > >> allowing us to build from source. But I'm here please you not to do
> > that.
> > >>
> > >>> I would imagine from a redhat perspective redhat is the only trusted
> > >>> source. However this is 2016 and the sheer volume of dependencies
> > >>> modern software requires makes this presumption untenable.
> > >> Substitute Red Hat with any Linux, FreeBSD, Solaris etc. distributions.
> > >> All of those are used and trusted. At least nowadays -- making this
> > >> totally off-topic is not worth; I'm just trying to build from source.
> > >>
> > >> Believe it or not -- there are people who do not trust maven
> > repositories
> > >> -- and I'm not sure whether PostgreSQL project should encourage people
> > to
> > >> use maven repositories everywhere. PostgreSQL should be re-distribuable
> > >> everywhere, if possible.
> > >>
> > >>> This argument is not constructive but an attempt to show another point
> > >>> of view.
> > >> Ack.
> > >>
> > >>> I have asked to join the osgi-dev list and will ask them how to deal
> > >>> with this issue
> > >> Right, but our mission is to distribute pgjdbc, not OSGi (which is
> > >> something osgi-dev will tell you probably). If we could opt-out it, it
> > >> would be fine.
> > > Just a quick observation while trying to convince you that GNU/Linux
> > > distributions do care about pgjdbc package-ability:
> > >
> > > Gentoo build scripts:
> > >
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1206.eb...
> > > Which is something I'm trying to avoid, but yes -- they were able to
> > > rebase to 1206 thanks to those hacks.
> > >
> > > Arch linux has pgjdbc in AUR repository. It means that there is no
> > > support -- the reason is because they do not build from source; they
> > > download the binary from upstream repository.
> > > https://aur.archlinux.org/packages/postgresql-jdbc/
> > >
> > > Debian has already been discussed. Way too old packages.
> > >
> > > OpenSUSE (9.4.1201):
> > >
> > https://build.opensuse.org/package/view_file/openSUSE:Leap:42.1/postgresql-jdbc/postgresql-jdbc.spec...
> > >
> > > Pavel
> > >
> >
> >
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: How other package pgjdbc
2016-01-25 15:33 How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 01:58 ` Re: How other package pgjdbc Álvaro Hernández Tortosa <aht@8kdata.com>
2016-01-26 03:34 ` Re: How other package pgjdbc Vitalii Tymchyshyn <vit@tym.im>
2016-01-26 07:13 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
@ 2016-01-26 12:18 ` Dave Cramer <pg@fastcrypt.com>
2016-01-26 13:20 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
0 siblings, 1 reply; 8+ messages in thread
From: Dave Cramer @ 2016-01-26 12:18 UTC (permalink / raw)
To: Pavel Raiskup <praiskup@redhat.com>; +Cc: Vitalii Tymchyshyn <vit@tym.im>; Álvaro Hernández <aht@8kdata.com>; pgsql-jdbc; Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
On 26 January 2016 at 02:13, Pavel Raiskup <praiskup@redhat.com> wrote:
> On Tuesday 26 of January 2016 03:34:00 Vitalii Tymchyshyn wrote:
> > Well, first of all you dont need to package osgi classes. Those are the
> > apis and as soon as you run in the osgi container, they are provided by
> > container. But you need those to build the driver. And af far as I
> > understand, there are certain licensing problems to do this, ain't they?
> I
> > dont think it's pure packaging problem, e.g. see
> > https://lists.fedoraproject.org/pipermail/legal/2012-July/001930.html.
>
> Thanks, I was not aware of that. This makes clear why people probably
> want OSGi enterprise, but it can not live in open source distribution.
>
> I'm not sure, is it safe to depend on it in upstream?
>
The only reason it is bad is that it forbids modification which if you
think about it's purpose makes sense.
It is attempting to provide an agreed upon way to include services into an
enterprise. If everyone modified it how would it work
I don't see the difference between this and JDBC for instance
Dave Cramer
davec@postgresintl.com
www.postgresintl.com
>
>
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: How other package pgjdbc
2016-01-25 15:33 How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 01:58 ` Re: How other package pgjdbc Álvaro Hernández Tortosa <aht@8kdata.com>
2016-01-26 03:34 ` Re: How other package pgjdbc Vitalii Tymchyshyn <vit@tym.im>
2016-01-26 07:13 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 12:18 ` Re: How other package pgjdbc Dave Cramer <pg@fastcrypt.com>
@ 2016-01-26 13:20 ` Pavel Raiskup <praiskup@redhat.com>
2016-01-26 13:49 ` Re: How other package pgjdbc Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Raiskup @ 2016-01-26 13:20 UTC (permalink / raw)
To: Dave Cramer <pg@fastcrypt.com>; +Cc: Vitalii Tymchyshyn <vit@tym.im>; Álvaro Hernández <aht@8kdata.com>; pgsql-jdbc; Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
On Tuesday 26 of January 2016 07:18:27 Dave Cramer wrote:
> On 26 January 2016 at 02:13, Pavel Raiskup <praiskup@redhat.com> wrote:
>
> > On Tuesday 26 of January 2016 03:34:00 Vitalii Tymchyshyn wrote:
> > > Well, first of all you dont need to package osgi classes. Those are the
> > > apis and as soon as you run in the osgi container, they are provided by
> > > container. But you need those to build the driver. And af far as I
> > > understand, there are certain licensing problems to do this, ain't they?
> > I
> > > dont think it's pure packaging problem, e.g. see
> > > https://lists.fedoraproject.org/pipermail/legal/2012-July/001930.html.
> >
> > Thanks, I was not aware of that. This makes clear why people probably
> > want OSGi enterprise, but it can not live in open source distribution.
> >
> > I'm not sure, is it safe to depend on it in upstream?
> >
>
> The only reason it is bad is that it forbids modification which if you
> think about it's purpose makes sense.
This never makes sense in open source world - disagreement here :(. Any
open project could say it makes sense to "protect you" from bad changes.
It is basically ugly closed-source -- because "good" open source licenses
try to protect you users from vendor lock-in -- and osgi.enterprise
basically is vendor lock-in:
consider that you are not able to build osgi.enterprise because java
changes a bit (system dep changes a bit), etc. -- then you are locked
in state of waiting for new upstream release or reimplement
This is not acceptable, unfortunately.
> It is attempting to provide an agreed upon way to include services into
> an enterprise. If everyone modified it how would it work
The license is not good tool to guarantee this.
> I don't see the difference between this and JDBC for instance
IANAL, but to me this makes it incompatible with other free licenses that
*requires* you to keeping the source modifiable?
Pavel
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: How other package pgjdbc
2016-01-25 15:33 How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 01:58 ` Re: How other package pgjdbc Álvaro Hernández Tortosa <aht@8kdata.com>
2016-01-26 03:34 ` Re: How other package pgjdbc Vitalii Tymchyshyn <vit@tym.im>
2016-01-26 07:13 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 12:18 ` Re: How other package pgjdbc Dave Cramer <pg@fastcrypt.com>
2016-01-26 13:20 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
@ 2016-01-26 13:49 ` Dave Cramer <pg@fastcrypt.com>
2016-01-26 14:23 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
0 siblings, 1 reply; 8+ messages in thread
From: Dave Cramer @ 2016-01-26 13:49 UTC (permalink / raw)
To: Pavel Raiskup <praiskup@redhat.com>; +Cc: Vitalii Tymchyshyn <vit@tym.im>; Álvaro Hernández <aht@8kdata.com>; pgsql-jdbc; Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
On 26 January 2016 at 08:20, Pavel Raiskup <praiskup@redhat.com> wrote:
> On Tuesday 26 of January 2016 07:18:27 Dave Cramer wrote:
> > On 26 January 2016 at 02:13, Pavel Raiskup <praiskup@redhat.com> wrote:
> >
> > > On Tuesday 26 of January 2016 03:34:00 Vitalii Tymchyshyn wrote:
> > > > Well, first of all you dont need to package osgi classes. Those are
> the
> > > > apis and as soon as you run in the osgi container, they are provided
> by
> > > > container. But you need those to build the driver. And af far as I
> > > > understand, there are certain licensing problems to do this, ain't
> they?
> > > I
> > > > dont think it's pure packaging problem, e.g. see
> > > >
> https://lists.fedoraproject.org/pipermail/legal/2012-July/001930.html.
> > >
> > > Thanks, I was not aware of that. This makes clear why people probably
> > > want OSGi enterprise, but it can not live in open source distribution.
> > >
> > > I'm not sure, is it safe to depend on it in upstream?
> > >
> >
> > The only reason it is bad is that it forbids modification which if you
> > think about it's purpose makes sense.
>
> This never makes sense in open source world - disagreement here :(. Any
> open project could say it makes sense to "protect you" from bad changes.
>
> It is basically ugly closed-source -- because "good" open source licenses
> try to protect you users from vendor lock-in -- and osgi.enterprise
> basically is vendor lock-in:
>
> consider that you are not able to build osgi.enterprise because java
> changes a bit (system dep changes a bit), etc. -- then you are locked
> in state of waiting for new upstream release or reimplement
>
> This is not acceptable, unfortunately.
>
> > It is attempting to provide an agreed upon way to include services into
> > an enterprise. If everyone modified it how would it work
>
> The license is not good tool to guarantee this.
>
> > I don't see the difference between this and JDBC for instance
>
> IANAL, but to me this makes it incompatible with other free licenses that
> *requires* you to keeping the source modifiable?
>
> My point is that you would not change the JDBC API, even if it was freebsd
licensed as your code would immediately become useless
Same with OSGI, it is meant as a common interface for everyone to be able
to discover services. Breaking the contract by changing the code makes the
code useless IMO
So we are in a bit of a quandry here. I do not think it is the JDBC's
mandate to be acceptable to distros. It is my understanding that much of
the packaging work involves changing projects to that they are compatible
with the distro. Even that is somewhat of a problem since a user would
expect all of the functionality that the JDBC project provides. If the
distro decides to cut pieces out of it the user is going to find that their
code works on X and not on Y environment.
Dave Cramer
davec@postgresintl.com
www.postgresintl.com
> Pavel
>
>
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: How other package pgjdbc
2016-01-25 15:33 How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 01:58 ` Re: How other package pgjdbc Álvaro Hernández Tortosa <aht@8kdata.com>
2016-01-26 03:34 ` Re: How other package pgjdbc Vitalii Tymchyshyn <vit@tym.im>
2016-01-26 07:13 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 12:18 ` Re: How other package pgjdbc Dave Cramer <pg@fastcrypt.com>
2016-01-26 13:20 ` Re: How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 13:49 ` Re: How other package pgjdbc Dave Cramer <pg@fastcrypt.com>
@ 2016-01-26 14:23 ` Pavel Raiskup <praiskup@redhat.com>
0 siblings, 0 replies; 8+ messages in thread
From: Pavel Raiskup @ 2016-01-26 14:23 UTC (permalink / raw)
To: Dave Cramer <pg@fastcrypt.com>; +Cc: Vitalii Tymchyshyn <vit@tym.im>; Álvaro Hernández <aht@8kdata.com>; pgsql-jdbc; Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
On Tuesday 26 of January 2016 08:49:53 Dave Cramer wrote:
> My point is that you would not change the JDBC API, even if it was
> freebsd licensed as your code would immediately become useless
Agreed.
> Same with OSGI, it is meant as a common interface for everyone to be able
> to discover services. Breaking the contract by changing the code makes the
> code useless IMO
Agreed. (By that I mean that it makes not sense to change the API, and it
also makes no sense forcing you to use the code as read-only.)
> So we are in a bit of a quandry here. I do not think it is the JDBC's
> mandate to be acceptable to distros.
No, but you say you are free software (PostgreSQL license under
postgresql.org domain):
| Copyright (c) 1997-2011, PostgreSQL Global Development Group All rights
| reserved.
|
| Redistribution and use in source and binary forms, with or without
| modification, are permitted provided that the following conditions are
^^^^^^^^^^^^
| [skip]
Again, vendor lock-in is really wrong; and *ANY* redistribution of jdbc
now requires software (for build) that is subject of vendor lock-in
issues.
> It is my understanding that much of the packaging work involves changing
> projects to that they are compatible with the distro.
No :(. Not "much of the" packaging work -- usually there are no problems
with packaging (at least as far as I'm concerned in Fedora).
But yes, we do submit patches (or discuss before we submit patches) which
is usually good thing for upstream, too.
> Even that is somewhat of a problem since a user would expect all of the
> functionality that the JDBC project provides.
I am claiming all the time that distro users do not expect that
functionality in question -- and if yes, they always can use maven if they
are OK with that.
That's why I think the "core" functionality should stay FOSS, as it used
to be for very, very long time. OSGi support would be fine to have
optionally as separate jar wrapper (or something like that) -- I do agree
that is useful feature for osgi.enterprise users.
> If the distro decides to cut pieces out of it the user is going to find
> that their code works on X and not on Y environment.
This is different question, but yes -- the software is provided supported
for concrete environment usually. But that is normal -- on proprietary OS
you also expect issues if you migrate from version N to version N+1.
Pavel
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2016-01-26 14:23 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-01-25 15:33 How other package pgjdbc Pavel Raiskup <praiskup@redhat.com>
2016-01-26 01:58 ` Álvaro Hernández Tortosa <aht@8kdata.com>
2016-01-26 03:34 ` Vitalii Tymchyshyn <vit@tym.im>
2016-01-26 07:13 ` Pavel Raiskup <praiskup@redhat.com>
2016-01-26 12:18 ` Dave Cramer <pg@fastcrypt.com>
2016-01-26 13:20 ` Pavel Raiskup <praiskup@redhat.com>
2016-01-26 13:49 ` Dave Cramer <pg@fastcrypt.com>
2016-01-26 14:23 ` Pavel Raiskup <praiskup@redhat.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