[Bps-public-commit] SD branch, master, updated. 150a45689d1d5e382b17db5cc5e18957168e35c4
jesse
jesse at bestpractical.com
Mon Jun 1 14:11:24 EDT 2009
The branch, master has been updated
via 150a45689d1d5e382b17db5cc5e18957168e35c4 (commit)
from 0a3ab5a227a546875e34efe545629e82659cad21 (commit)
Summary of changes:
lib/App/SD/Replica/gcode.pm | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 150a45689d1d5e382b17db5cc5e18957168e35c4
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Mon Jun 1 14:10:52 2009 -0400
Update the gcode replica to not capitalize statuses and to understand
'mergedinto' props (At least a little bit)
diff --git a/lib/App/SD/Replica/gcode.pm b/lib/App/SD/Replica/gcode.pm
index 660a2d8..8a98ca8 100644
--- a/lib/App/SD/Replica/gcode.pm
+++ b/lib/App/SD/Replica/gcode.pm
@@ -22,6 +22,7 @@ our %PROP_MAP = (
reported => 'created',
labels => 'tags',
priority => 'priority',
+ mergedinto => 'merged_into'
);
@@ -94,9 +95,9 @@ sub database_settings {
$issue->load_predefined;
my $status = $issue->predefined_status;
return {
- default_status => 'New',
- active_statuses => $status->{open},
- statuses => [ @{ $status->{open} }, @{ $status->{closed} } ],
+ default_status => 'new',
+ active_statuses => [map {lc } @{$status->{open}}],
+ statuses => [ map { lc } @{ $status->{open} }, @{$status->{closed} } ],
project_name => $self->project,
};
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list