[Bps-public-commit] r11115 - in Shipwright/trunk: docs lib lib/Shipwright/Backend lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Mar 19 03:45:29 EDT 2008


Author: sunnavy
Date: Wed Mar 19 03:45:28 2008
New Revision: 11115

Modified:
   Shipwright/trunk/docs/tutorial.log
   Shipwright/trunk/lib/Shipwright.pm
   Shipwright/trunk/lib/Shipwright/Backend.pm
   Shipwright/trunk/lib/Shipwright/Backend/SVK.pm
   Shipwright/trunk/lib/Shipwright/Backend/SVN.pm
   Shipwright/trunk/lib/Shipwright/Script/Build.pm
   Shipwright/trunk/lib/Shipwright/Script/Flags.pm
   Shipwright/trunk/lib/Shipwright/Script/Import.pm
   Shipwright/trunk/lib/Shipwright/Script/Initialize.pm
   Shipwright/trunk/lib/Shipwright/Script/Maintain.pm
   Shipwright/trunk/lib/Shipwright/Script/Update.pm
   Shipwright/trunk/lib/Shipwright/Tutorial.pod

Log:
updated pod, 'project' is known as 'vessel' now

Modified: Shipwright/trunk/docs/tutorial.log
==============================================================================
--- Shipwright/trunk/docs/tutorial.log	(original)
+++ Shipwright/trunk/docs/tutorial.log	Wed Mar 19 03:45:28 2008
@@ -14,7 +14,7 @@
 Committed revision 79509.
 2008/02/11 22:21:44 INFO> SVK.pm:72 Shipwright::Backend::SVK::initialize - initialize //__shipwright/hello
 2008/02/11 22:21:44 INFO> Util.pm:52 Shipwright::Util::run - run cmd:
-svk import /var/folders/fn/fnQpv1CVF1OQBIYiaE+cQE+++TI/-Tmp-/mELaiutEO6 //__shipwright/hello -m 'created project'
+svk import /var/folders/fn/fnQpv1CVF1OQBIYiaE+cQE+++TI/-Tmp-/mELaiutEO6 //__shipwright/hello -m 'created vessel'
 2008/02/11 22:21:45 INFO> Util.pm:54 Shipwright::Util::run - run output:
 Committed revision 79510.
 Import path //__shipwright/hello initialized.

Modified: Shipwright/trunk/lib/Shipwright.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright.pm	(original)
+++ Shipwright/trunk/lib/Shipwright.pm	Wed Mar 19 03:45:28 2008
@@ -147,7 +147,7 @@
 
 =head3 after initialize
 
-After initialize a project, the files in the repo are:
+After initialize a vessel, the files in the repo are:
 
 =over 4
 

Modified: Shipwright/trunk/lib/Shipwright/Backend.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend.pm	Wed Mar 19 03:45:28 2008
@@ -7,9 +7,8 @@
 
 =head2 new
 
-accept the backend part in config as args.
-e.g ( module => 'SVK', project => 'test', ... )
-returns the the individual Backend object.
+returns the the corresponding Backend object by the type of $args{repository}.
+now only supports SVK and SVN
 
 =cut
 

Modified: Shipwright/trunk/lib/Shipwright/Backend/SVK.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend/SVK.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend/SVK.pm	Wed Mar 19 03:45:28 2008
@@ -9,10 +9,6 @@
 use File::Copy;
 use File::Copy::Recursive qw/dircopy/;
 
-# our project's own files will be in //local/test/main
-# all the dependance packages will be in //local/test/deps
-# the shipwright's stuff will be in //local/test/shipwright
-
 our %REQUIRE_OPTIONS = ( import => [qw/source/] );
 
 use base qw/Class::Accessor::Fast/;
@@ -33,7 +29,7 @@
 
 =head2 initialize
 
-initialize a project
+initialize a vessel
 
 =cut
 
@@ -56,7 +52,7 @@
     $self->import(
         source      => $dir,
         _initialize => 1,
-        comment     => 'created project',
+        comment     => 'created vessel',
     );
 }
 
@@ -111,7 +107,7 @@
 
 =head2 export
 
-export a project, partly or as a whole
+export a vessel, partly or as a whole
 
 =cut
 
@@ -128,7 +124,7 @@
 =head2 checkout
 
 a wrapper of checkout cmd of svk
-checkout a project, partly or as a whole
+checkout a vessel, partly or as a whole
 
 =cut
 
@@ -461,7 +457,7 @@
 
 =head2 test_script
 
-set test_script for a project, aka. udpate t/test script
+set test_script for a vessel, aka. udpate t/test script
 
 =cut
 

Modified: Shipwright/trunk/lib/Shipwright/Backend/SVN.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend/SVN.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend/SVN.pm	Wed Mar 19 03:45:28 2008
@@ -9,10 +9,6 @@
 use File::Copy;
 use File::Copy::Recursive qw/dircopy/;
 
-# our project's own files will be in //local/test/main
-# all the dependance packages will be in //local/test/deps
-# the shipwright's stuff will be in //local/test/shipwright
-
 our %REQUIRE_OPTIONS = ( import => [qw/source/], );
 
 use base qw/Class::Accessor::Fast/;
@@ -33,7 +29,7 @@
 
 =head2 initialize
 
-initialize a project
+initialize a vessel
 
 =cut
 
@@ -54,7 +50,7 @@
     $self->log->info( 'initialize ' . $self->repository );
     $self->import(
         source      => $dir,
-        comment     => 'create project',
+        comment     => 'create vessel',
         _initialize => 1,
     );
 
@@ -118,7 +114,7 @@
 =head2 export
 
 a wrapper of export cmd of svn
-export a project, partly or as a whole
+export a vessel, partly or as a whole
 
 =cut
 
@@ -134,7 +130,7 @@
 =head2 checkout
 
 a wrapper of checkout cmd of svn
-checkout a project, partly or as a whole
+checkout a vessel, partly or as a whole
 
 =cut
 
@@ -471,7 +467,7 @@
 
 =head2 test_script
 
-set test_script for a project, aka. udpate t/test script
+set test_script for a vessel, aka. udpate t/test script
 
 =cut
 

Modified: Shipwright/trunk/lib/Shipwright/Script/Build.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Build.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Build.pm	Wed Mar 19 03:45:28 2008
@@ -74,21 +74,21 @@
 
 =head1 NAME
 
-Shipwright::Script::Build - build the specified project
+Shipwright::Script::Build - build the specified vessel
 
 =head1 SYNOPSIS
 
-  shipwright build           build a project
+  shipwright build           build a vessel
 
  Options:
-   --repository(-r)   specify the repository of our project
+   --repository(-r)   specify the repository of our vessel
    --log-level(-l)    specify the log level
    --install-base     specify install base. default is an autocreated temp dir
    --skip             specify dists which'll be skipped
    --skip-test        specify whether to skip test
    --only-test        just test(the running script is t/test)
    --flags            specify flags
-   --name             specify the name of the project
+   --name             specify the name of the vessel
 
 =head1 AUTHOR
 

Modified: Shipwright/trunk/lib/Shipwright/Script/Flags.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Flags.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Flags.pm	Wed Mar 19 03:45:28 2008
@@ -97,7 +97,7 @@
   shipwright flags --dist RT --add mysql 
 
  Options:
-   --repository(-r)   specify the repository of our project
+   --repository(-r)   specify the repository of our vessel
    --log-level(-l)    specify the log level
    --dist             specify the dist
    --add, --delete, --set  specify the flags split by comma

Modified: Shipwright/trunk/lib/Shipwright/Script/Import.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Import.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Import.pm	Wed Mar 19 03:45:28 2008
@@ -369,7 +369,7 @@
   shipwright import          import a source
 
  Options:
-   --repository(-r)   specify the repository of our project
+   --repository(-r)   specify the repository of our vessel
    --log-level(-l)    specify the log level
    --comment(-m)      specify the comment
    --source(-s)       specify the source path

Modified: Shipwright/trunk/lib/Shipwright/Script/Initialize.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Initialize.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Initialize.pm	Wed Mar 19 03:45:28 2008
@@ -45,14 +45,14 @@
 
 =head1 NAME
 
-Shipwright::Script::Initialize - create the specified project
+Shipwright::Script::Initialize - create a vessel
 
 =head1 SYNOPSIS
 
-  shipwright create          create a project
+  shipwright create          create a vessel
 
  Options:
-   --repository(-r)       specify the repository of our project
+   --repository(-r)       specify the repository of our vessel
    --log-level(-l)            specify the log level
 
 =head1 AUTHOR

Modified: Shipwright/trunk/lib/Shipwright/Script/Maintain.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Maintain.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Maintain.pm	Wed Mar 19 03:45:28 2008
@@ -67,14 +67,14 @@
 
 =head1 NAME
 
-Shipwright::Script::Maintain - maintain a project
+Shipwright::Script::Maintain - maintain a vessel
 
 =head1 SYNOPSIS
 
   shipwright maintain --update-order        update the build order
 
  Options:
-   --repository(-r)   specify the repository of our project
+   --repository(-r)   specify the repository of our vessel
    --log-level(-l)    specify the log level
    --update-order     update the build 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 Mar 19 03:45:28 2008
@@ -156,7 +156,7 @@
   shipwright update          update dist(s)
 
  Options:
-   --repository(-r)   specify the repository of our project
+   --repository(-r)   specify the repository of our vessel
    --log-level(-l)    specify the log level
    --name             specify the source name( only alphanumeric characters and - )
    --all              update all the dists

Modified: Shipwright/trunk/lib/Shipwright/Tutorial.pod
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Tutorial.pod	(original)
+++ Shipwright/trunk/lib/Shipwright/Tutorial.pod	Wed Mar 19 03:45:28 2008
@@ -4,8 +4,7 @@
 
 =head1 SYNOPSIS
 
-In this tutorial, we'll build a simple project: The L<Acme::Hello> module from
-CPAN.  (We love examples with name hello ;))
+In this tutorial, we'll create a simple project(we call it a vessel): The L<Acme::Hello> module from CPAN.  (We love examples with name hello ;))
 
 We will use C<svk://__shipwright/hello> as our repository.
 



More information about the Bps-public-commit mailing list