pg.ddx.io pgsql-pkg-debian@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: pgtap in our apt repo
18+ messages / 4 participants
[nested] [flat]
* Re: pgtap in our apt repo
@ 2015-05-25 18:44 ` Christoph Berg <myon@debian.org>
1 sibling, 0 replies; 18+ messages in thread
From: Christoph Berg @ 2015-05-25 18:44 UTC (permalink / raw)
To: Magnus Hagander <magnus@hagander.net>; +Cc: Jon Erdman <jon.erdman@bluetreble.com>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Jim Nasby <Jim.Nasby@bluetreble.com>; pgsql-pkg-debian
Re: Magnus Hagander 2015-05-25 <CABUevEzjbawgb_5UtiDuS8gyV3HsG5ERmybvkJNp0RDMSnQ_VA@mail.gmail.com>
> On May 25, 2015 6:56 PM, "Jon Erdman" <jon.erdman@bluetreble.com> wrote:
> >
> > On Mon, 25 May 2015 11:31:16 -0500
> > Jim Nasby <Jim.Nasby@BlueTreble.com> wrote:
> >
> > > My $0.02: it probably makes more sense to find a way to teach pgxn
> > > client about pg_cluster & friends and then let people use that to
> > > install PGXN packages.
> >
> > Jim,
> >
> > I don't think that will ever be an accepted (or really viable) solution
> for OSes that use their own package management systems. Think of them mess
> you get into if you let CPAN install a bunch of crap onto your linux box.
> You really really really want your native pkg manager to handle for obvious
> reasons (like OS version upgrades, single list of what's installed, etc).
> >
> > I do like pgxn, but for *nix clones, since they actually *have* sensible
> package management, should always strive to use their own.
>
> +morethanyoucanimagine...
>
> I've fought myself out of those cpan messes more times than I'd like to
> remember, it's really the last resort when all else fails only.
>
> However.
>
> If we could somehow make a reasonable build script that would basically
> take a pgxn package and turn it into a deb or rpm or whatnot with minimum
> effort that would be excellent. Or even just templates for how to do it.
>
> I'm not sure the pgxn format is expressive enough to allow that though -
> does it contain enough data to do something like that?
[Adding the mailing list]
I've thought about writing a dh-make-pgxn (-pgxs?) helper more than
once in the past, but in the end it wouldn't do much more than
producing a bunch of files like under "EXAMPLE" in the pg_buildext
manpage. Plus the fact that most extensions do require some messing
to make the regression tests pass, so the process wouldn't be totally
automatic.
The other idea would be a dh_pgbuildext helper that would hook into
dh(1) to do these build steps. (With the same problem that many
extensions would require at least some manual tweaks.)
If someone actually gives these ideas a try, let me know.
Christoph
--
cb@df7cb.de | http://www.df7cb.de/
Attachments:
signature.asc (application/pgp-signature, 818B) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
@ 2015-05-25 19:03 ` Christoph Berg <myon@debian.org>
2015-05-25 19:26 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 20:26 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
1 sibling, 2 replies; 18+ messages in thread
From: Christoph Berg @ 2015-05-25 19:03 UTC (permalink / raw)
To: Jon Erdman <jon.erdman@bluetreble.com>; +Cc: David Wheeler <david@justatheory.com>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@BlueTreble.com>; pgsql-pkg-debian
Re: Jon Erdman 2015-05-25 <20150525135518.4ceacdf62cbecab69b53f9f2@bluetreble.com>
>
> .deb (binary-indep) built against 9.4, and deb-src attached.
>
> The problem here is that this package is set up to only work against one pg version at a time. We'll need to change that...probably by appending -9.x to the package version and making multiple debs :(
>
> Anyone have a better idea?
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.
Christoph
--
cb@df7cb.de | http://www.df7cb.de/
Attachments:
signature.asc (application/pgp-signature, 818B) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
@ 2015-05-25 19:26 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 17:21 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
1 sibling, 1 reply; 18+ messages in thread
From: Jon Erdman @ 2015-05-25 19:26 UTC (permalink / raw)
To: Christoph Berg <myon@debian.org>; +Cc: David Wheeler <david@justatheory.com>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@BlueTreble.com>; pgsql-pkg-debian
On Mon, 25 May 2015 21:03:41 +0200
Christoph Berg <myon@debian.org> wrote:
> > Anyone have a better idea?
>
> 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.
Problem is, I'm not *certain* the .sql files in the extensions dir really are version agnostic. I'd have to build it for 9.1-4 and compare them.
--
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
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-25 19:26 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
@ 2015-05-26 17:21 ` David E. Wheeler <david@justatheory.com>
2015-05-26 18:29 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 18:57 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
0 siblings, 2 replies; 18+ messages in thread
From: David E. Wheeler @ 2015-05-26 17:21 UTC (permalink / raw)
To: Jon Erdman <jon.erdman@bluetreble.com>; +Cc: Christoph Berg <myon@debian.org>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@BlueTreble.com>; pgsql-pkg-debian
On May 25, 2015, at 12:26 PM, Jon Erdman <jon.erdman@bluetreble.com> wrote:
> Problem is, I'm not *certain* the .sql files in the extensions dir really are version agnostic. I'd have to build it for 9.1-4 and compare them.
They are not. Notably, the pg_version() function gets the version added to it by configure. Other than that, you can see how the files vary by version by looking at the patches in compat. There are patches for 8.0-9.0, but not since 9.0. If you’re only on 9.1 or above, only pg_version() changes.
Best,
David
Attachments:
smime.p7s (application/pkcs7-signature, 4.0K) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-25 19:26 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 17:21 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
@ 2015-05-26 18:29 ` Jon Erdman <jon.erdman@bluetreble.com>
1 sibling, 0 replies; 18+ messages in thread
From: Jon Erdman @ 2015-05-26 18:29 UTC (permalink / raw)
To: David E. Wheeler <david@justatheory.com>; +Cc: Christoph Berg <myon@debian.org>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@bluetreble.com>; pgsql-pkg-debian
Cool, I'll see if I can use make install to try to put then in all extensions dies that exist.
Sent on a Sprint Samsung Galaxy Note® 3
-------- Original message --------
From: "David E. Wheeler" <david@justatheory.com>
Date: 05/26/2015 12:21 PM (GMT-06:00)
To: Jon Erdman <jon.erdman@bluetreble.com>
Cc: Christoph Berg <myon@debian.org>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, Magnus Hagander <magnus@hagander.net>, Jim Nasby <Jim.Nasby@bluetreble.com>, PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: pgtap in our apt repo
On May 25, 2015, at 12:26 PM, Jon Erdman <jon.erdman@bluetreble.com> wrote:
> Problem is, I'm not *certain* the .sql files in the extensions dir really are version agnostic. I'd have to build it for 9.1-4 and compare them.
They are not. Notably, the pg_version() function gets the version added to it by configure. Other than that, you can see how the files vary by version by looking at the patches in compat. There are patches for 8.0-9.0, but not since 9.0. If you’re only on 9.1 or above, only pg_version() changes.
Best,
David
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-25 19:26 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 17:21 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
@ 2015-05-26 18:57 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 19:06 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
1 sibling, 1 reply; 18+ messages in thread
From: Jon Erdman @ 2015-05-26 18:57 UTC (permalink / raw)
To: David E. Wheeler <david@justatheory.com>; +Cc: Christoph Berg <myon@debian.org>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@bluetreble.com>; pgsql-pkg-debian
Hmm, what about in the future though? I think it might be better to go like skytools and have a common + per version package (for the extension sql). That assumes there's anything to go into a -common pkg...
Sent on a Sprint Samsung Galaxy Note® 3
-------- Original message --------
From: "David E. Wheeler" <david@justatheory.com>
Date: 05/26/2015 12:21 PM (GMT-06:00)
To: Jon Erdman <jon.erdman@bluetreble.com>
Cc: Christoph Berg <myon@debian.org>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, Magnus Hagander <magnus@hagander.net>, Jim Nasby <Jim.Nasby@bluetreble.com>, PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: pgtap in our apt repo
On May 25, 2015, at 12:26 PM, Jon Erdman <jon.erdman@bluetreble.com> wrote:
> Problem is, I'm not *certain* the .sql files in the extensions dir really are version agnostic. I'd have to build it for 9.1-4 and compare them.
They are not. Notably, the pg_version() function gets the version added to it by configure. Other than that, you can see how the files vary by version by looking at the patches in compat. There are patches for 8.0-9.0, but not since 9.0. If you’re only on 9.1 or above, only pg_version() changes.
Best,
David
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-25 19:26 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 17:21 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
2015-05-26 18:57 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
@ 2015-05-26 19:06 ` David E. Wheeler <david@justatheory.com>
2015-05-27 04:30 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
0 siblings, 1 reply; 18+ messages in thread
From: David E. Wheeler @ 2015-05-26 19:06 UTC (permalink / raw)
To: Jon Erdman <jon.erdman@bluetreble.com>; +Cc: Christoph Berg <myon@debian.org>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@bluetreble.com>; pgsql-pkg-debian
On May 26, 2015, at 11:57 AM, Jon Erdman <jon.erdman@bluetreble.com> wrote:
> Hmm, what about in the future though? I think it might be better to go like skytools and have a common + per version package (for the extension sql). That assumes there's anything to go into a -common pkg...
I don’t understand what you’re asking me. :-(
D
Attachments:
smime.p7s (application/pkcs7-signature, 4.0K) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-25 19:26 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 17:21 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
2015-05-26 18:57 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 19:06 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
@ 2015-05-27 04:30 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 05:11 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
0 siblings, 1 reply; 18+ messages in thread
From: Jon Erdman @ 2015-05-27 04:30 UTC (permalink / raw)
To: David E. Wheeler <david@justatheory.com>; +Cc: Christoph Berg <myon@debian.org>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@bluetreble.com>; pgsql-pkg-debian
On Tue, 26 May 2015 12:06:11 -0700
"David E. Wheeler" <david@justatheory.com> wrote:
> On May 26, 2015, at 11:57 AM, Jon Erdman <jon.erdman@bluetreble.com> wrote:
>
> I don’t understand what you’re asking me. :-(
I was asking if there might ever be a point at which there *would* be per-version differences and therefore per-version packaging would be better. I think it's the way to go, honestly.
--
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
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-25 19:26 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 17:21 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
2015-05-26 18:57 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 19:06 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
2015-05-27 04:30 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
@ 2015-05-27 05:11 ` David E. Wheeler <david@justatheory.com>
0 siblings, 0 replies; 18+ messages in thread
From: David E. Wheeler @ 2015-05-27 05:11 UTC (permalink / raw)
To: Jon Erdman <jon.erdman@bluetreble.com>; +Cc: Christoph Berg <myon@debian.org>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@bluetreble.com>; pgsql-pkg-debian
On May 26, 2015, at 9:30 PM, Jon Erdman <jon.erdman@bluetreble.com> wrote:
> I was asking if there might ever be a point at which there *would* be per-version differences and therefore per-version packaging would be better. I think it's the way to go, honestly.
That’s how the RedHat RPMs are cut.
David
Attachments:
smime.p7s (application/pkcs7-signature, 4.0K) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
@ 2015-05-26 20:26 ` Markus Wanner <markus@bluegap.ch>
2015-05-26 21:09 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 21:18 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
1 sibling, 2 replies; 18+ messages in thread
From: Markus Wanner @ 2015-05-26 20:26 UTC (permalink / raw)
To: Christoph Berg <myon@debian.org>; Jon Erdman <jon.erdman@bluetreble.com>; David Wheeler <david@justatheory.com>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@BlueTreble.com>; pgsql-pkg-debian; pollux@debian.org
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?
Myon: Am I correct that PGAPT needs a git repo to fetch from? Or can we
handle other sources, there?
Regards
Markus Wanner
Attachments:
signature.asc (application/pgp-signature, 1.5K) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-26 20:26 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
@ 2015-05-26 21:09 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 05:29 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
1 sibling, 1 reply; 18+ messages in thread
From: Jon Erdman @ 2015-05-26 21:09 UTC (permalink / raw)
To: Markus Wanner <markus@bluegap.ch>; +Cc: Christoph Berg <myon@debian.org>; David Wheeler <david@justatheory.com>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@BlueTreble.com>; pgsql-pkg-debian; pollux@debian.org
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
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-26 20:26 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-26 21:09 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
@ 2015-05-27 05:29 ` Markus Wanner <markus@bluegap.ch>
2015-05-27 15:07 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
0 siblings, 1 reply; 18+ messages in thread
From: Markus Wanner @ 2015-05-27 05:29 UTC (permalink / raw)
To: Jon Erdman <jon.erdman@bluetreble.com>; +Cc: Christoph Berg <myon@debian.org>; pgsql-pkg-debian; pollux@debian.org
Jon,
On 05/26/2015 11:09 PM, Jon Erdman wrote:
> 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?
No, I just saw this thread and responded, but didn't review any package,
yet.
> In fact, I'll forward all of you the message now. It worked fine, so we shouldn't need to create our own.
Agreed. As I pointed out, I think we should coordinate with the existing
maintainer (and I would hope to migrate the packaging to some kind of
VCS repo).
> 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.
Yes, I think so, too. As David pointed out, the SQL files do not
necessarily match. If we want to go through the effort of de-duplicating
them, we need to be very careful. Let's start simple.
Regards
Markus Wanner
--
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
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-26 20:26 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-26 21:09 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 05:29 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
@ 2015-05-27 15:07 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 19:41 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
0 siblings, 1 reply; 18+ messages in thread
From: Jon Erdman @ 2015-05-27 15:07 UTC (permalink / raw)
To: Markus Wanner <markus@bluegap.ch>; +Cc: Christoph Berg <myon@debian.org>; pgsql-pkg-debian; pollux@debian.org
On Wed, 27 May 2015 07:29:00 +0200
Markus Wanner <markus@bluegap.ch> wrote:
> Agreed. As I pointed out, I think we should coordinate with the existing
> maintainer (and I would hope to migrate the packaging to some kind of
> VCS repo).
FYI From earlier that might not have made it to the mailing list, don't hold your breath about getting a response from the current maintainer:
On Mon, 25 May 2015 16:18:58 +0200
Christoph Berg <myon@debian.org> wrote:
>> The fix is probably simple, but someone needs to do it, and possibly
>> become the new maintainer, Pierre doesn't seem to be interested atm.
>>
>> Christoph
--
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
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-26 20:26 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-26 21:09 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 05:29 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-27 15:07 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
@ 2015-05-27 19:41 ` Markus Wanner <markus@bluegap.ch>
2015-05-27 19:49 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
0 siblings, 1 reply; 18+ messages in thread
From: Markus Wanner @ 2015-05-27 19:41 UTC (permalink / raw)
To: Jon Erdman <jon.erdman@bluetreble.com>; +Cc: Christoph Berg <myon@debian.org>; pgsql-pkg-debian; David E. Wheeler <david@justatheory.com>
On 05/27/2015 05:07 PM, Jon Erdman wrote:
> On Mon, 25 May 2015 16:18:58 +0200
> Christoph Berg <myon@debian.org> wrote:
>
>>> The fix is probably simple, but someone needs to do it, and possibly
>>> become the new maintainer, Pierre doesn't seem to be interested atm.
@Jon: thanks for forwarding.
Regarding Mr. Someone: I just stepped forward and setup the repository here:
http://anonscm.debian.org/gitweb/?p=pkg-postgresql/pgtap.git
It adds proper decoupling for per-Postgres-major-version packages. Given
there's no real "build", I'm not quite sure the vpath-build approach was
the best idea.
@David: could you please have a look at the vpath patch here:
http://anonscm.debian.org/cgit/pkg-postgresql/pgtap.git/tree/debian/patches/vpath.diff
As I mentioned before, autopkgtests are still missing. I'm looking into
it, shortly.
Regards
Markus
Attachments:
signature.asc (application/pgp-signature, 1.5K) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-26 20:26 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-26 21:09 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 05:29 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-27 15:07 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 19:41 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
@ 2015-05-27 19:49 ` David E. Wheeler <david@justatheory.com>
2015-05-27 20:12 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
0 siblings, 1 reply; 18+ messages in thread
From: David E. Wheeler @ 2015-05-27 19:49 UTC (permalink / raw)
To: Markus Wanner <markus@bluegap.ch>; +Cc: Jon Erdman <jon.erdman@bluetreble.com>; Christoph Berg <myon@debian.org>; pgsql-pkg-debian
On May 27, 2015, at 12:41 PM, Markus Wanner <markus@bluegap.ch> wrote:
> @David: could you please have a look at the vpath patch here:
> http://anonscm.debian.org/cgit/pkg-postgresql/pgtap.git/tree/debian/patches/vpath.diff
That looks fine, except for the directories.stamp target, which I don’t understand.
David
Attachments:
smime.p7s (application/pkcs7-signature, 4.0K) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-26 20:26 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-26 21:09 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 05:29 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-27 15:07 ` Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 19:41 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
2015-05-27 19:49 ` Re: pgtap in our apt repo David E. Wheeler <david@justatheory.com>
@ 2015-05-27 20:12 ` Markus Wanner <markus@bluegap.ch>
0 siblings, 0 replies; 18+ messages in thread
From: Markus Wanner @ 2015-05-27 20:12 UTC (permalink / raw)
To: David E. Wheeler <david@justatheory.com>; +Cc: Jon Erdman <jon.erdman@bluetreble.com>; Christoph Berg <myon@debian.org>; pgsql-pkg-debian
On 05/27/2015 09:49 PM, David E. Wheeler wrote:
> On May 27, 2015, at 12:41 PM, Markus Wanner <markus@bluegap.ch> wrote:
>
>> @David: could you please have a look at the vpath patch here:
>> http://anonscm.debian.org/cgit/pkg-postgresql/pgtap.git/tree/debian/patches/vpath.diff
>
> That looks fine, except for the directories.stamp target, which I don’t understand.
I originally intended it to only carry the required 'mkdir' commands.
Then I figured that some .sql files aren't generated, but just expected
to be there, in the sql directory (by some wildcard pattern). To have
them in the build directory, I added the cp line, there, which works for
VPATH builds, but probably not for normal ones. This certainly needs
cleanup. Ideally, we wouldn't need copies at all.
/me puts on his Make-Fu robe.
Regards
Markus
Attachments:
signature.asc (application/pgp-signature, 1.5K) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgtap in our apt repo
2015-05-25 19:03 ` Re: pgtap in our apt repo Christoph Berg <myon@debian.org>
2015-05-26 20:26 ` Re: pgtap in our apt repo Markus Wanner <markus@bluegap.ch>
@ 2015-05-26 21:18 ` Christoph Berg <myon@debian.org>
1 sibling, 0 replies; 18+ messages in thread
From: Christoph Berg @ 2015-05-26 21:18 UTC (permalink / raw)
To: Markus Wanner <markus@bluegap.ch>; +Cc: Jon Erdman <jon.erdman@bluetreble.com>; David Wheeler <david@justatheory.com>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@BlueTreble.com>; pgsql-pkg-debian; pollux@debian.org
Re: Markus Wanner 2015-05-26 <5564D712.4080706@bluegap.ch>
> Also note that pgtap already is in Debian (well, has been). I contacted
(It's still in unstable.)
> Myon: Am I correct that PGAPT needs a git repo to fetch from? Or can we
> handle other sources, there?
generate-pgdg-source can build from git, svn, and bzr, or just use the
package as-is from unstable. Support for other VCSes depends on what
jenkins-job-builder supports, or for what git-* wrappers exist.
Christoph
--
cb@df7cb.de | http://www.df7cb.de/
--
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
^ permalink raw reply [nested|flat] 18+ messages in thread
* Fw: Re: pgtap in our apt repo
@ 2015-05-26 21:09 Jon Erdman <jon.erdman@bluetreble.com>
0 siblings, 0 replies; 18+ messages in thread
From: Jon Erdman @ 2015-05-26 21:09 UTC (permalink / raw)
To: Markus Wanner <markus@bluegap.ch>; +Cc: Christoph Berg <myon@debian.org>; David Wheeler <david@justatheory.com>; Dimitri Fontaine <dimitri@2ndquadrant.fr>; Magnus Hagander <magnus@hagander.net>; Jim Nasby <Jim.Nasby@BlueTreble.com>; pgsql-pkg-debian; pollux@debian.org
Here you go. Included everyone on the other message rather than just you, just in case there had been other additions that hadn't seen this one.
--
Jon Erdman <jon.erdman@bluetreble.com>
Sr. Data Engineer, Blue Treble Solutions, LLC
312.285.6735
Begin forwarded message:
Date: Mon, 25 May 2015 14:23:23 -0500
From: Jon Erdman <jon.erdman@bluetreble.com>
To: Jon Erdman <jon.erdman@bluetreble.com>
Cc: Christoph Berg <myon@debian.org>, David Wheeler <david@justatheory.com>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, Magnus Hagander <magnus@hagander.net>, Jim Nasby <Jim.Nasby@BlueTreble.com>
Subject: Re: pgtap in our apt repo
Corrected: fixed the naming, as well as the order of a few things here, this does work if you just paste it (but NOT if you have pg_config from 9.5 installed!!). It will build against whatever version /usr/bin/pg_config points to (which by default is the most recent pg -dev package you have installed).
I've attached build output of this too.
mkdir build; cd build; apt-get source pgtap; git clone git@github.com:theory/pgtap.git; cd pgtap-0.90.0; uupdate -v 0.95.1 ../pgtap; cd ..; mv pgtap pgtap-0.95.1; rm -rf pgtap-0.95.1/.git; tar czf pgtap_0.95.1.orig.tar.gz pgtap-0.95.1; cd pgtap-0.95.1; debuild -i -us -uc
--
Jon Erdman <jon.erdman@bluetreble.com>
Sr. Data Engineer, Blue Treble Solutions, LLC
312.285.6735
On Mon, 25 May 2015 14:07:14 -0500
Jon Erdman <jon.erdman@bluetreble.com> wrote:
>
> OBTW, here's how I made it:
>
> mkdir build; cd build; apt-get deb-src pgtap; git clone git@github.com:theory/pgtap.git; mv pgtap pgtap-0.95-1; rm -rf pgtap-0.95-1/.git; tar czf pgtap_0.95.1.orig.tar.gz pgtap-0.95-1; uupdate -v 0.95.1 pgtap-0.95-1; cd pgtap-0.95.1; debuild -i -us -uc
>
> I made a mistake here though :( all occurrences above of the string pgtap-0.95-1 should be pgtap-0.95.1 so let me rebuild again and I'll send again.
>
> --
> Jon Erdman <jon.erdman@bluetreble.com>
> Sr. Data Engineer, Blue Treble Solutions, LLC
> 312.285.6735
>
> On Mon, 25 May 2015 13:55:18 -0500
> Jon Erdman <jon.erdman@bluetreble.com> wrote:
>
> >
> > .deb (binary-indep) built against 9.4, and deb-src attached.
> >
> > The problem here is that this package is set up to only work against one pg version at a time. We'll need to change that...probably by appending -9.x to the package version and making multiple debs :(
> >
> > Anyone have a better idea?
> > --
> > Jon Erdman <jon.erdman@bluetreble.com>
> > Sr. Data Engineer, Blue Treble Solutions, LLC
> > 312.285.6735
> >
> > On Mon, 25 May 2015 12:46:42 -0500
> > Jon Erdman <jon.erdman@bluetreble.com> wrote:
> >
> > > On Mon, 25 May 2015 12:43:40 -0500
> > > Jon Erdman <jon.erdman@bluetreble.com> wrote:
> > >
> > > > On Mon, 25 May 2015 16:18:58 +0200
> > > > Christoph Berg <myon@debian.org> wrote:
> > > >
> > > > > Re: Jon Erdman 2015-05-24 <20150524112636.83d050151cf11cec43bd7245@bluetreble.com>
> > > > > >
> > > > > > So, in Ubuntu at least, there is only pgtap for 9.1, and this is a pain. How would you guys feel about adding it to the PGDB apt repo? Should be relatively simple since there are no binaries involved...
> > > > >
> > > > > Hi,
> > > > >
> > > > > at the moment the pgtap package is seriously broken:
> > > > >
> > > > > https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=pgtap;dist=unstable
> > > > >
> > > > > Most notably:
> > > > >
> > > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729559
> > > > >
> > > > > One these are fixed, we can add it to the pgapt repo as well.
> > > > >
> > > > > The fix is probably simple, but someone needs to do it, and possibly
> > > > > become the new maintainer, Pierre doesn't seem to be interested atm.
> > > >
> > > > Really adding David Wheeler this time. ;)
> > > >
> > > > Took a quick look at these...I think they're all fixed if we update the source in the package to 0.95.1 (which is what's current in pgtap git repo), as that built fine for me for all pg versions I have installed from PGDG 9.1-4 and even the 9.5 I have built from git HEAD and symlinked such that it shows up in the pg_common stuff (i.e. in the output of pg_lsclusters and pg_ctlcluster can control it, etc).
> > > >
> > > > I'll try to see how much that work it would entail to move this from 0.90.0 to 0.95.1 (I suspect not much, based on previous work with deb-src packages).
> > >
> > > Here's proof 0.95.0 has that bug fixed:
> > >
> > > jon@stuck:~$ cd /usr/share/postgresql/9.4/extension/
> > > jon@stuck:/usr/share/postgresql/9.4/extension$ ll pgtap*
> > > -rw-r--r-- 1 root root 731 May 24 11:41 pgtap--0.90.0--0.91.0.sql
> > > -rw-r--r-- 1 root root 54K May 24 11:41 pgtap--0.91.0--0.92.0.sql
> > > -rw-r--r-- 1 root root 21K May 24 11:41 pgtap--0.92.0--0.93.0.sql
> > > -rw-r--r-- 1 root root 5.4K May 24 11:41 pgtap--0.93.0--0.94.0.sql
> > > -rw-r--r-- 1 root root 17K May 24 11:41 pgtap--0.94.0--0.95.0.sql
> > > -rw-r--r-- 1 root root 292K May 24 11:41 pgtap--0.95.0.sql
> > > -rw-r--r-- 1 root root 177 May 24 11:41 pgtap.control
> > > -rw-r--r-- 1 root root 113K May 24 11:41 pgtap-core--0.95.0.sql
> > > -rw-r--r-- 1 root root 179K May 24 11:41 pgtap-schema--0.95.0.sql
> > > -rw-r--r-- 1 root root 47K May 24 11:41 pgtap--unpackaged--0.91.0.sql
> > > jon@stuck:/usr/share/postgresql/9.4/extension$
> > >
> > > --
> > > 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
Attachments:
pgtap_0.95.1.orig.tar.gz (application/octet-stream, 3.5M) download
pgtap_0.95.1-0ubuntu1.debian.tar.gz (application/octet-stream, 2.9K) download
pgtap_0.95.1-0ubuntu1.dsc (application/octet-stream, 872B) download
pgtap_0.95.1-0ubuntu1_all.deb (application/x-debian-package, 78.3K) download
^ permalink raw reply [nested|flat] 18+ messages in thread
end of thread, other threads:[~2015-05-27 20:12 UTC | newest]
Thread overview: 18+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 18:44 ` Christoph Berg <myon@debian.org>
2015-05-25 19:03 ` Christoph Berg <myon@debian.org>
2015-05-25 19:26 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 17:21 ` David E. Wheeler <david@justatheory.com>
2015-05-26 18:29 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 18:57 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-26 19:06 ` David E. Wheeler <david@justatheory.com>
2015-05-27 04:30 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 05:11 ` David E. Wheeler <david@justatheory.com>
2015-05-26 20:26 ` Markus Wanner <markus@bluegap.ch>
2015-05-26 21:09 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 05:29 ` Markus Wanner <markus@bluegap.ch>
2015-05-27 15:07 ` Jon Erdman <jon.erdman@bluetreble.com>
2015-05-27 19:41 ` Markus Wanner <markus@bluegap.ch>
2015-05-27 19:49 ` David E. Wheeler <david@justatheory.com>
2015-05-27 20:12 ` Markus Wanner <markus@bluegap.ch>
2015-05-26 21:18 ` Christoph Berg <myon@debian.org>
2015-05-26 21:09 Fw: Re: pgtap in our apt repo Jon Erdman <jon.erdman@bluetreble.com>
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