[Bps-public-commit] r14097 - in sd/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jul 14 18:21:30 EDT 2008
Author: sartak
Date: Mon Jul 14 18:21:28 2008
New Revision: 14097
Modified:
sd/trunk/ (props changed)
sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm
Log:
r64288 at onn: sartak | 2008-07-14 18:21:12 -0400
Add an _origin_display prop for tickets pulled from an RT
Modified: sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm (original)
+++ sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm Mon Jul 14 18:21:28 2008
@@ -61,6 +61,11 @@
my $ticket = shift;
$ticket->{'id'} =~ s/^ticket\///g;
+
+ $ticket->{'_origin_display'} = sprintf '%s/Ticket/Display.html?id=%d',
+ $self->sync_source->rt_url,
+ $ticket->{'id'};
+
map { $ticket->{ $self->sync_source->uuid . '-' . lc($_) } = delete $ticket->{$_} }
(qw(Queue id));
map { delete $ticket->{$_} if ( !defined $ticket->{$_} || $ticket->{$_} eq '' ) } keys %$ticket;
More information about the Bps-public-commit
mailing list