hydra/src/lib
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 Use OO-style plugins 2013-05-08 18:35:24 +02:00
Hydra.pm Add font for the captcha 2013-03-04 12:16:13 +01:00
Makefile.am Install the file in the Hydra/Script directory 2011-11-22 17:34:23 +01:00