Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aM0rJ-0007ER-MR for pgsql-jdbc@arkaria.postgresql.org; Wed, 20 Jan 2016 22:04:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aM0rJ-0006sW-6D for pgsql-jdbc@arkaria.postgresql.org; Wed, 20 Jan 2016 22:04:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aM0rI-0006s3-GG for pgsql-jdbc@postgresql.org; Wed, 20 Jan 2016 22:04:08 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aM0rD-0006c3-0h for pgsql-jdbc@postgresql.org; Wed, 20 Jan 2016 22:04:05 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id E8DDBBACD6; Wed, 20 Jan 2016 22:03:58 +0000 (UTC) Received: from nb.usersys.redhat.com (ovpn-200-16.brq.redhat.com [10.40.200.16]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0KM3utg025372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Jan 2016 17:03:57 -0500 From: Pavel Raiskup To: Vladimir Sitnikov Cc: Pavel Kajaba , Stephen Nelson , List , Dave Cramer Subject: Re: Step towards being able to build on Linux (Pull request #435) Date: Wed, 20 Jan 2016 23:03:55 +0100 Message-ID: <3005692.uK5na4TWyJ@nb.usersys.redhat.com> User-Agent: KMail/4.14.10 (Linux/4.3.3-300.fc23.x86_64; KDE/4.14.14; x86_64; ; ) In-Reply-To: References: <6045600.JFAR3lIjCJ@nb.usersys.redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On Wednesday 20 of January 2016 18:18:16 Vladimir Sitnikov wrote: > >I'm asking you - as Java hacker - how this is > >_normally_ done. > > Maven profile. See [1]. Thanks. > >That is unlucky .. who should I ask? At least adding new dependency is > >big issue every committer should take into account. I'm not sure about > >licensing too -- and thats why we can't provide jdbc with osgi support. > > Frankly speaking, I've no idea how that is usually managed. > It looks like pgjdbc does not force to sign CLAs when accepting patches. > > I'm not sure why you pay so much attention to osgi while completely > ignore the fact that pgjdbc includes lots of contributions (from > random people) itself. Contributing to project with "PostgreSQL" license is clear; using it is clear either. As a user, I can trust you (== software provider) that the code you provide is really "PostgreSQL" licensed -- on distribution level we must properly check/review that this is truth, but that is fine. (hard) dependency on randomly licenced project OTOH can make otherwise perfectly well licenced open source project unusable for me as open-source user. What would be worse: Two dependencies on two proprietary licenses might make the project (legally) unusable. At least as far as I understand. That is why the licensing is important from user's perspective, and why SW providers should be aware of that POV. > The osgi jars in question are licensed under Apache 2.0. > jcp is Apache 2.0 as well. IANAL, but Apache 2.0 is fine license if we *have* the right source code (which is not guaranteed by Apache 2.0 itself, neither osgi, afaik), but again - IANAL. Do we have source? But to other point -- if I understand it right, only some kind of API for "jar-file" propagation in osgi-capable system is used. Is this too candidate for opt-out in maven profile? That would simplify things. > >Yes, we do manual reviews. By "software binary blob" I meant code > >(which can be executed) which may, e.g., infect my machine. > > I do not want to stretch that, but I wonder if you call "sql statement > inside a java code" a "software binary blob" "which can be executed in > backend" and "infect the machine via integer overflow or whatever". It is source code; thus (if not obfuscated) nobody is blocked from looking at the code and decide whether that "is"/"is not" malicious software. Or whether it has compatible license. Pre-compiled software is not human readable usually, similarly obfuscated code -- so that I meant by "binary". > I mean: what if I convert osgi.jar into a java file into a form of some > select statements? Would it heal your case? That sounds like obfuscation. If you converted the osgi.jar file into properly licensed SQL source code, that it would be probably fine :). > > Pavel sent you an approach. Except the testsuite issue? > > Yes. Without a testcase I cannot understand what that commit is trying > to accomplish. We try to move one dependency from 'hard' => 'optional', because that is hard-to-get-into-linux (the right way). But sounds fair, as I understand it right -- in Travis is something like Ubuntu environment, right? There should be easy to remove '*.jar' (which is redundant anyway) file to make such test. Thanks Vladimir for the answer, Pavel -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc