Re: [pgsql-pkg-debian] Re: We should not transition to apt.postgresql.org until we have a PPA

From: Martin Pitt <mpitt(at)debian(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Greg Smith <greg(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Christoph Berg <myon(at)debian(dot)org>, Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, Josh Berkus <josh(at)agliodbs(dot)com>, Martin Pitt <mpitt(at)debian(dot)org>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>, PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [pgsql-pkg-debian] Re: We should not transition to apt.postgresql.org until we have a PPA
Date: 2013-02-19 15:36:32
Message-ID: 20130219153632.GE3033@piware.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian pgsql-www

Magnus Hagander [2013-02-19 16:22 +0100]:
> > The instructions at http://www.postgresql.org/download/linux/debian/ are a
> > bit much right now, so some automation toward reducing them would be useful.

> Yes. This is why we have multiple debian packaging experts in the
> project. And also people who know some things about debian packages
> and some things about usual customers, to bridge the gap ;)

I think I can claim to have a sufficient understanding of how Debian
and Ubuntu archives and packaging work to offer to write such a
script. :-)

> Just to keep people informed, the current plan which is the latest
> conclusion in the IRC discussion amongst the packagers is:
>
> * Change the package pinning to be less conservative, and more with
> what most people want. That will remove one step from the installation
> instructions. Obviously this needs some lead time, but shouldn't be
> too much.

I'm very much in favor of this.

> * Create an automated script that will set the repository up for
> people. This can either be downloaded and run, or it can be downloaded
> as a signed https download and piped directly to the shell for those
> daring people who trust postgresql.org.

My current idea is to ship both the GPG key and the script in the
Debian/Ubuntu postgresql-common package. This closes the
authentication loophole in the sense that you can trust to get the
real postgresql archive if you trust that you have the real Debian
archive, and it doesn't need scary "wget | sudo bash" hacks.

So in theory this script could also set up the apt pinning, but I'd
rather not, because (1) doing that automatically would be besides the
point of having the pinning requirement in the first place, and (2)
automatically doing this can potentially break an already existing
(unrelated) apt pin configuration in "interesting" ways.

> * This will *not* mean we remove the documentation - the complete
> manual setup instructions will remain for expert users. But we'll push
> an automated way above them.

Yes, of course.

Thank you!

Martin

--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2013-02-19 15:37:36 Re: [pgsql-pkg-debian] Re: We should not transition to apt.postgresql.org until we have a PPA
Previous Message Magnus Hagander 2013-02-19 15:22:36 Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA

Browse pgsql-www by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2013-02-19 15:37:36 Re: [pgsql-pkg-debian] Re: We should not transition to apt.postgresql.org until we have a PPA
Previous Message Magnus Hagander 2013-02-19 15:22:36 Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA