Browse files

output TT URL with ticket notification for parrot

  • Loading branch information...
1 parent 07a7c58 commit 37807a81d8a783b03e408d93f8435bc1a34d4dfb Bob Kuo committed Mar 17, 2010
Showing with 3 additions and 0 deletions.
  1. +2 −0 modules/local/karmalog.pm
  2. +1 −0 modules/local/parrotticketlog.pm
View
2 modules/local/karmalog.pm
@@ -195,11 +195,13 @@ sub emit_ticket_karma {
my $user = $args{user};
my $summary = $args{summary};
my $action = $args{action};
+ my $url = $args{url};
$user = "unknown" unless defined $user;
$summary = "" unless defined $summary;
$prefix = "Ticket #" unless defined $prefix;
$user = $aliases{$user} if exists $aliases{$user};
$self->put($args{targets}, "$prefix$ticket $action by $user++: $summary");
+ $self->put($args{targets}, "$url");
}
View
1 modules/local/parrotticketlog.pm
@@ -88,6 +88,7 @@ sub output_item {
user => $user,
summary => $summary,
targets => $$self{targets},
+ url => "http://trac.parrot.org/parrot/ticket/$ticket"
);
main::lprint("parrotticketlog: ticket $ticket $action");
} else {

0 comments on commit 37807a8

Please sign in to comment.