Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YxMFz-00029j-8h for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 26 May 2015 21:19:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YxMFy-0006iW-Oj for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 26 May 2015 21:19:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YxM6k-0002pm-Sm for pgsql-pkg-debian@postgresql.org; Tue, 26 May 2015 21:09:55 +0000 Received: from mail-bn1bon0095.outbound.protection.outlook.com ([157.56.111.95] helo=na01-bn1-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YxM6h-0007ug-FO for pgsql-pkg-debian@postgresql.org; Tue, 26 May 2015 21:09:53 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jon.erdman@bluetreble.com; Received: from stuck.thewickedtribe.net (70.117.99.100) by SN1PR11MB0477.namprd11.prod.outlook.com (25.162.104.14) with Microsoft SMTP Server (TLS) id 15.1.172.22; Tue, 26 May 2015 21:09:48 +0000 Date: Tue, 26 May 2015 16:09:49 -0500 From: Jon Erdman To: Markus Wanner CC: Christoph Berg , David Wheeler , Dimitri Fontaine , Magnus Hagander , Jim Nasby , "PostgreSQL in Debian" , Subject: Re: pgtap in our apt repo Message-ID: <20150526160949.54f857d5d5c86fd3c95426f3@bluetreble.com> In-Reply-To: <5564D712.4080706@bluegap.ch> References: <20150524112636.83d050151cf11cec43bd7245@bluetreble.com> <20150525141858.GA7668@msg.df7cb.de> <20150525124340.c433938b989715f091c8a519@bluetreble.com> <20150525124642.9d618a056a540395279c38ea@bluetreble.com> <20150525135518.4ceacdf62cbecab69b53f9f2@bluetreble.com> <20150525190341.GB10483@msg.df7cb.de> <5564D712.4080706@bluegap.ch> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [70.117.99.100] X-ClientProxiedBy: SN1PR15CA0006.namprd15.prod.outlook.com (25.163.200.16) To SN1PR11MB0477.namprd11.prod.outlook.com (25.162.104.14) X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR11MB0477; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:SN1PR11MB0477; BCL:0; PCL:0; RULEID:; SRVR:SN1PR11MB0477; X-Forefront-PRVS: 0588B2BD96 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(377424004)(24454002)(199003)(54534003)(377454003)(51704005)(189002)(479174004)(77156002)(62966003)(81156007)(4001540100001)(5001860100001)(87976001)(50226001)(97736004)(36756003)(50466002)(86362001)(46102003)(23726002)(2950100001)(105586002)(92566002)(68736005)(230783001)(189998001)(122386002)(53416004)(40100003)(93886004)(101416001)(5001830100001)(5001960100002)(64706001)(66066001)(110136002)(46406003)(50986999)(76176999)(42186005)(106356001)(33646002)(47776003)(69596002)(19580405001)(19580395003)(100306002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR11MB0477; H:stuck.thewickedtribe.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: bluetreble.com does not designate permitted sender hosts) X-OriginatorOrg: bluetreble.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2015 21:09:48.4797 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR11MB0477 X-Pg-Spam-Score: -3.0 (---) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org On Tue, 26 May 2015 22:26:58 +0200 Markus Wanner wrote: > On 05/25/2015 09:03 PM, Christoph Berg wrote: > > For an arch:all package you could stuff all extensions into a single > > package and make symlinks for the duplicated files. I've done that for > > ... *search disk* ... pgagent. > > Interesting.. just a couple days ago I started to work on PGAPT-ing > pgtap as well. As with other packages before, I think the hardest part > is to make the Makefile VPATH aware. I intend to file a patch upstream, > soon-ish. Next step: autopkgtesting. > > Regarding packaging: I don't think there's enough flesh to warrant a > -common package, as the per-Pg-package weigh in at around 90K. I'm > considering a separate -doc package, though. (Barely heavier, either.) > > Also note that pgtap already is in Debian (well, has been). I contacted > the current maintainer (Pierre Chifflier AKA pollux), but didn't get > feedback on how he prefers me to contribute. Pierre? Markus, did you notice that I took the existing deb-src package (0.90.0) from debian, and used uupdate to pull in the 0.95.1 source and rebuild against 9.4 on Ubuntu 14.04? In fact, I'll forward all of you the message now. It worked fine, so we shouldn't need to create our own. All we need to do is decide if this existing package should try to put the extension files automagically in all expected locations for all installed versions (not fool-proof), or instead make pgtap-9.1 -9.2, etc. packages built against (and requiring each version of pg) which I think is the more correct thing to do. One since source package, that ala skytools, builds a .deb for each version of pg it detects as installed on the build host automagically. The contents of the one I built look like this: jon@stuck:~/debs$ dpkg-deb -c pgtap_0.95.1-0ubuntu1_all.deb drwxr-xr-x root/root 0 2015-05-25 14:22 ./ drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/ drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/share/ drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/share/postgresql/ drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/share/postgresql/9.4/ drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/ -rw-r--r-- root/root 298473 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap--0.95.0.sql -rw-r--r-- root/root 183173 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap-schema--0.95.0.sql -rw-r--r-- root/root 54374 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap--0.91.0--0.92.0.sql -rw-r--r-- root/root 16657 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap--0.94.0--0.95.0.sql -rw-r--r-- root/root 115279 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap-core--0.95.0.sql -rw-r--r-- root/root 5504 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap--0.93.0--0.94.0.sql -rw-r--r-- root/root 177 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap.control -rw-r--r-- root/root 47343 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap--unpackaged--0.91.0.sql -rw-r--r-- root/root 20921 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap--0.92.0--0.93.0.sql -rw-r--r-- root/root 731 2015-05-25 14:22 ./usr/share/postgresql/9.4/extension/pgtap--0.90.0--0.91.0.sql drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/share/doc/ drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/share/doc/postgresql-doc-9.4/ drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/share/doc/postgresql-doc-9.4/extension/ -rw-r--r-- root/root 45898 2015-05-25 14:22 ./usr/share/doc/postgresql-doc-9.4/extension/pgtap.mmd.gz drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/share/doc/pgtap/ -rw-r--r-- root/root 1332 2011-06-11 09:40 ./usr/share/doc/pgtap/copyright -rw-r--r-- root/root 1231 2015-05-25 14:22 ./usr/share/doc/pgtap/changelog.Debian.gz -rw-r--r-- root/root 45898 2015-05-25 14:22 ./usr/share/doc/pgtap/pgtap.mmd.gz drwxr-xr-x root/root 0 2015-05-25 14:22 ./usr/bin/ jon@stuck:~/debs$ > Myon: Am I correct that PGAPT needs a git repo to fetch from? Or can we > handle other sources, there? > > Regards > > Markus Wanner -- Jon Erdman Sr. Data Engineer, Blue Treble Solutions, LLC 312.285.6735 -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian