From: Christoph Berg <myon@debian.org>
To: Magnus Hagander <magnus@hagander.net>
Cc: Jon Erdman <jon.erdman@bluetreble.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>
Cc: Jim Nasby <Jim.Nasby@bluetreble.com>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: pgtap in our apt repo
Date: Mon, 25 May 2015 20:44:07 +0200
Message-ID: <20150525184407.GA10483@msg.df7cb.de> (raw)
In-Reply-To: <CABUevEzjbawgb_5UtiDuS8gyV3HsG5ERmybvkJNp0RDMSnQ_VA@mail.gmail.com>
References: <20150524112636.83d050151cf11cec43bd7245@bluetreble.com>
<20150525141858.GA7668@msg.df7cb.de>
<55634E54.20808@BlueTreble.com>
<20150525115629.a46efa3970b401841f226d7e@bluetreble.com>
<CABUevEzjbawgb_5UtiDuS8gyV3HsG5ERmybvkJNp0RDMSnQ_VA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
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: myon@debian.org, magnus@hagander.net, jon.erdman@bluetreble.com, dimitri@2ndquadrant.fr, Jim.Nasby@bluetreble.com
Subject: Re: pgtap in our apt repo
In-Reply-To: <20150525184407.GA10483@msg.df7cb.de>
References: <20150524112636.83d050151cf11cec43bd7245@bluetreble.com> <20150525141858.GA7668@msg.df7cb.de> <55634E54.20808@BlueTreble.com> <20150525115629.a46efa3970b401841f226d7e@bluetreble.com> <CABUevEzjbawgb_5UtiDuS8gyV3HsG5ERmybvkJNp0RDMSnQ_VA@mail.gmail.com> <20150525184407.GA10483@msg.df7cb.de>
* 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