Friday, June 13, 2008

Re: [pgsql-advocacy] PostgreSQL passes MySQL for Freshmeat Downloads

Hi again,

I've finished the version alerter. It finds the latest version number
at http://www.postgresql.org/ftp/source/, then verifies that version
number appears in a configurable list of web pages. It's easy to add
new ones.

Right now, I've got it up and running against the PostgreSQL entries
on freshmeat, SourceForge, and Wikipedia.

Here's what a notification looks like:

---

From: daemon@(no spam please)
To: fuerth@(no spam please)
To: other@(no spam please)
Subject: Version check alert!
Date: Sat, 14 Jun 2008 00:34:39 -0400 (EDT)

Latest version: 8.3.3

freshmeat: needs update!
SourceForge: up to date
Wikipedia: up to date

---

If all sites are up to date, no email is sent.

If at least one site is out of date, an email like the above is sent
to a configurable list of people.

If the check itself fails for some reason (HTTP error, scrape fails to
find latest version, ...) then it will email a different configurable
list of people (especially me so I can fix it).

So... who would like to be added to which list(s), and how frequently
should I run the check?

-Jonathan

--
Sent via pgsql-advocacy mailing list (pgsql-advocacy@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-advocacy

No comments: