Re: [Pgbuildfarm-members] mail notification option

Lists: buildfarm-members
From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgbuildfarm-members(at)pgfoundry(dot)org
Subject: [Pgbuildfarm-members] mail notification option
Date: 2005-06-17 16:39:27
Message-ID: 42B2FCBF.6010907@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members


I am considering adding an option to allow you to specify a list of
addresses to notify of buildfarm events for your members via email. Mail
notifications have long been requested, so this is a small first cut.

Basically, it would work thus:

in your config file, put a setting like this:

mail_events => { all=> ['me(at)foo(dot)bar(dot)com', 'him(at)baz(dot)blurfl(dot)com'}],
failures => 'bzzt(at)my(dot)alarm(dot)com' },

The allowed event keys in this hash would be:
all: every build status received
failures: every non-OK build status received
all_changes: every time status changes
green_changes: every time status changes to/from OK

The corresponding values in the hash can be an arrayref of email
addresses, or a single scalar email address.

The notification sent by the server would look something like this:

----------------
Subject: PGBuildfarm member <membername> Branch <branchname> Status
[changed to] <status>

The PGBbuildfarm member <membername> had the following event on branch
<branch>:

Status: <status> (or Status Change from <oldstatus> to <newstatus>)

The snapshot timestamp for the build that triggered this notification
is: <YYYY-MM-DD HH::mm::ss>

The specs of this machine are:
OS: <osname> <osversion>
Arch: <architecture>
Comp: <compiler> <compiler-version>

For more information, see
http://www.pgbuildfarm.org/cgi-bin/show_history.pl?nm=<name>&br=<branch>

----------------------

In addition, I am thinking of setting up mailing lists that digest all
these event sets for all members over a 24 hour period, and that anyone
can subscribe to.

thoughts?

cheers

andrew


From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <books(at)ejurka(dot)com>
Cc: pgbuildfarm-members(at)pgfoundry(dot)org
Subject: Re: [Pgbuildfarm-members] mail notification option
Date: 2005-06-20 03:47:40
Message-ID: 1290.24.211.165.134.1119239260.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

Kris Jurka said:
>
>
> On Fri, 17 Jun 2005, Andrew Dunstan wrote:
>
>>
>> I am considering adding an option to allow you to specify a list of
>> addresses to notify of buildfarm events for your members via email.
>> Mail notifications have long been requested, so this is a small first
>> cut.
>>
>
> Do we need per branch configuration of this, many of the 7.4 members
> fail ContribCheck.

Per branch config setting has been possible since v 1.3 of the config file,
dated last November.

> Are we going to try and get the developers to make
> 7.4 (and previous?) go green?

I'll ask again :-)

cheers

andrew


From: Kris Jurka <books(at)ejurka(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgbuildfarm-members(at)pgfoundry(dot)org
Subject: Re: [Pgbuildfarm-members] mail notification option
Date: 2005-06-20 03:48:38
Message-ID: Pine.BSO.4.56.0506192244400.29853@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

On Fri, 17 Jun 2005, Andrew Dunstan wrote:

>
> I am considering adding an option to allow you to specify a list of
> addresses to notify of buildfarm events for your members via email. Mail
> notifications have long been requested, so this is a small first cut.
>

Do we need per branch configuration of this, many of the 7.4 members fail
ContribCheck. Are we going to try and get the developers to make 7.4 (and
previous?) go green?

Kris Jurka


From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgbuildfarm-members(at)pgfoundry(dot)org
Subject: Re: [Pgbuildfarm-members] mail notification option
Date: 2005-06-20 04:08:01
Message-ID: 6AAB409E-2C0B-432D-8928-B0ED2B6784B4@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members


On Jun 20, 2005, at 12:48 PM, Kris Jurka wrote:

> Do we need per branch configuration of this, many of the 7.4
> members fail
> ContribCheck. Are we going to try and get the developers to make
> 7.4 (and
> previous?) go green?

I've thought about this to, being the host of a machine that has
failed 7.4 (at Check, no less) since inception. For some platforms it
might be a simple matter to port the changes back. For others, I can
imagine it will be more involved. Personally, I'd at least like to
get it back to 7.4, but with 8.1 coming, that'd 7.4 will be 2
releases back, and I can see an argument that we have to draw the
line somewhere.

Michael Glaesemann
grzm myrealbox com