This is an automated email from the git hooks/post-receive script. kanashiro-guest pushed a commit to branch master in repository carton.
commit 10a12d50653cf69bfcb7830a2a935f204da85d94 Author: Tatsuhiko Miyagawa <[email protected]> Date: Sat Mar 30 14:52:36 2013 -0700 convert to Milla --- .gitignore | 12 ++--- .shipit | 2 - Build.PL | 66 +++++++++++++++++++++++ Changes | 2 + MANIFEST | 56 ------------------- MANIFEST.SKIP | 18 ------- META.json | 70 ++++++++++++++++++++++++ README | 119 ---------------------------------------- README.md | 135 ++++++++++++++++++++++++++++++++++++++++++++++ dist.ini | 3 ++ lib/Carton.pm | 144 ++++++++++++++++++++++++++++++++++++++++++++++++- lib/Carton.pod | 140 ----------------------------------------------- {bin => script}/carton | 0 t/00_compile.t | 4 -- 14 files changed, 424 insertions(+), 347 deletions(-) diff --git a/.gitignore b/.gitignore index 2f83122..1a5e611 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,8 @@ MYMETA.* -META.* -Makefile -inc/ -pm_to_blib -*~ -docs/ +META.yml +!META.json .carton/ local/ -carton.lock \ No newline at end of file +carton.lock +/carton-* +/.build diff --git a/.shipit b/.shipit deleted file mode 100644 index d2778c7..0000000 --- a/.shipit +++ /dev/null @@ -1,2 +0,0 @@ -steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN -git.push_to = origin diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..8a7ba96 --- /dev/null +++ b/Build.PL @@ -0,0 +1,66 @@ + +use strict; +use warnings; + +use Module::Build 0.3601; + + +my %module_build_args = ( + "build_requires" => { + "Module::Build" => "0.3601" + }, + "configure_requires" => { + "Module::Build" => "0.3601", + "version" => "0.77" + }, + "dist_abstract" => "Perl module dependency manager (aka Bundler for Perl)", + "dist_author" => [ + "Tatsuhiko Miyagawa <miyagawa\@bulknews.net>" + ], + "dist_name" => "carton", + "dist_version" => "v0.9.10", + "license" => "perl", + "module_name" => "carton", + "recommends" => {}, + "recursive_test_files" => 1, + "requires" => { + "App::cpanminus" => "1.6", + "CPAN::Meta" => "2.120921", + "CPAN::Meta::Requirements" => "2.121", + "Capture::Tiny" => 0, + "Exception::Class" => "1.32", + "ExtUtils::MakeMaker" => "6.59", + "Getopt::Long" => "2.36", + "IO::Compress::Gzip" => 0, + "JSON" => "2.53", + "Module::Build" => "0.38", + "Module::CPANfile" => "0.9004", + "Module::Metadata" => "1.000003", + "Term::ANSIColor" => "1.12", + "Try::Tiny" => "0.09", + "local::lib" => "1.008", + "parent" => "0.223" + }, + "script_files" => [ + "script/carton" + ], + "test_requires" => {} +); + + +unless ( eval { Module::Build->VERSION(0.4004) } ) { + my $tr = delete $module_build_args{test_requires}; + my $br = $module_build_args{build_requires}; + for my $mod ( keys %$tr ) { + if ( exists $br->{$mod} ) { + $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod}; + } + else { + $br->{$mod} = $tr->{$mod}; + } + } +} + +my $build = Module::Build->new(%module_build_args); + +$build->create_build_script; diff --git a/Changes b/Changes index 0d3eac0..8e420ab 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for carton +{{$NEXT}} + v0.9.10 Tue Feb 26 13:32:34 PST 2013 - Same as v0.9_9. Still considered pre-1.0! diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index dfd7b32..0000000 --- a/MANIFEST +++ /dev/null @@ -1,56 +0,0 @@ -.gitignore -bin/carton -Changes -cpanfile -docs/carton-check.pod -docs/carton-exec.pod -docs/carton-faq.pod -docs/carton-install.pod -docs/carton-list.pod -docs/carton-show.pod -docs/carton-tree.pod -docs/carton-uninstall.pod -docs/carton-version.pod -docs/carton.pod -inc/Module/CPANfile.pm -inc/Module/Install.pm -inc/Module/Install/Base.pm -inc/Module/Install/Can.pm -inc/Module/Install/CPANfile.pm -inc/Module/Install/Fetch.pm -inc/Module/Install/Include.pm -inc/Module/Install/Makefile.pm -inc/Module/Install/Metadata.pm -inc/Module/Install/ReadmeFromPod.pm -inc/Module/Install/Repository.pm -inc/Module/Install/Scripts.pm -inc/Module/Install/Win32.pm -inc/Module/Install/WriteAll.pm -lib/Carton.pm -lib/Carton.pod -lib/Carton/CLI.pm -lib/Carton/Doc/Check.pod -lib/Carton/Doc/Exec.pod -lib/Carton/Doc/FAQ.pod -lib/Carton/Doc/Install.pod -lib/Carton/Doc/List.pod -lib/Carton/Doc/Show.pod -lib/Carton/Doc/Tree.pod -lib/Carton/Doc/Version.pod -lib/Carton/Error.pm -lib/Carton/Tree.pm -lib/Carton/Util.pm -Makefile.PL -MANIFEST This list of files -META.json -META.yml -README -t/00_compile.t -xt/CLI.pm -xt/cli/check.t -xt/cli/exec.t -xt/cli/mirror.t -xt/cli/mirror_multi.t -xt/cli/version.t -xt/mirror/modules/02packages.details.txt -xt/pod.t diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP deleted file mode 100644 index 50508e5..0000000 --- a/MANIFEST.SKIP +++ /dev/null @@ -1,18 +0,0 @@ -\bRCS\b -\bCVS\b -\.svn/ -\.git/ -^MANIFEST\. -^Makefile$ -~$ -\.old$ -^blib/ -^pm_to_blib -^MakeMaker-\d -\.gz$ -\.cvsignore -\.shipit -MYMETA -local/ -\.carton -carton.lock diff --git a/META.json b/META.json new file mode 100644 index 0000000..f46aa1c --- /dev/null +++ b/META.json @@ -0,0 +1,70 @@ +{ + "abstract" : "Perl module dependency manager (aka Bundler for Perl)", + "author" : [ + "Tatsuhiko Miyagawa <[email protected]>" + ], + "dynamic_config" : 0, + "generated_by" : "Dist::Milla version v0.9.2, Dist::Zilla version 4.300032, CPAN::Meta::Converter version 2.130880", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "carton", + "prereqs" : { + "build" : { + "requires" : { + "Module::Build" : "0.3601" + } + }, + "configure" : { + "requires" : { + "Module::Build" : "0.3601", + "version" : "0.77" + } + }, + "develop" : { + "requires" : { + "Module::Install" : "0", + "Module::Install::CPANfile" : "0.03", + "Test::Pod" : "1.41" + } + }, + "runtime" : { + "requires" : { + "App::cpanminus" : "1.6", + "CPAN::Meta" : "2.120921", + "CPAN::Meta::Requirements" : "2.121", + "Capture::Tiny" : "0", + "Exception::Class" : "1.32", + "ExtUtils::MakeMaker" : "6.59", + "Getopt::Long" : "2.36", + "IO::Compress::Gzip" : "0", + "JSON" : "2.53", + "Module::Build" : "0.38", + "Module::CPANfile" : "0.9004", + "Module::Metadata" : "1.000003", + "Term::ANSIColor" : "1.12", + "Try::Tiny" : "0.09", + "local::lib" : "1.008", + "parent" : "0.223" + } + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "https://github.com/miyagawa/carton/issues" + }, + "homepage" : "https://github.com/miyagawa/carton", + "repository" : { + "type" : "git", + "url" : "https://github.com/miyagawa/carton.git", + "web" : "https://github.com/miyagawa/carton" + } + }, + "version" : "v0.9.10" +} + diff --git a/README b/README deleted file mode 100644 index 23d79aa..0000000 --- a/README +++ /dev/null @@ -1,119 +0,0 @@ -NAME - Carton - Perl module dependency manager (aka Bundler for Perl) - -SYNOPSIS - # On your development environment - > cat cpanfile - requires 'Plack', 0.9980; - requires 'Starman', 0.2000; - - > carton install - > git add cpanfile carton.lock - > git commit -m "add Plack and Starman" - - # Other developer's machine, or on a deployment box - > carton install - > carton exec -Ilib -- starman -p 8080 myapp.psgi - -WARNING - This software is under heavy development and considered ALPHA quality - till its version hits v1.0.0. Things might be broken, not all features - have been implemented, and APIs are likely to change. YOU HAVE BEEN - WARNED. - -DESCRIPTION - carton is a command line tool to track the Perl module dependencies for - your Perl application. The managed dependencies are tracked in a - *carton.lock* file, which is meant to be version controlled, and the - lock file allows other developers of your application will have the - exact same versions of the modules. - -TUTORIAL - Initializing the environment - carton will use the *.carton* directory for local configuration and the - *local* directory to install modules into. You're recommended to exclude - these directories from the version control system. - - > echo .carton/ >> .gitignore - > echo local/ >> .gitignore - > git add carton.lock - > git commit -m "Start using carton" - - Tracking the dependencies - You can manage the dependencies of your application via *cpanfile*. - - # cpanfile - requires 'Plack', 0.9980; - requires 'Starman', 0.2000; - - And then you can install these dependencies via: - - > carton install - - The modules are installed into your *local* directory, and the - dependencies tree and version information are analyzed and saved into - *carton.lock* in your directory. - - Make sure you add *carton.lock* to your version controlled repository - and commit changes as you update dependencies. This will ensure that - other developers on your app, as well as your deployment environment, - use exactly the same versions of the modules you just installed. - - > git add cpanfile carton.lock - > git commit -m "Added Plack and Starman" - - Deploying your application - Once you've done installing all the dependencies, you can push your - application directory to a remote machine (excluding *local* and - *.carton*) and run the following command: - - > carton install - - This will look at the *carton.lock* and install the exact same versions - of the dependencies into *local*, and now your application is ready to - run. - - Bundling modules - carton can bundle all the tarballs for your dependencies into a - directory so that you can even install dependencies that are not - available on CPAN, such as internal distribution aka DarkPAN. - - > carton bundle - - will bundle these tarballs into *local/cache* directory, and - - > carton install --cached - - will install modules using this local cache. This way you can avoid a - dependency on CPAN meta DB and search.cpan.org at a deploy time, or you - can have dependencies onto private CPAN modules aka DarkPAN. - -COMMUNITY - <https://github.com/miyagawa/carton> - Code repository, Wiki and Issue Tracker - - <irc://irc.perl.org/#carton> - IRC chat room - -AUTHOR - Tatsuhiko Miyagawa - -COPYRIGHT - Tatsuhiko Miyagawa 2011- - -LICENSE - This software is licensed under the same terms as Perl itself. - -SEE ALSO - cpanm - - Bundler <http://gembundler.com/> - - pip <http://pypi.python.org/pypi/pip> - - npm <http://npmjs.org/> - - perlrocks <https://github.com/gugod/perlrocks> - - only - diff --git a/README.md b/README.md new file mode 100644 index 0000000..aad2d20 --- /dev/null +++ b/README.md @@ -0,0 +1,135 @@ +# NAME + +Carton - Perl module dependency manager (aka Bundler for Perl) + +# SYNOPSIS + + # On your development environment + > cat cpanfile + requires 'Plack', 0.9980; + requires 'Starman', 0.2000; + + + > carton install + > git add cpanfile carton.lock + > git commit -m "add Plack and Starman" + + # Other developer's machine, or on a deployment box + > carton install + > carton exec -Ilib -- starman -p 8080 myapp.psgi + +# WARNING + +__This software is under heavy development and considered ALPHA +quality till its version hits v1.0.0. Things might be broken, not all +features have been implemented, and APIs are likely to change. YOU +HAVE BEEN WARNED.__ + +# DESCRIPTION + +carton is a command line tool to track the Perl module dependencies +for your Perl application. The managed dependencies are tracked in a +_carton.lock_ file, which is meant to be version controlled, and the +lock file allows other developers of your application will have the +exact same versions of the modules. + +# TUTORIAL + +## Initializing the environment + +carton will use the _.carton_ directory for local configuration and +the _local_ directory to install modules into. You're recommended to +exclude these directories from the version control system. + + > echo .carton/ >> .gitignore + > echo local/ >> .gitignore + > git add carton.lock + > git commit -m "Start using carton" + +## Tracking the dependencies + +You can manage the dependencies of your application via _cpanfile_. + + # cpanfile + requires 'Plack', 0.9980; + requires 'Starman', 0.2000; + +And then you can install these dependencies via: + + > carton install + +The modules are installed into your _local_ directory, and the +dependencies tree and version information are analyzed and saved into +_carton.lock_ in your directory. + +Make sure you add _carton.lock_ to your version controlled repository +and commit changes as you update dependencies. This will ensure that +other developers on your app, as well as your deployment environment, +use exactly the same versions of the modules you just installed. + + > git add cpanfile carton.lock + > git commit -m "Added Plack and Starman" + +## Deploying your application + +Once you've done installing all the dependencies, you can push your +application directory to a remote machine (excluding _local_ and +_.carton_) and run the following command: + + > carton install + +This will look at the _carton.lock_ and install the exact same +versions of the dependencies into _local_, and now your application +is ready to run. + +## Bundling modules + +carton can bundle all the tarballs for your dependencies into a +directory so that you can even install dependencies that are not +available on CPAN, such as internal distribution aka DarkPAN. + + > carton bundle + +will bundle these tarballs into _local/cache_ directory, and + + > carton install --cached + +will install modules using this local cache. This way you can avoid a +dependency on CPAN meta DB and search.cpan.org at a deploy time, or +you can have dependencies onto private CPAN modules aka DarkPAN. + +# COMMUNITY + +- [https://github.com/miyagawa/carton](https://github.com/miyagawa/carton) + + Code repository, Wiki and Issue Tracker + +- [irc://irc.perl.org/\#carton](irc://irc.perl.org/\#carton) + + IRC chat room + +# AUTHOR + +Tatsuhiko Miyagawa + +# COPYRIGHT + +Tatsuhiko Miyagawa 2011- + +# LICENSE + +This software is licensed under the same terms as Perl itself. + +# SEE ALSO + +[cpanm](http://search.cpan.org/perldoc?cpanm) + +[Bundler](http://gembundler.com/) + +[pip](http://pypi.python.org/pypi/pip) + +[npm](http://npmjs.org/) + +[perlrocks](https://github.com/gugod/perlrocks) + +[only](http://search.cpan.org/perldoc?only) diff --git a/dist.ini b/dist.ini new file mode 100644 index 0000000..c798e20 --- /dev/null +++ b/dist.ini @@ -0,0 +1,3 @@ +name = carton +[@Milla] +installer = ModuleBuild diff --git a/lib/Carton.pm b/lib/Carton.pm index fd51ef4..6392723 100644 --- a/lib/Carton.pm +++ b/lib/Carton.pm @@ -3,7 +3,7 @@ package Carton; use strict; use warnings; use 5.008_001; -use version; our $VERSION = "v0.9.10"; +use version; our $VERSION = version->declare("v0.9.10"); use Cwd; use Config qw(%Config); @@ -421,3 +421,145 @@ sub uninstall { } 1; +__END__ + +=head1 NAME + +Carton - Perl module dependency manager (aka Bundler for Perl) + +=head1 SYNOPSIS + + # On your development environment + > cat cpanfile + requires 'Plack', 0.9980; + requires 'Starman', 0.2000; + + > carton install + > git add cpanfile carton.lock + > git commit -m "add Plack and Starman" + + # Other developer's machine, or on a deployment box + > carton install + > carton exec -Ilib -- starman -p 8080 myapp.psgi + +=head1 WARNING + +B<This software is under heavy development and considered ALPHA +quality till its version hits v1.0.0. Things might be broken, not all +features have been implemented, and APIs are likely to change. YOU +HAVE BEEN WARNED.> + +=head1 DESCRIPTION + +carton is a command line tool to track the Perl module dependencies +for your Perl application. The managed dependencies are tracked in a +I<carton.lock> file, which is meant to be version controlled, and the +lock file allows other developers of your application will have the +exact same versions of the modules. + +=head1 TUTORIAL + +=head2 Initializing the environment + +carton will use the I<.carton> directory for local configuration and +the I<local> directory to install modules into. You're recommended to +exclude these directories from the version control system. + + > echo .carton/ >> .gitignore + > echo local/ >> .gitignore + > git add carton.lock + > git commit -m "Start using carton" + +=head2 Tracking the dependencies + +You can manage the dependencies of your application via I<cpanfile>. + + # cpanfile + requires 'Plack', 0.9980; + requires 'Starman', 0.2000; + +And then you can install these dependencies via: + + > carton install + +The modules are installed into your I<local> directory, and the +dependencies tree and version information are analyzed and saved into +I<carton.lock> in your directory. + +Make sure you add I<carton.lock> to your version controlled repository +and commit changes as you update dependencies. This will ensure that +other developers on your app, as well as your deployment environment, +use exactly the same versions of the modules you just installed. + + > git add cpanfile carton.lock + > git commit -m "Added Plack and Starman" + +=head2 Deploying your application + +Once you've done installing all the dependencies, you can push your +application directory to a remote machine (excluding I<local> and +I<.carton>) and run the following command: + + > carton install + +This will look at the I<carton.lock> and install the exact same +versions of the dependencies into I<local>, and now your application +is ready to run. + +=head2 Bundling modules + +carton can bundle all the tarballs for your dependencies into a +directory so that you can even install dependencies that are not +available on CPAN, such as internal distribution aka DarkPAN. + + > carton bundle + +will bundle these tarballs into I<local/cache> directory, and + + > carton install --cached + +will install modules using this local cache. This way you can avoid a +dependency on CPAN meta DB and search.cpan.org at a deploy time, or +you can have dependencies onto private CPAN modules aka DarkPAN. + +=head1 COMMUNITY + +=over 4 + +=item L<https://github.com/miyagawa/carton> + +Code repository, Wiki and Issue Tracker + +=item L<irc://irc.perl.org/#carton> + +IRC chat room + +=back + +=head1 AUTHOR + +Tatsuhiko Miyagawa + +=head1 COPYRIGHT + +Tatsuhiko Miyagawa 2011- + +=head1 LICENSE + +This software is licensed under the same terms as Perl itself. + +=head1 SEE ALSO + +L<cpanm> + +L<Bundler|http://gembundler.com/> + +L<pip|http://pypi.python.org/pypi/pip> + +L<npm|http://npmjs.org/> + +L<perlrocks|https://github.com/gugod/perlrocks> + +L<only> + +=cut diff --git a/lib/Carton.pod b/lib/Carton.pod deleted file mode 100644 index 238ae34..0000000 --- a/lib/Carton.pod +++ /dev/null @@ -1,140 +0,0 @@ -=head1 NAME - -Carton - Perl module dependency manager (aka Bundler for Perl) - -=head1 SYNOPSIS - - # On your development environment - > cat cpanfile - requires 'Plack', 0.9980; - requires 'Starman', 0.2000; - - > carton install - > git add cpanfile carton.lock - > git commit -m "add Plack and Starman" - - # Other developer's machine, or on a deployment box - > carton install - > carton exec -Ilib -- starman -p 8080 myapp.psgi - -=head1 WARNING - -B<This software is under heavy development and considered ALPHA -quality till its version hits v1.0.0. Things might be broken, not all -features have been implemented, and APIs are likely to change. YOU -HAVE BEEN WARNED.> - -=head1 DESCRIPTION - -carton is a command line tool to track the Perl module dependencies -for your Perl application. The managed dependencies are tracked in a -I<carton.lock> file, which is meant to be version controlled, and the -lock file allows other developers of your application will have the -exact same versions of the modules. - -=head1 TUTORIAL - -=head2 Initializing the environment - -carton will use the I<.carton> directory for local configuration and -the I<local> directory to install modules into. You're recommended to -exclude these directories from the version control system. - - > echo .carton/ >> .gitignore - > echo local/ >> .gitignore - > git add carton.lock - > git commit -m "Start using carton" - -=head2 Tracking the dependencies - -You can manage the dependencies of your application via I<cpanfile>. - - # cpanfile - requires 'Plack', 0.9980; - requires 'Starman', 0.2000; - -And then you can install these dependencies via: - - > carton install - -The modules are installed into your I<local> directory, and the -dependencies tree and version information are analyzed and saved into -I<carton.lock> in your directory. - -Make sure you add I<carton.lock> to your version controlled repository -and commit changes as you update dependencies. This will ensure that -other developers on your app, as well as your deployment environment, -use exactly the same versions of the modules you just installed. - - > git add cpanfile carton.lock - > git commit -m "Added Plack and Starman" - -=head2 Deploying your application - -Once you've done installing all the dependencies, you can push your -application directory to a remote machine (excluding I<local> and -I<.carton>) and run the following command: - - > carton install - -This will look at the I<carton.lock> and install the exact same -versions of the dependencies into I<local>, and now your application -is ready to run. - -=head2 Bundling modules - -carton can bundle all the tarballs for your dependencies into a -directory so that you can even install dependencies that are not -available on CPAN, such as internal distribution aka DarkPAN. - - > carton bundle - -will bundle these tarballs into I<local/cache> directory, and - - > carton install --cached - -will install modules using this local cache. This way you can avoid a -dependency on CPAN meta DB and search.cpan.org at a deploy time, or -you can have dependencies onto private CPAN modules aka DarkPAN. - -=head1 COMMUNITY - -=over 4 - -=item L<https://github.com/miyagawa/carton> - -Code repository, Wiki and Issue Tracker - -=item L<irc://irc.perl.org/#carton> - -IRC chat room - -=back - -=head1 AUTHOR - -Tatsuhiko Miyagawa - -=head1 COPYRIGHT - -Tatsuhiko Miyagawa 2011- - -=head1 LICENSE - -This software is licensed under the same terms as Perl itself. - -=head1 SEE ALSO - -L<cpanm> - -L<Bundler|http://gembundler.com/> - -L<pip|http://pypi.python.org/pypi/pip> - -L<npm|http://npmjs.org/> - -L<perlrocks|https://github.com/gugod/perlrocks> - -L<only> - -=cut diff --git a/bin/carton b/script/carton similarity index 100% rename from bin/carton rename to script/carton diff --git a/t/00_compile.t b/t/00_compile.t deleted file mode 100644 index 485be2b..0000000 --- a/t/00_compile.t +++ /dev/null @@ -1,4 +0,0 @@ -use strict; -use Test::More tests => 1; - -BEGIN { use_ok 'Carton' } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
