From 2c6c3045675cecc82d33e73adf2066278a1a787c Mon Sep 17 00:00:00 2001 From: Neil Moore Date: Tue, 12 Jun 2012 20:30:54 -0500 Subject: Include gitorious URL in the output of %git. Also, disable commit notification again. --- lib/Crawl/Bot/Plugin/Commit.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Crawl/Bot/Plugin/Commit.pm b/lib/Crawl/Bot/Plugin/Commit.pm index 7eb9d04..2af95aa 100644 --- a/lib/Crawl/Bot/Plugin/Commit.pm +++ b/lib/Crawl/Bot/Plugin/Commit.pm @@ -13,7 +13,7 @@ has repo_uri => ( has announce_commits => ( is => 'rw', isa => 'Bool', - default => 1, + default => 0, ); has checkout => ( @@ -63,7 +63,8 @@ sub said { $self->say(@keys, "$commit->{author} * r$abbr: $commit->{subject} " . "($commit->{date}, $commit->{nfiles} file$pl, " - . "$commit->{nins}+ $commit->{ndel}-)" + . "$commit->{nins}+ $commit->{ndel}-) " + . "https://gitorious.org/crawl/crawl/commit/$abbr" ); } else { my $ev = $? >> 8; -- cgit v1.2.3-54-g00ecf