44b8d6f4491faec02bcc94f44414708489fa1d86
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}.
}
Description
Hydra, the Nix-based continuous build system
Languages
Perl
71%
C++
15.5%
Nix
5.6%
PLpgSQL
3%
Shell
2.2%
Other
2.7%