pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jon Erdman <jon.erdman@bluetreble.com>
To: Markus Wanner <markus@bluegap.ch>
Cc: Christoph Berg <myon@debian.org>
Cc: David Wheeler <david@justatheory.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Jim Nasby <Jim.Nasby@BlueTreble.com>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Cc: pollux@debian.org
Subject: Re: pgtap in our apt repo
Date: Tue, 26 May 2015 16:09:49 -0500
Message-ID: <20150526160949.54f857d5d5c86fd3c95426f3@bluetreble.com> (raw)
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>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

On Tue, 26 May 2015 22:26:58 +0200
Markus Wanner <markus@bluegap.ch> 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 <jon.erdman@bluetreble.com>
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



view thread (18+ messages)  latest in thread

Message-ID: <20150526160949.54f857d5d5c86fd3c95426f3@bluetreble.com>
Permalink:  ../20150526160949.54f857d5d5c86fd3c95426f3@bluetreble.com/
Also on:    postgresql.org/message-id/20150526160949.54f857d5d5c86fd3c95426f3@bluetreble.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-pkg-debian@postgresql.org
  Cc: jon.erdman@bluetreble.com, markus@bluegap.ch, myon@debian.org, david@justatheory.com, dimitri@2ndquadrant.fr, magnus@hagander.net, Jim.Nasby@BlueTreble.com, pollux@debian.org
  Subject: Re: pgtap in our apt repo
  In-Reply-To: <20150526160949.54f857d5d5c86fd3c95426f3@bluetreble.com>
  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> <20150526160949.54f857d5d5c86fd3c95426f3@bluetreble.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