[Bps-public-commit] SD branch, master, updated. 0.70-40-gb4a3a47
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Sep 4 04:46:06 EDT 2009
The branch, master has been updated
via b4a3a4725682e3a11f70eeb6c80aa40bc4d12788 (commit)
from 5ca458f9445831b4d7a2569742b5720fab6757c2 (commit)
Summary of changes:
lib/App/SD/Replica/lighthouse/PushEncoder.pm | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit b4a3a4725682e3a11f70eeb6c80aa40bc4d12788
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Sep 4 16:46:00 2009 +0800
lighthouse push: tag should be included
diff --git a/lib/App/SD/Replica/lighthouse/PushEncoder.pm b/lib/App/SD/Replica/lighthouse/PushEncoder.pm
index 254921c..810d638 100644
--- a/lib/App/SD/Replica/lighthouse/PushEncoder.pm
+++ b/lib/App/SD/Replica/lighthouse/PushEncoder.pm
@@ -82,7 +82,7 @@ sub integrate_ticket_update {
$ticket->update(
map { $_ => $attr->{$_} }
grep { exists $attr->{$_} }
- qw/title body state assigned_user_id milestone_id/
+ qw/title body state assigned_user_id milestone_id tag/
);
return $remote_ticket_id;
}
@@ -137,7 +137,7 @@ sub integrate_ticket_create {
$ticket->create(
map { $_ => $attr->{$_} }
grep { exists $attr->{$_} }
- qw/title body state assigned_user_id milestone_id/
+ qw/title body state assigned_user_id milestone_id tag/
);
return $ticket->number;
}
@@ -156,6 +156,9 @@ sub _recode_props_for_integrate {
elsif ( $key eq 'status' ) {
$attr{state} = $props{$key};
}
+ elsif ( $key eq 'tag' ) {
+ $attr{tag} = $props{$key};
+ }
elsif ( $key eq 'content' ) {
$attr{body} = $props{$key};
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list