[Bps-public-commit] r13408 - in Shipwright/trunk: lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jun 18 17:12:52 EDT 2008


Author: sunnavy
Date: Wed Jun 18 17:12:52 2008
New Revision: 13408

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Script/Build.pm
   Shipwright/trunk/lib/Shipwright/Script/Create.pm
   Shipwright/trunk/lib/Shipwright/Script/Delete.pm
   Shipwright/trunk/lib/Shipwright/Script/Flags.pm
   Shipwright/trunk/lib/Shipwright/Script/Import.pm
   Shipwright/trunk/lib/Shipwright/Script/List.pm
   Shipwright/trunk/lib/Shipwright/Script/Maintain.pm
   Shipwright/trunk/lib/Shipwright/Script/Rename.pm
   Shipwright/trunk/lib/Shipwright/Script/Update.pm

Log:
 r13543 at sunnavys-mb:  sunnavy | 2008-06-19 05:06:45 +0800
 we do _not_ need to pass log_file and log_level to the new sub of Shipwright in Script/*, because we already passed them in Script.pm


Modified: Shipwright/trunk/lib/Shipwright/Script/Build.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Build.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Build.pm	Wed Jun 18 17:12:52 2008
@@ -75,7 +75,7 @@
             source => $self->with->{$name},
             follow => 0,
             map { $_ => $self->$_ }
-              qw/repository log_level log_file only_test perl/
+              qw/repository only_test perl/
         );
         $source{$name} = $shipwright->source->run;
     }

Modified: Shipwright/trunk/lib/Shipwright/Script/Create.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Create.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Create.pm	Wed Jun 18 17:12:52 2008
@@ -24,8 +24,6 @@
     
     my $shipwright = Shipwright->new(
         repository => $self->repository,
-        log_level  => $self->log_level,
-        log_file   => $self->log_file,
     );
     $shipwright->backend->initialize();
     print "created with success\n";

Modified: Shipwright/trunk/lib/Shipwright/Script/Delete.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Delete.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Delete.pm	Wed Jun 18 17:12:52 2008
@@ -30,8 +30,6 @@
 
     my $shipwright = Shipwright->new(
         repository => $self->repository,
-        log_level  => $self->log_level,
-        log_file   => $self->log_file,
     );
 
     my $map = $shipwright->backend->map || {};

Modified: Shipwright/trunk/lib/Shipwright/Script/Flags.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Flags.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Flags.pm	Wed Jun 18 17:12:52 2008
@@ -41,8 +41,6 @@
 
     my $shipwright = Shipwright->new(
         repository => $self->repository,
-        log_level  => $self->log_level,
-        log_file   => $self->log_file,
     );
 
     my $flags = $shipwright->backend->flags;

Modified: Shipwright/trunk/lib/Shipwright/Script/Import.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Import.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Import.pm	Wed Jun 18 17:12:52 2008
@@ -55,8 +55,6 @@
         # don't have source specified, use the one in repo
         my $shipwright = Shipwright->new(
             repository => $self->repository,
-            log_level  => $self->log_level,
-            log_file   => $self->log_file,
         );
         my $map    = $shipwright->backend->map    || {};
         my $source = $shipwright->backend->source || {};

Modified: Shipwright/trunk/lib/Shipwright/Script/List.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/List.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/List.pm	Wed Jun 18 17:12:52 2008
@@ -29,8 +29,6 @@
 
     my $shipwright = Shipwright->new(
         repository => $self->repository,
-        log_level  => $self->log_level || 'fatal',
-        log_file   => $self->log_file,
     );
 
     my $versions = $shipwright->backend->version;

Modified: Shipwright/trunk/lib/Shipwright/Script/Maintain.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Maintain.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Maintain.pm	Wed Jun 18 17:12:52 2008
@@ -30,8 +30,6 @@
 
     my $shipwright = Shipwright->new(
         repository => $self->repository,
-        log_level  => $self->log_level,
-        log_file   => $self->log_file,
     );
 
     if ( $self->update_order ) {

Modified: Shipwright/trunk/lib/Shipwright/Script/Rename.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Rename.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Rename.pm	Wed Jun 18 17:12:52 2008
@@ -41,8 +41,6 @@
 
     my $shipwright = Shipwright->new(
         repository => $self->repository,
-        log_level  => $self->log_level,
-        log_file   => $self->log_file,
     );
 
     my $order = $shipwright->backend->order;

Modified: Shipwright/trunk/lib/Shipwright/Script/Update.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Update.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Update.pm	Wed Jun 18 17:12:52 2008
@@ -39,8 +39,6 @@
 
     $shipwright = Shipwright->new(
         repository => $self->repository,
-        log_level  => $self->log_level,
-        log_file   => $self->log_file,
     );
 
     if ( $self->builder ) {



More information about the Bps-public-commit mailing list