From: Vincent Pit Date: Wed, 24 Feb 2010 19:22:18 +0000 (+0100) Subject: This is 0.07 X-Git-Tag: v0.07^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=commitdiff_plain;h=3ff07b59ff41754a77105973a4f1e9d6d25b2c3a This is 0.07 --- diff --git a/Changes b/Changes index 99d23da..7705490 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,20 @@ Revision history for rgit +0.07 2010-02-24 19:25 UTC + + Chg : Policies earned their own set of classes under the + App::Rgit::Policy namespace. + + Chg : Object::Tiny is no longer a dependency. + + Chg : The module now depends on File::Spec in spite of + File::Spec::Functions. + + Chg : Also try to append .exe, .com and .cmd to the end of the git + path on Win32. + + Fix : rgit used to run the command in "/path/foo.git" when the root + directory was named "/path/foo/". + + Fix : Work around Kwalitee test misfailures. + + Opt : The .git directories won't be searched for another repositories + anymore. + + Tst : Skip tests when the mock git executable can't be run. + 0.06 2009-01-04 15:35 UTC + Chg : INCOMPATIBLE CHANGE : since ^ is actually an escape character for cmd.exe, and that there's no good universal escape diff --git a/MANIFEST b/MANIFEST index 4269543..e729140 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,6 @@ Changes MANIFEST +META.yml Makefile.PL README bin/rgit diff --git a/META.yml b/META.yml index 1939c31..13d20b6 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: rgit -version: 0.06 +version: 0.07 abstract: Recursively execute a command on all the git repositories in a directory tree. author: - Vincent Pit @@ -8,25 +8,39 @@ license: perl distribution_type: module configure_requires: ExtUtils::MakeMaker: 0 -requires: +build_requires: + base: 0 Carp: 0 Cwd: 0 Exporter: 0 + ExtUtils::MakeMaker: 0 File::Find: 0 - File::Spec::Functions: 0 - Object::Tiny: 0 + File::Spec: 0 + File::Temp: 0 POSIX: 0 + Test::More: 0 +requires: + base: 0 + Carp: 0 + Cwd: 0 + Exporter: 0 + File::Find: 0 + File::Spec: 0 + perl: 5.008 + POSIX: 0 +resources: + bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit + homepage: http://search.cpan.org/dist/rgit/ + license: http://dev.perl.org/licenses/ + repository: http://git.profvince.com/?p=perl%2Fmodules%2Frgit.git no_index: directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.48 +generated_by: ExtUtils::MakeMaker version 6.56 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 -build_requires: - Cwd: 0 - ExtUtils::MakeMaker: 0 - File::Spec::Functions: 0 - File::Temp: 0 - Test::More: 0 +dynamic_config: 0 +recommends: + Term::ReadKey: 0 diff --git a/README b/README index 1f54967..fbb30f0 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME directory tree. VERSION - Version 0.06 + Version 0.07 SYNOPSIS rgit [-K|-I|-D|-V] [GIT_OPTIONS] COMMAND [COMMAND_ARGS] @@ -13,8 +13,12 @@ DESCRIPTION current working directory or - if it has been set - the directory given by the "GIT_DIR" environment variable) for all git repositories, sort this list by the repository path, "chdir" into each of them, and - executes the specified git command. Moreover, those formats are - substituted in the arguments before running the command : + executes the specified git command. For efficiency reasons, repositories + located inside a bare repository or under the .git directory of a work + repository won't be searched for. + + Moreover, those formats are substituted in the arguments before running + the command : * %n with the current repository name. @@ -84,10 +88,8 @@ EXAMPLES GIT_DIR="/foo/bar" rgit remote add host git://host/qux/%b DEPENDENCIES - The core modules Carp, Config, Cwd, Exporter, File::Find, - File::Spec::Functions and POSIX. - - Object::Tiny. + The core modules Carp, Config, Cwd, Exporter, File::Find, File::Spec and + POSIX. AUTHOR Vincent Pit, "", . @@ -110,7 +112,7 @@ SUPPORT . COPYRIGHT & LICENSE - Copyright 2008-2009 Vincent Pit, all rights reserved. + Copyright 2008,2009,2010 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/bin/rgit b/bin/rgit index 040dae6..2b8a212 100755 --- a/bin/rgit +++ b/bin/rgit @@ -13,7 +13,7 @@ use App::Rgit::Policy; our $VERSION; BEGIN { - $VERSION = '0.06'; + $VERSION = '0.07'; } my %opts; @@ -64,7 +64,7 @@ rgit - Recursively execute a command on all the git repositories in a directory =head1 VERSION -Version 0.06 +Version 0.07 =head1 SYNOPSIS diff --git a/lib/App/Rgit.pm b/lib/App/Rgit.pm index 472884d..4231436 100644 --- a/lib/App/Rgit.pm +++ b/lib/App/Rgit.pm @@ -12,11 +12,11 @@ App::Rgit - Backend that supports the rgit utility. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Command.pm b/lib/App/Rgit/Command.pm index 7fbba53..60b23e3 100644 --- a/lib/App/Rgit/Command.pm +++ b/lib/App/Rgit/Command.pm @@ -13,11 +13,11 @@ App::Rgit::Command - Base class for App::Rgit commands. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Command/Each.pm b/lib/App/Rgit/Command/Each.pm index 872f7f4..3666c63 100644 --- a/lib/App/Rgit/Command/Each.pm +++ b/lib/App/Rgit/Command/Each.pm @@ -14,11 +14,11 @@ App::Rgit::Command::Each - Class for commands to execute for each repository. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Command/Once.pm b/lib/App/Rgit/Command/Once.pm index 574f420..8186d2e 100644 --- a/lib/App/Rgit/Command/Once.pm +++ b/lib/App/Rgit/Command/Once.pm @@ -11,11 +11,11 @@ App::Rgit::Command::Once - Class for commands to execute only once. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Config.pm b/lib/App/Rgit/Config.pm index 903b3e4..66548af 100644 --- a/lib/App/Rgit/Config.pm +++ b/lib/App/Rgit/Config.pm @@ -18,11 +18,11 @@ App::Rgit::Config - Base class for App::Rgit configurations. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Config/Default.pm b/lib/App/Rgit/Config/Default.pm index faaec23..1544e47 100644 --- a/lib/App/Rgit/Config/Default.pm +++ b/lib/App/Rgit/Config/Default.pm @@ -15,11 +15,11 @@ App::Rgit::Config::Default - Default App::Rgit configuration class. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Guard.pm b/lib/App/Rgit/Guard.pm index d85e8df..ad6b229 100644 --- a/lib/App/Rgit/Guard.pm +++ b/lib/App/Rgit/Guard.pm @@ -9,11 +9,11 @@ App::Rgit::Guard - Scope guard helper for App::Rgit. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Policy.pm b/lib/App/Rgit/Policy.pm index 2a0c760..a24a300 100644 --- a/lib/App/Rgit/Policy.pm +++ b/lib/App/Rgit/Policy.pm @@ -9,11 +9,11 @@ App::Rgit::Policy - Base class for App::Rgit policies. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Policy/Default.pm b/lib/App/Rgit/Policy/Default.pm index 5d96a66..7164b45 100644 --- a/lib/App/Rgit/Policy/Default.pm +++ b/lib/App/Rgit/Policy/Default.pm @@ -13,11 +13,11 @@ App::Rgit::Policy::Default - The default policy that stops on error. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Policy/Interactive.pm b/lib/App/Rgit/Policy/Interactive.pm index fd4d9df..26eef24 100644 --- a/lib/App/Rgit/Policy/Interactive.pm +++ b/lib/App/Rgit/Policy/Interactive.pm @@ -15,11 +15,11 @@ App::Rgit::Policy::Interactive - A policy that asks what to do on error. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Policy/Keep.pm b/lib/App/Rgit/Policy/Keep.pm index 34b8f4f..230518a 100644 --- a/lib/App/Rgit/Policy/Keep.pm +++ b/lib/App/Rgit/Policy/Keep.pm @@ -13,11 +13,11 @@ App::Rgit::Policy::Keep - A policy that ignores errors. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Repository.pm b/lib/App/Rgit/Repository.pm index 9894a50..ec08d4b 100644 --- a/lib/App/Rgit/Repository.pm +++ b/lib/App/Rgit/Repository.pm @@ -26,11 +26,11 @@ App::Rgit::Repository - Class representing a Git repository. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/App/Rgit/Utils.pm b/lib/App/Rgit/Utils.pm index 65674de..75fe11e 100644 --- a/lib/App/Rgit/Utils.pm +++ b/lib/App/Rgit/Utils.pm @@ -9,11 +9,11 @@ App::Rgit::Utils - Miscellaneous utilities for App::Rgit classes. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION