Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1art8U-0008Jm-Qs for pgsql-jdbc@arkaria.postgresql.org; Sun, 17 Apr 2016 20:17:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1art8U-0006RH-6x for pgsql-jdbc@arkaria.postgresql.org; Sun, 17 Apr 2016 20:17:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1art7z-0005tg-4J for pgsql-jdbc@postgresql.org; Sun, 17 Apr 2016 20:17:07 +0000 Received: from mail-db3on0056.outbound.protection.outlook.com ([157.55.234.56] helo=emea01-db3-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1art7u-0000H7-SM for pgsql-jdbc@postgresql.org; Sun, 17 Apr 2016 20:17:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gloomberg.onmicrosoft.com; s=selector1-chrullrich-net; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9i8iyYYvXepkn1mX3p/2Ku3PrCT5lFj7IbrPl38gC64=; b=a/B+qvtynMYQYCxSbJjzIHhonXsGCdMp06+Yak2kU9NBdtkQwn+RYzVJCp4NE5OFaQs74WXI2PdgmCNb8ykR5pVUI0CIPnReU8iVdTV6FBtJUIgdIL3NbdGENxh/kBVARyySVy0CqItMuw9LZqUERocUGRUzswNDkZltak6pEPA= Authentication-Results: postgresql.org; dkim=none (message not signed) header.d=none;postgresql.org; dmarc=none action=none header.from=chrullrich.net; Received: from [IPv6:2003:51:ab7e:5c01:784c:8fbb:a677:663] (2003:51:ab7e:5c01:784c:8fbb:a677:663) by AM2PR06MB0690.eurprd06.prod.outlook.com (10.161.19.14) with Microsoft SMTP Server (TLS) id 15.1.453.26; Sun, 17 Apr 2016 20:16:58 +0000 Subject: Re: Support waffle>1.7.4 To: Craig Ringer References: CC: "pgsql-jdbc@postgresql.org" From: Christian Ullrich Message-ID: <5713EF2E.7040206@chrullrich.net> Date: Sun, 17 Apr 2016 22:16:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [2003:51:ab7e:5c01:784c:8fbb:a677:663] X-ClientProxiedBy: HE1PR02CA0081.eurprd02.prod.outlook.com (10.163.170.49) To AM2PR06MB0690.eurprd06.prod.outlook.com (10.161.19.14) X-MS-Office365-Filtering-Correlation-Id: 2153e475-0aa7-4009-64c2-08d366fd3af3 X-Microsoft-Exchange-Diagnostics: 1;AM2PR06MB0690;2:P13MFre9whYdPQU1zYswBKUduCB+RW/TnXtU7WihVO1YLH5RmhGrrl0esdfClQ0fktnF389PTkK2LJh6P05WQwMEgKhQ+MwleGOu30HjDquYn8LgpjcMI+JZaV9THZNdOEOfxezb/2yG6k46D9YuiPcW5C/TjzlKlPmd21i/Y0pzL008X8COkPsIrMtpe7C4;3:Mf+cXXn2lWYjT9pZerQ8BHNps+bY8SxSAkIC9Of7NgPdhsiUcBIZnVfOTfLo5rLLqdLiAHq2mMuZHCL8Ox2n5aqrV1PNTSOF/QnygJSwWZlPQydlzLimAUSUR/ZfnGOV;25:4mueLzs00t1DEBvmAd7W2j3vV3ydZ6d/GC55juJcRzJqngNM4DPrCCNEgL/rZF53Py/COrBQ35xLVIWhmq+tC1T6R9xXRsdRwCCJ0huqgwV/lIu9uBD+7jbo0BsoCAlYk256nFSxfGBmyoGRyn/+uD5Qqm2839h1Zhq8Ep0N8KhGzsc9UQfZz554DHzs5KcCrAVTu3cYpdk6Am1TuUcSo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LXD7VCfMrg92v0coVvva6niib79Qwss3SHMbJ+RTkkVb+coVG+zbMPyA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(9101521026)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:AM2PR06MB0690;BCL:0;PCL:0;RULEID:;SRVR:AM2PR06MB0690; X-Forefront-PRVS: 0915875B28 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(24454002)(110136002)(50986999)(4326007)(54356999)(76176999)(87266999)(33656002)(5008740100001)(65816999)(64126003)(19580405001)(42186005)(6116002)(586003)(4001350100001)(80316001)(189998001)(2906002)(1096002)(19580395003)(86362001)(81166005)(47776003)(230700001)(92566002)(5004730100002)(23676002)(83506001)(36756003)(65806001)(59896002)(2950100001)(65956001)(50466002)(77096005);DIR:OUT;SFP:1101;SCL:1;SRVR:AM2PR06MB0690;H:[IPv6:2003:51:ab7e:5c01:784c:8fbb:a677:663];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTJQUjA2TUIwNjkwOzIzOkxoNGNiR3VvQ1RpemFzTmxncm5Cc25lSDRn?= =?utf-8?B?NUpXSVZHbjVkcU5SWHNWbXJhMzVHYmlpT1JCT2xITFNIaTZ4bEpSb3NxZVZC?= =?utf-8?B?VHRYUlEvWjFxUHBkTkdWb3V4TzU2cG9PWlB6U3pKSVZzVG5hRW1ZeU13bk1U?= =?utf-8?B?cnI0NS93RDZ4Wlo2dTZZSjNEMkVLSExuU1VBU1QydDVlbXB5eFJsN0M2bGdB?= =?utf-8?B?RmNjNmdKTGVZNVNSY0dQeXVDK0hHUFlSOEZNNUtrbjBkQUZ4UmhQWFhsTGxK?= =?utf-8?B?ckRSZVBRWmhZVFFFT1hwUU5KeGhaWkk3SnNvR0VCRlAvTHgvYmFoUUZlNzJr?= =?utf-8?B?MlV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ERY?= =?utf-8?B?MzlJb2ZFN3RsREo5NDZTNUplK2NycGtFWHJ1a3ZtRHBoNGVVSG9JelA2WEEx?= =?utf-8?B?Skl4c1FUZ1lueUZqVzVrRk9EdmNSV0gxR1F4bEljaUM0R0c0NHNzeEwvNmkv?= =?utf-8?B?VEdyV2xjSlpKSDhuaUlvZVV3RXJjbFBUeFNiWFZRPT0=?= X-Microsoft-Exchange-Diagnostics: 1;AM2PR06MB0690;5:jOz2Rm2smfG+Bb/lB4sPhmq45jUHrnRfDsvsuzdZCsUJdVllY4F/Qkw+imJ8R5qMIBAv0YcMBCVd0xrBFMwD4jtubm3oxLf9GDY11xp98cB4O4d8T8n5IPpaurT9JGp+7lo7BPXu1mXF52KsMRfdoQ==;24:WKTS43L9lIj72RUEqlrzpFy+qzZOKv2ATbhFA5XyvxFaP9SFUXN+pK25drvNuTMay6AqUjwt5R4nehYb37bfGkIyoYxej8h3i+RhcbhbzxE= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: chrullrich.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2016 20:16:58.7566 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR06MB0690 X-Pg-Spam-Score: -1.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 * Craig Ringer wrote: > On 13 April 2016 at 01:51, Christian Ullrich > wrote: > other direction. Last November, waffle-jna 1.7.5 was released, > containing an incompatible API change that is also present in all > released 1.8 versions. The fix is simple; as far as the code goes, > it is a one-line patch. What incantations may be required on the > Maven side, I do not know. > > The API change was made as part of fixing a handle leak [1]. > > Applying this patch raises the minimum required waffle version to > 1.7.5 or 1.8.0. > > Looks sensible to me, it just requires a pom.xml update to bump the > required waffle version along with it. > > I'm on hols this week but will try to get it sorted out next week. > Christian, if you send a github pull that passes tests and updates the > pom.xml I'll just merge it directly instead. Sorry. I'd be happy to do *that*, but it looks like that's not all there is to it. It would be easy if the waffle version was set in pgjdbc's pom.xml itself, but instead it references a property from the parent (pgjdbc-versions, or possibly pgjdbc-core-parent, because apparently you have to change it in both places before the build actually starts caring). My current theory is that I'd have to somehow remove the property from -core-parent (for reasons of sanity), then change it in -versions, bump the version of -versions itself, track that change in -core-parent, put both in the local Maven repository to fake a release, then update the version of -versions referenced in pgjdbc so it picks them up, massage the environment until the tests actually pass, and then send three pull requests, against three repositories, to effectively remove 12 bytes and change one more; three pull requests, of course, the merging of each of which individually breaks the build. () The alternative: Do nothing for a week. I think I'll pick the second one, thank you. -- Christian -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc