pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Raiskup <praiskup@redhat.com>
To: Vitalii Tymchyshyn <vit@tym.im>
Cc: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: List <pgsql-jdbc@postgresql.org>
Cc: Álvaro Hernández <aht@8kdata.com>
Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
Date: Mon, 25 Jan 2016 14:39:17 +0100
Message-ID: <1824264.YrnNmxtVlj@nb.usersys.redhat.com> (raw)
In-Reply-To: <CABWW-d3UuuJs9And15UY-OYYe7p-+bpKqNZfkTy3qE2OAhgQ8g@mail.gmail.com>
References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com>
	<3418176.cfZ4OWS2WZ@nb.usersys.redhat.com>
	<CABWW-d3UuuJs9And15UY-OYYe7p-+bpKqNZfkTy3qE2OAhgQ8g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On Monday 25 of January 2016 13:17:41 Vitalii Tymchyshyn wrote:
> Well, most of enterprise backend servers run on linux. Most are on
> commercial, like RedHat or Suse. As of OSGI, it's supported by Fedora (with
> Felix packages), it's just not very up to date. And PostgreSQL uses quite
> recent features. As I already noted, osgi-enterprise can be replaced with
> OPS4J package if there are OSSing problems with org.osgi.

ACK here.  There are (or were) people which cared about Felix packages.
This might change, but it should not block redistribution of JDBC.  It is
really natural to have conditional dependencies.

> Also I suppose other projects are somehow patched because they don't
> usually use felix packages.

What projects do you mean here?  Maybe we can learn from them, somehow.

> One more thing: as for me it would be confusing to have not
> fully-featured driver distributed without being marked somehow.

Right, then we can probably discuss how to Linux specific builds somehow.
There must be a way?
Side note:  Vitalii, as you sort of trust maven repositories, you are fine
to use (online) 'maven install', then you'll get a lot of dead code (in
fully featured build) on Linux, but anyway -- you are fine.  Some
enterprise users however trust Linux distributors and for them can be
maven repository insecure.

Pavel

> E.g. user trying to use it would be surprised why osgi datasource
> registration does not work in some environment.
> 
> Best regards, Vitalii Tymchyshyn
> 
> Пн, 25 січ. 2016 07:55 Pavel Raiskup <praiskup@redhat.com> пише:
> 
> > On Monday 25 of January 2016 15:50:33 Vladimir Sitnikov wrote:
> > > Pavel>I also don't see the primary source -- is this osgi.enterprise code
> > > Pavel>expected to be freely redistributed?
> > >
> > > I am not going to redistribute it.
> > > Are you?
> >
> > That is exactly what I do not want ;).
> >
> > > I suggest just use the existing sources (that are available at Maven
> > > Central).
> >
> > How?
> >
> > > Pavel>Are they using OSGi enterprise somehow on Linux?
> >
> > > They use OSGi, they run on Linux somehow => they are using OSGI on Linux
> > > somehow.
> >
> > This is important question -- do they require maven?  If yes, it is
> > orthogonal set of issues.
> >
> > > Pavel> OSGi compiled in pgjdbc.jar provided by RPMs?
> > >
> > > OSGi allows to isolate services and providers. OpenHAB project has
> > > chosen OSGi for dependency management, thus they rely on database
> > > services that OSGi provides.
> > > Someone choses *.rpm, someone choses *.deb. Same thing here: someone
> > > choses OSGi to manage dependencies & components & services.
> >
> > Sounds like RPMs should not depend on OSGi, same as OSGi does not depend
> > on RPMs.
> >
> > > Pavel>Why OpenHAB needs us
> > > Pavel>to compile OSGi in?
> > >
> > > osgi-enabled pgjdbc.jar is useful for applications that rely on OSGi.
> > > non-osgi-enabled pgjdbc.jar is useless for those kind of applications.
> >
> > But OSGi is not on our platform, at least at this time.  So how can they
> > use jar from our RPMs?
> >
> > Pavel
> >
> >



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (45+ messages)  latest in thread

Message-ID: <1824264.YrnNmxtVlj@nb.usersys.redhat.com>
Permalink:  ../1824264.YrnNmxtVlj@nb.usersys.redhat.com/
Also on:    postgresql.org/message-id/1824264.YrnNmxtVlj@nb.usersys.redhat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: praiskup@redhat.com, vit@tym.im, sitnikov.vladimir@gmail.com, aht@8kdata.com
  Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
  In-Reply-To: <1824264.YrnNmxtVlj@nb.usersys.redhat.com>
  References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com> <3418176.cfZ4OWS2WZ@nb.usersys.redhat.com> <CABWW-d3UuuJs9And15UY-OYYe7p-+bpKqNZfkTy3qE2OAhgQ8g@mail.gmail.com> <1824264.YrnNmxtVlj@nb.usersys.redhat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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