From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Jon Erdman <jon(dot)erdman(at)bluetreble(dot)com>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org> |
Subject: | Re: pgtap in our apt repo |
Date: | 2015-05-25 18:44:07 |
Message-ID: | 20150525184407.GA10483@msg.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-debian |
Re: Magnus Hagander 2015-05-25 <CABUevEzjbawgb_5UtiDuS8gyV3HsG5ERmybvkJNp0RDMSnQ_VA(at)mail(dot)gmail(dot)com>
> On May 25, 2015 6:56 PM, "Jon Erdman" <jon(dot)erdman(at)bluetreble(dot)com> wrote:
> >
> > On Mon, 25 May 2015 11:31:16 -0500
> > Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)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(at)df7cb(dot)de | http://www.df7cb.de/
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Berg | 2015-05-25 19:03:41 | Re: pgtap in our apt repo |
Previous Message | Christoph Berg | 2015-05-23 20:44:35 | Regression in recovery mode (Re: postgresql-9.1 updated to version 9.1.16-1.pgdg+1) |