Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ywyeq-0000AE-HD for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 25 May 2015 20:07:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ywyeo-0005ul-R8 for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 25 May 2015 20:07:30 +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 1YwyJD-0000k8-OM for pgsql-pkg-debian@postgresql.org; Mon, 25 May 2015 19:45:11 +0000 Received: from feynman.df7cb.de ([2001:6f8:10ee::1]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YwxMC-0002w3-Lq for pgsql-pkg-debian@postgresql.org; Mon, 25 May 2015 18:44:15 +0000 Received: from msg.df7cb.de (aftr-88-153-6-177.unity-media.net [88.153.6.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3lwS4m3GmGz3F3J; Mon, 25 May 2015 20:44:08 +0200 (CEST) Date: Mon, 25 May 2015 20:44:07 +0200 From: Christoph Berg To: Magnus Hagander Cc: Jon Erdman , Dimitri Fontaine , Jim Nasby , PostgreSQL in Debian Subject: Re: pgtap in our apt repo Message-ID: <20150525184407.GA10483@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Magnus Hagander , Jon Erdman , Dimitri Fontaine , Jim Nasby , PostgreSQL in Debian References: <20150524112636.83d050151cf11cec43bd7245@bluetreble.com> <20150525141858.GA7668@msg.df7cb.de> <55634E54.20808@BlueTreble.com> <20150525115629.a46efa3970b401841f226d7e@bluetreble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.9 (-) 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 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: Magnus Hagander 2015-05-25 > On May 25, 2015 6:56 PM, "Jon Erdman" wrote: > > > > On Mon, 25 May 2015 11:31:16 -0500 > > Jim Nasby 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 obvio= us > 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. >=20 > +morethanyoucanimagine... >=20 > 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. >=20 > However. >=20 > 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. >=20 > 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 --=20 cb@df7cb.de | http://www.df7cb.de/ --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVY210AAoJEExaa6sS0qeuvckQALMr1fNChWlspGKxyU9rgpDw G4UpkNz/gznacCWC8gj3Ru9f/lsEo1l1QA3VliVgfvu3cCVH0ZZ3u+6u6O3iTIJE oaw1Q+PYi1t4o+gUrDXIVhw+bwL3Djq9l4eLnp5fNto11rrUUP4NkRe7SExLm50J ALReupNTy7eI+R2P1ataqMqsyWLC8w8ghJGdGxj4cPmK/hjlmDa73LNVUsHa3LGa GHdEt/Y8m4zyFlkVVAOCtIHKov33dlvud64isu4gqQKHDHj0UuQovor91dSRms/S OPVV9SgCR/ANHdt65UMP27467brCOA8LLYPnkJu4W+fnq7EOGFWu/WHKEy3AyXkc 2YyxkjqO1Vat3XDB5yMvFk8qPsQsd23BQ4DoXAW7LqX6UZ6tcD7jNFWrQ+rez1Fn iOaPfBLkAPZA0tas0tu7+UsdGh8ke1Sh5Q/eo2U9F9LwuCTCE/q1bBBLqCI/lxkE zTvpwuBCG7XO8Eslt4sN4c2Vdi4W8T96dv32Q/ylskDyRQA9GC/K3Hz3GTXQHPt/ 36TUwyVtIWoee9T2amkCRELgSHUTDlsdEzwMmUH2U8JiYauutUTK5Z7s2ge9zoM3 pwFLVQ4wA0PK+mOyxr/xjXmLsz41SIo1WZ19yd5oqdFNy59g00AIllpiEVfEGYIM v5byPD3jvjEy7mLXB5k8 =1G3V -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--