[Bps-public-commit] Shipwright branch, master, updated. 8e713d0e9bef622f58d18efe626e52c48038e523

? sunnavy sunnavy at bestpractical.com
Tue Oct 19 01:15:09 EDT 2010


The branch, master has been updated
       via  8e713d0e9bef622f58d18efe626e52c48038e523 (commit)
      from  daae1d236ec36c735bd514b0838a533944e67ce1 (commit)

Summary of changes:
 lib/Shipwright/Script/Create.pm        |    7 ++++---
 lib/Shipwright/Script/Defaultbranch.pm |    8 ++++++++
 lib/Shipwright/Script/Delete.pm        |    7 +++++++
 lib/Shipwright/Script/Flags.pm         |   19 ++++++++++++++-----
 lib/Shipwright/Script/Import.pm        |    8 ++++++++
 lib/Shipwright/Script/Ktf.pm           |    8 ++++++++
 lib/Shipwright/Script/List.pm          |    7 +++++++
 lib/Shipwright/Script/Maintain.pm      |    7 +++++++
 lib/Shipwright/Script/Relocate.pm      |    8 ++++++++
 lib/Shipwright/Script/Rename.pm        |    7 +++++++
 lib/Shipwright/Script/Requires.pm      |    7 +++++++
 lib/Shipwright/Script/Update.pm        |    7 +++++++
 12 files changed, 92 insertions(+), 8 deletions(-)

- Log -----------------------------------------------------------------
commit 8e713d0e9bef622f58d18efe626e52c48038e523
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Oct 19 13:14:46 2010 +0800

    global options in all the cmds

diff --git a/lib/Shipwright/Script/Create.pm b/lib/Shipwright/Script/Create.pm
index 3a2973a..091bb02 100644
--- a/lib/Shipwright/Script/Create.pm
+++ b/lib/Shipwright/Script/Create.pm
@@ -37,6 +37,10 @@ Shipwright::Script::Create - Create a shipyard
  shipwright create -r svn:file:///tmp/foo/bar
  shipwright create -r git:file:///home/me/shipwright/my_proj.git
 
+=head1 OPTIONS
+
+ -f [--force]                   : delete the old shipyard if exists
+
 =head1 GLOBAL OPTIONS
 
  -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
@@ -44,9 +48,6 @@ Shipwright::Script::Create - Create a shipyard
                                   (info, debug, warn, error, or fatal)
  --log-file FILENAME            : specify the log file
 
-=head1 OPTIONS
-
- -f [--force]                   : delete the old shipyard if exists
 
 =head1 AUTHORS
 
diff --git a/lib/Shipwright/Script/Defaultbranch.pm b/lib/Shipwright/Script/Defaultbranch.pm
index 8e0c22f..8d61a3d 100644
--- a/lib/Shipwright/Script/Defaultbranch.pm
+++ b/lib/Shipwright/Script/Defaultbranch.pm
@@ -50,6 +50,14 @@ Shipwright::Script::Defaultbranch - Set the default branch for a source
 
 See also L<Shipwright::Manual::UsingBranches>.
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Delete.pm b/lib/Shipwright/Script/Delete.pm
index 88e457d..d6dbbfa 100644
--- a/lib/Shipwright/Script/Delete.pm
+++ b/lib/Shipwright/Script/Delete.pm
@@ -84,6 +84,13 @@ Shipwright::Script::Delete - Delete source(s)
  --unreferenced                 : to delete all unreferenced dists except the last one
  --check-only                   : show the lists, not really delete
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Flags.pm b/lib/Shipwright/Script/Flags.pm
index 4400f2a..489fbee 100644
--- a/lib/Shipwright/Script/Flags.pm
+++ b/lib/Shipwright/Script/Flags.pm
@@ -120,11 +120,6 @@ Shipwright::Script::Flags - Maintain flags
  shipwright flags mysql --add mysql
  shipwright flags cpan-DBD-mysql --add mysql
 
-=head1 OPTIONS
-
- --add, --delete, --set FLAGS   : specify the flags, split by commas
- --mandatory                    : set these flags as being required
-
 =head1 DESCRIPTION
 
 The flags command is used for managing the flags feature of Shipwright. Flags
@@ -135,6 +130,20 @@ binary vessels to be built for both MySQL and PostgreSQL from it.
 
 For more information on using flags, see L<Shipwright::Manual::UsingFlags>.
 
+
+=head1 OPTIONS
+
+ --add, --delete, --set FLAGS   : specify the flags, split by commas
+ --mandatory                    : set these flags as being required
+
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Import.pm b/lib/Shipwright/Script/Import.pm
index 71ff593..bf9b12e 100644
--- a/lib/Shipwright/Script/Import.pm
+++ b/lib/Shipwright/Script/Import.pm
@@ -516,6 +516,14 @@ e.g. L<shipyard:/tmp/fs/foo>
 
 =back
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Ktf.pm b/lib/Shipwright/Script/Ktf.pm
index 6c087f8..5bbb7e0 100644
--- a/lib/Shipwright/Script/Ktf.pm
+++ b/lib/Shipwright/Script/Ktf.pm
@@ -80,6 +80,14 @@ Shipwright::Script::Ktf - Maintain known test failure conditions
  --delete conditions            : delete conditions
  --set conditions               : set conditions
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/List.pm b/lib/Shipwright/Script/List.pm
index d685bb1..76d0302 100644
--- a/lib/Shipwright/Script/List.pm
+++ b/lib/Shipwright/Script/List.pm
@@ -271,6 +271,13 @@ Shipwright::Script::List - List dists of a project
    --with-latest-version           : show the latest version if possible
    --only-update                   : only show the dists that can be updated
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Maintain.pm b/lib/Shipwright/Script/Maintain.pm
index 4090798..9dbcb07 100644
--- a/lib/Shipwright/Script/Maintain.pm
+++ b/lib/Shipwright/Script/Maintain.pm
@@ -76,6 +76,13 @@ Shipwright::Script::Maintain - Maintain a shipyard
  --skip-recommends            : skip recommends when finding deps
  --skip-build-requires        : skip build requires when finding deps
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Relocate.pm b/lib/Shipwright/Script/Relocate.pm
index b9540c8..9fceacc 100644
--- a/lib/Shipwright/Script/Relocate.pm
+++ b/lib/Shipwright/Script/Relocate.pm
@@ -84,6 +84,14 @@ Shipwright::Script::Relocate - Relocate uri of a source
 
  relocate mysql http://new_uri_of_mysql.tar.gz
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Rename.pm b/lib/Shipwright/Script/Rename.pm
index 87fc7b7..fe330de 100644
--- a/lib/Shipwright/Script/Rename.pm
+++ b/lib/Shipwright/Script/Rename.pm
@@ -82,6 +82,13 @@ Shipwright::Script::Rename - Rename a source
 
   shipwright rename gd libgd
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Requires.pm b/lib/Shipwright/Script/Requires.pm
index 8fc86ba..113d2ce 100644
--- a/lib/Shipwright/Script/Requires.pm
+++ b/lib/Shipwright/Script/Requires.pm
@@ -160,6 +160,13 @@ Shipwright::Script::Requires - list CPAN modules the source depends on
 The requires command only show the requirements of a source, it doesn't
 create or import at all.
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
 =head1 AUTHORS
 
 sunnavy  C<< <sunnavy at bestpractical.com> >>
diff --git a/lib/Shipwright/Script/Update.pm b/lib/Shipwright/Script/Update.pm
index 8c543d9..78d5ba4 100644
--- a/lib/Shipwright/Script/Update.pm
+++ b/lib/Shipwright/Script/Update.pm
@@ -301,6 +301,13 @@ with --only-sources, only sources will be updated, scripts won't.
 The update command can also be used to update shipyard's own files like
 builder, utility and the inc directory.
 
+=head1 GLOBAL OPTIONS
+
+ -r [--repository] REPOSITORY   : specify the repository uri of our shipyard
+ -l [--log-level] LOGLEVEL      : specify the log level
+                                  (info, debug, warn, error, or fatal)
+ --log-file FILENAME            : specify the log file
+
 =head1 ALIASES
 
 up

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



More information about the Bps-public-commit mailing list