[Bps-public-commit] SD branch, master, updated. 0.70-30-g3b1959d

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Sep 1 23:36:25 EDT 2009


The branch, master has been updated
       via  3b1959ddb2f0cfdba6fde5dbdc996cd4cd58454e (commit)
      from  03af7c80233cbac7f11a8fa3252afb6c67a80dbc (commit)

Summary of changes:
 lib/App/SD/Replica/lighthouse.pm |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 3b1959ddb2f0cfdba6fde5dbdc996cd4cd58454e
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Sep 2 11:36:12 2009 +0800

    use status in lighthouse

diff --git a/lib/App/SD/Replica/lighthouse.pm b/lib/App/SD/Replica/lighthouse.pm
index dc721a1..138ff82 100644
--- a/lib/App/SD/Replica/lighthouse.pm
+++ b/lib/App/SD/Replica/lighthouse.pm
@@ -119,7 +119,12 @@ sub remote_uri_path_for_id {
 sub database_settings {
     my $self = shift;
     return {
-        project_name => $self->account . '/' . $self->project,
+        project_name    => $self->account . '/' . $self->project,
+        active_statuses => $self->lighthouse->open_states_list,
+        statuses        => [
+            @{ $self->lighthouse->open_states_list },
+            @{ $self->lighthouse->closed_states_list }
+        ],
     };
 
 }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list