From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Andrew Hammond <andrew(dot)george(dot)hammond(at)gmail(dot)com> |
Cc: | CAJ CAJ <pguser(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: programmatic way to fetch latest release for a given major.minor version |
Date: | 2007-04-09 22:54:45 |
Message-ID: | 20070409225445.GO10785@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-www |
Andrew Hammond escribió:
> On 4/9/07, CAJ CAJ <pguser(at)gmail(dot)com> wrote:
> >On 9 Apr 2007 14:47:20 -0700, Andrew Hammond
> ><andrew(dot)george(dot)hammond(at)gmail(dot)com> wrote:
> >> I'm writing a script that wants to know the latest release for a given
> >> major.minor version. Is there some better way than parsing
> >> http://www.postgresql.org/ftp/source/ or trying to
> >connect to ftp
> >> (which is invariably timing out on me today. Is that box getting
> >> hammered or something?) and doing the parsing that? Both approaches
> >> feel quite awkward to me.
> >
> >Use wget to download via HTTP (added recently). Probably wise to add a
> >couple mirrors in your script.
>
> I'm not asking how to download stuff. I'm asking how to figure out the
> current release number for a given major.minor. I thought that was
> clear in my original post, but I guess not. For example, how do I
> determine (programmatically) the lastest version of 8.1.
Maybe get configure.in from CVS:
cvs log configure.in
and parse the "symbolic names" list?
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Listmail | 2007-04-09 23:36:02 | Re: programmatic way to fetch latest release for a given major.minor version |
Previous Message | Andrew Hammond | 2007-04-09 22:34:02 | Re: programmatic way to fetch latest release for a given major.minor version |
From | Date | Subject | |
---|---|---|---|
Next Message | Listmail | 2007-04-09 23:36:02 | Re: programmatic way to fetch latest release for a given major.minor version |
Previous Message | Andrew Hammond | 2007-04-09 22:34:02 | Re: programmatic way to fetch latest release for a given major.minor version |