[Nix-dev] Hydra notification emails

Marc Weber marco-oweber at gmx.de
Tue Jun 30 12:49:55 CEST 2009


On Tue, Jun 30, 2009 at 12:00:21PM +0200, Ludovic Courtès wrote:
> Hello,
> 
> The former build farm would email `nix-commits' as soon as a build
> fails, and until it's resolved.  While annoying, this solution had the
> advantage of giving a heads-up that one could hardly miss.  ;-)
> 
> Now Hydra just happily keeps going when something fails.
> 
> Could Hydra be changed to email, say, the last 3 committers to a given
> package when that package fail?  How hard is it to associate attributes
> (packages) with file names in the SVN repo?

How should this look like? running strace on nix-build and then iterating backwards
over commits until 3 commits are found touching any of nix files found
by strace ?
This will work.. However if the last 3 commits touched all-packages.nix
only the file causing the problem could be missed. 

Anyway it's nice to get some feedback from hydra automatically.
I don't mind getting failures I didn't cause.

Marc Weber



More information about the nix-dev mailing list