Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TB3DQ-0002kT-Pw for pgsql-pkg-debian@postgresql.org; Mon, 10 Sep 2012 12:35:48 +0000 Received: from [213.9.93.70] (helo=mail.piware.de) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TB3DO-0001qG-E5 for pgsql-pkg-debian@postgresql.org; Mon, 10 Sep 2012 12:35:48 +0000 Received: from localhost.localdomain (p549B192A.dip.t-dialin.net [84.155.25.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Martin Pitt (ThinkPad)", Issuer "piware CA" (verified OK)) by mail.piware.de (Postfix) with ESMTPS id 784D089BB5 for ; Mon, 10 Sep 2012 14:33:33 +0200 (CEST) Received: by localhost.localdomain (Postfix, from userid 1000) id EB914FF654; Mon, 10 Sep 2012 14:35:43 +0200 (CEST) Date: Mon, 10 Sep 2012 14:35:43 +0200 From: Martin Pitt To: pgsql-pkg-debian@postgresql.org Subject: Re: Hackathon news Message-ID: <20120910123543.GE29278@piware.de> References: <20120906113352.GA12871@msgid.df7cb.de> <20120907063015.GD2625@piware.de> <20120907151558.GA3738@msgid.df7cb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20120907151558.GA3738@msgid.df7cb.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Host-Lookup-Failed: Reverse DNS lookup failed for 213.9.93.70 (failed) X-Pg-Spam-Score: -1.1 (-) X-Archive-Number: 201209/4 X-Sequence-Number: 51 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Christoph Berg [2012-09-07 17:15 +0200]: > Afaict, there are two places where supported-versions really matters, > that is at p-common build time (to determine which PG version > postgresql.deb should depend on), and extension build time (to > determine which PG versions to build extensions for). The case where > the user is notified that he's running an out-of-date versions is not > so important. Don't we want to tell people if upstream support for a major version ceases, and thus apt.p.o. stops distributing packages for that major version? I think p-common ought to warn about this. I'm not aware of other situations where it is used. =20 > > Do you plan to include running the p-common test suite in Jenkins, to > > ensure that there are no mis-builds or other things we haven't thought > > of (e. g. a p-common operation that does not work with 8.3)? >=20 > That's already up and running, Splendid! > The -source script does essentially only add a changelog entry to get > the version numbers right. Not sure how much it overlaps, but for backports to my PPA I have this script: http://anonscm.debian.org/loggerhead/pkg-postgresql/postgresql-common/tru= nk/annotate/head:/debian/backport-ppa there's a couple of tweaks that one has to do to the packages to make them build properly in older releases. > For the server packages (it is also used for extension and general > packages), it will also move the lib packages (libpq5, libpq-dev, > ...) to some other component in the archive, except for the current > stable PG version (beta/rc in unstable). Yeah, disabling the libraries for older versions is one of the things my backport-ppa script does; you also need to fiddle with build deps (at least for the Launchpad builders). But if your setup gets along with the unmodified packages, so much the better of course. > This tweak was the reason why I put all those "sid-pgapt" branches on > bzr.debian.org, but now this tweak is done on the fly. (Which looks > surprisingly similar to the last patch Martin did on this ppa script. > I didn't look there before, though :) Ah, heh :-) Sorry that I didn't point it out before, I tend to forget about these details once they are properly scripted. > > The Debian PostgreSQL packages are in bzr. But I'd advise to only > > build from released versions. To avoid having to wait for the Debian > > archive processing, how about building packages from tags only, > > instead of from arbitrary revisions? Then jenkins could watch out for > > new tags, and immediately get going when it sees one, instead of > > having to wait for half a day for the Debian archive publisher. >=20 > That's the plan, yes. Unfortunately, the Jenkins bzr plugin doesn't > support that, but as builds are triggered manually at the moment, that > will work too. I thought Jenkins supports triggering jobs based on file/URL watches? So you could put a watch on e. g. http://anonscm.debian.org/bzr/bzr/pkg-postgresql/postgresql-9.2/trunk/.bz= r/branch/tags ? =20 > We were discussing this for quite some time, but the issue isn't > really clear from the notes. The question was: do we pull extension > packages from unstable, and put them in all our distributions, or do > we pull the version from the corresponding Debian distribution? That's a tricky one, and we might need both. E. g. squeeze's version might support version 8.1 to 8.4, while wheezy's version supports 8.4 to 9.1, or similar. If extensions generally are backwards compatible as much as we need them, using the unstable packages seems right and preferrable. We definitively can't use the old packages only, as they often need porting for newer pg releases. Thanks, Martin --=20 Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJQTd6fAAoJEPmIJawmtHufWuQP/1uriYgXdFbiOOcoXNpf96+W qNqKd8777dt93zDJQzYCYYzGYYZl5/4YmRYCdtdD39LPb+KwGJa+CoNkvHQQzjF6 5bqP3y08MLBGXqstat6JAmI67q+G3euEw7N71fSXb0jxJ40GM5311Y+120yYfx5s Y4W+vY6z8E7vewR4fyK5ZB/J1Fwp0PRAXq+/zQz/a7lAY7zboOpQomkn0lGmEjl/ bS8EuV/TFP3W+KrNJb14Z+xwadfm5uxe4NL2Oa8AHFnbWUu1tSz8v03Ma7+FD9pm r4kbNpjs/qx8mB9d2TDXC9l6j6BP7XADRs4SbZgTi0wSTf5vZR3spHqI8pnLZM1H tjC+aPzg3lZDCpvnhAJyXIV3J3+icTM6X1yo1WEvlPGlYdnPOhPOdmOj5sCcdpt1 0J0ojoYOQJQ3ceYX1iOHT3ADzpQt8skOZhkPAbcm+x1B+M5wworjMN2W4WWZTWNA fF1H3zU8wPSGJ6uVUDQWdSoS6mjkgTHYUmC+Ez2e7+l0kTFIvQnbO6dWrqdJX3ZK M39NV4Bq9s9YWY6Ye/X7vJS2a/kVUCA2CzJDw6pB43qbUJqKrcRS4BZsnX171rka RyRNpxxsUTc3A3IAEXXP8B+XtT/LUHQX1a4ztmQK9Z8stlCQYu0MMViZd0EX+U4y 3e9aKD3AHk8jqX8KsooU =fuDM -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--