hydra/src/script
Eelco Dolstra 44b8d6f449 Use OO-style plugins
This is mostly so we don't have to pass around common parameters like
"db" and "config", and we don't have to check for the existence of
methods.

A plugin now looks like this:

  package Hydra::Plugin::TwitterNotification;

  use parent 'Hydra::Plugin';

  sub buildFinished {
      my ($self, $build, $dependents) = @_;
      print STDERR "tweeting about build ", $build->id, "\n";
      # Send tweet...
      # Hydra database is $self->{db}.
  }
2013-05-08 18:35:24 +02:00
..
hydra-build Use OO-style plugins 2013-05-08 18:35:24 +02:00
hydra-control Remove trailing whitespace 2013-01-22 14:41:02 +01:00
hydra-create Rename hydra_*.pl to hydra-* 2011-11-30 18:14:48 +01:00
hydra-eval-guile-jobs.in hydra-eval-guile-jobs: Use `--fresh-auto-compile'. 2013-04-13 18:59:42 +02:00
hydra-evaluator Allow a per-jobset check interval 2013-05-02 17:55:47 +02:00
hydra-init hydra-init: show SQL commands being executed 2012-04-15 18:34:32 +02:00
hydra-queue-runner Drop unused "disabled" columns 2013-05-03 16:39:17 +02:00
hydra-server Rename hydra_*.pl to hydra-* 2011-11-30 18:14:48 +01:00
hydra-update-gc-roots Add multiple output support 2013-02-13 16:49:28 +00:00
Makefile.am Capture the path to `guile', when available. 2012-10-17 16:25:49 +02:00
nix-prefetch-bzr add nix-prefetch- scripts for now, were externals in svn 2011-10-28 22:12:51 -04:00
nix-prefetch-git I should sleep... grmbl 2012-04-26 09:37:48 +02:00
nix-prefetch-hg remove .hg-archival.txt in nix-prefetch-hg 2011-11-03 19:44:05 -04:00