More dynamic yum download instructions

Lists: pgsql-www
From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: More dynamic yum download instructions
Date: 2017-06-05 16:21:33
Message-ID: CABUevEx=U8HgAYbR_9TWwRZC89Nr9nTc4zEZv-8Dh4-TE6AieA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

PFA a patch that makes the yum download portion at
/download/linux/redhat/ more dynamic.

In particular, it brings in three dropdowns where you pick version of
postgres, version of os and platform, and it both filters those based on
which are available, and generates instructions that are distro specific
(like the Debian download page already does).

For those that don't have a working pgweb instance, I've also attached a
screenshot :)

The data to drive them comes from crawling the contents of our ftp
directory. It has already been applied, at

https://git.postgresql.org/gitweb/?p=pgweb.git;a=commitdiff;h=d09fde9ba34a593be573c001526066c86f306c74

Comments? Bugs?

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

Attachment Content-Type Size
yum_web.patch text/x-patch 8.0 KB
image/png 41.1 KB

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: More dynamic yum download instructions
Date: 2017-06-07 12:07:35
Message-ID: CA+OCxoy802tishz7=F6OiYkBU3YB2hsK+7JXCxJOpkCyv1b_7g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg롤 토토SQL : Postg롤 토토SQL 메일 링리스트 : 2017-06-07 이후 PGSQL WWW 12:07

On Mon, Jun 5, 2017 at 5:21 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> PFA a patch that makes the yum download portion at
> /download/linux/redhat/ more dynamic.
>
> In particular, it brings in three dropdowns where you pick version of
> postgres, version of os and platform, and it both filters those based on
> which are available, and generates instructions that are distro specific
> (like the Debian download page already does).
>
> For those that don't have a working pgweb instance, I've also attached a
> screenshot :)
>
> The data to drive them comes from crawling the contents of our ftp
> directory. It has already been applied, at
>
> https://git.postgresql.org/gitweb/?p=pgweb.git;a=commitdiff;h=d09fde9ba34a593be573c001526066c86f306c74
>
> Comments? Bugs?

Tested on Mac under Chrome and Safari and it looks good to me.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: More dynamic yum download instructions
Date: 2017-06-08 11:10:50
Message-ID: CABUevEz-F=XQKZPU2T-9cmv2J+ubXRbsLWcEKybw=YOQLL-BVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Wed, Jun 7, 2017 at 2:07 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> On Mon, Jun 5, 2017 at 5:21 PM, Magnus Hagander <magnus(at)hagander(dot)net>
> wrote:
> > PFA a patch that makes the yum download portion at
> > /download/linux/redhat/ more dynamic.
> >
> > In particular, it brings in three dropdowns where you pick version of
> > postgres, version of os and platform, and it both filters those based on
> > which are available, and generates instructions that are distro specific
> > (like the Debian download page already does).
> >
> > For those that don't have a working pgweb instance, I've also attached a
> > screenshot :)
> >
> > The data to drive them comes from crawling the contents of our ftp
> > directory. It has already been applied, at
> >
> > https://git.postgresql.org/gitweb/?p=pgweb.git;a=commitdiff;h=
> d09fde9ba34a593be573c001526066c86f306c74
> >
> > Comments? Bugs?
>
> Tested on Mac under Chrome and Safari and it looks good to me.
>

I got it tested on an IE system as well, and it seemed to work.

Thus - pushed!

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>