public inbox for [email protected]  
help / color / mirror / Atom feed
From: CAJ CAJ <[email protected]>
To: Andrew Hammond <[email protected]>
Cc: [email protected]
Subject: Re: programmatic way to fetch latest release for a given major.minor version
Date: Mon, 9 Apr 2007 15:26:12 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On 9 Apr 2007 14:47:20 -0700, Andrew Hammond <
[email protected]> 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.


view thread (30+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: programmatic way to fetch latest release for a given major.minor version
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox