use Debbugs::DB::Util qw(select_one);
+=over
+=item get_maintainers
+
+ $s->resultset('Maintainers')->get_maintainers();
+
+ $s->resultset('Maintainers')->get_maintainers(@maints);
+
+Retrieve a HASHREF of all maintainers with the maintainer name as the key and
+the id of the database as the value. If given an optional list of maintainers,
+adds those maintainers to the database if they do not already exist in the
+database.
+
+=cut
sub get_maintainers {
my ($self,@maints) = @_;
my %maints;
return \%maints;
}
+=item get_maintainer_id
+
+ $s->resultset('Maintainer')->get_maintainer_id('Foo Bar <baz@example.com>')
+
+Given a maintainer name returns the maintainer id, possibly inserting the
+maintainer (and correspondent) if either do not exist in the database.
+
+
+=cut
+
sub get_maintainer_id {
my ($self,$maint) = @_;
my $rs =
);
}
+=back
+
+=cut
+
1;
__END__