[carton] 467/472: Imported Upstream version 1.0.21

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:39:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 85bc4397d7bb663afa6cf906b3a4dcee5ad17388
Merge: 62f304d 1c484f0
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Thu Jul 23 21:12:40 2015 -0300

    Imported Upstream version 1.0.21

 Build.PL                       | 69 --------------------------------
 Changes                        | 35 +++++++++++++++++
 LICENSE                        |  2 +-
 MANIFEST                       |  4 +-
 META.json                      | 44 ++++++++++-----------
 META.yml                       | 60 ++++++++++++++--------------
 Makefile.PL                    | 73 ++++++++++++++++++++++++++++++++++
 README                         | 89 +++++++++++++++++++++++++-----------------
 cpanfile                       | 13 +++---
 dist.ini                       |  2 +-
 lib/Carton.pm                  |  2 +-
 lib/Carton/Builder.pm          | 19 +++++----
 lib/Carton/CLI.pm              | 42 ++++++++++----------
 lib/Carton/CPANfile.pm         | 27 ++++++++++---
 lib/Carton/Dependency.pm       | 12 +++---
 lib/Carton/Dist.pm             | 18 +++++----
 lib/Carton/Dist/Core.pm        |  7 ++--
 lib/Carton/Doc/Bundle.pod      | 11 +-----
 lib/Carton/Doc/Fatpack.pod     | 15 +++++++
 lib/Carton/Doc/Install.pod     |  2 +-
 lib/Carton/Environment.pm      | 24 ++++++------
 lib/Carton/Error.pm            | 46 ++++++++++++++++++----
 lib/Carton/Index.pm            | 30 ++++++++++----
 lib/Carton/Mirror.pm           |  6 +--
 lib/Carton/Package.pm          |  8 +---
 lib/Carton/Packer.pm           |  6 ++-
 lib/Carton/Snapshot.pm         | 32 +++++++++++----
 lib/Carton/Snapshot/Emitter.pm |  2 +-
 lib/Carton/Snapshot/Parser.pm  |  2 +-
 lib/Carton/Tree.pm             |  6 +--
 t/release-pod-syntax.t         |  5 +--
 xt/CLI.pm                      |  6 +--
 xt/cli/check.t                 |  2 +-
 xt/cli/mirror.t                |  4 +-
 xt/cli/mismatch.t              | 11 ++----
 xt/cli/update.t                |  2 +-
 36 files changed, 435 insertions(+), 303 deletions(-)

diff --cc Changes
index 4b3f254,700f304..addbcce
--- a/Changes
+++ b/Changes
@@@ -1,5 -1,42 +1,40 @@@
  Revision history for carton
  
 -{{$NEXT}}
 -
+ v1.0.21  2015-05-15 12:21:47 PDT
+         - Changed Module::Reader dependency to requires for now, since it will be required
+           on the runtime by the fatpacked carton.
+ 
+ v1.0.20  2015-05-08 16:20:37 PDT
+         - INCOMPATIBLE: Disable fatpack generation in carton bundle by default.
+           Use the new standalone command carton fatpack, to generate vendor/bin/carton
+ 
+ v1.0.19  2015-05-01 17:48:06 PDT
+         - Remove Module::Build and MakeMaker from prerequisite since cpanm will
+           install them as required
+ 
+ v1.0.18  2015-04-29 13:46:21 PDT
+         - Sort 02packages case insensitive, like PAUSE
+ 
+ v1.0.17  2015-04-27 16:18:04 PDT
+         - Add back warnings to Carton::CLI
+         - Properly fail when a command is not found in carton exec (hachi) #193
+ 
+ v1.0.16  2015-04-25 06:37:17 PDT
+         - update 02packages.details.txt whitespace padding to follow PAUSE
+ 
+ v1.0.15  2015-04-20 11:13:32 CEST
+         - downgrade some dependencies for fatpack-related tools to recommends
+           (probably ship it as a separate distribution in the future)
+ 
+ v1.0.14  2015-04-20 00:07:26 CEST
+         - same as v1.0.14
+ 
+ v1.0.13  2015-04-19 19:38:42 CEST
+         - require cpanm 1.7030 for better cpanfile support
+         - switch to MakeMaker
+         - remove Exception::Class and Moo in favor of Class::Tiny
+         - add an ability to set generator in Carton::Index for Carmel use
+ 
  v1.0.12  2013-09-24 20:03:47 JST
          - up Path::Tiny
          - Add --no-fatpack to carton bundle #140
diff --cc MANIFEST
index 44ac67d,0000000..6791b35
mode 100644,000000..100644
--- a/MANIFEST
+++ b/MANIFEST
@@@ -1,64 -1,0 +1,66 @@@
- Build.PL
++# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.036.
 +Changes
 +LICENSE
 +MANIFEST
 +META.json
 +META.yml
++Makefile.PL
 +README
 +cpanfile
 +dist.ini
 +lib/Carton.pm
 +lib/Carton/Builder.pm
 +lib/Carton/CLI.pm
 +lib/Carton/CPANfile.pm
 +lib/Carton/Dependency.pm
 +lib/Carton/Dist.pm
 +lib/Carton/Dist/Core.pm
 +lib/Carton/Doc/Bundle.pod
 +lib/Carton/Doc/Check.pod
 +lib/Carton/Doc/Exec.pod
 +lib/Carton/Doc/FAQ.pod
++lib/Carton/Doc/Fatpack.pod
 +lib/Carton/Doc/Install.pod
 +lib/Carton/Doc/List.pod
 +lib/Carton/Doc/Show.pod
 +lib/Carton/Doc/Tree.pod
 +lib/Carton/Doc/Update.pod
 +lib/Carton/Doc/Upgrading.pod
 +lib/Carton/Doc/Version.pod
 +lib/Carton/Environment.pm
 +lib/Carton/Error.pm
 +lib/Carton/Index.pm
 +lib/Carton/Mirror.pm
 +lib/Carton/Package.pm
 +lib/Carton/Packer.pm
 +lib/Carton/Snapshot.pm
 +lib/Carton/Snapshot/Emitter.pm
 +lib/Carton/Snapshot/Parser.pm
 +lib/Carton/Tree.pm
 +lib/Carton/Util.pm
 +script/carton
 +t/release-pod-syntax.t
 +xt/CLI.pm
 +xt/cli/bundle.t
 +xt/cli/check.t
 +xt/cli/cpanfile.t
 +xt/cli/deployment.t
 +xt/cli/deps_phase.t
 +xt/cli/exec.t
 +xt/cli/freeze.t
 +xt/cli/help.t
 +xt/cli/install.t
 +xt/cli/json_pp.t
 +xt/cli/mirror.t
 +xt/cli/mismatch.t
 +xt/cli/no_cpanfile.t
 +xt/cli/perl.t
 +xt/cli/snapshot.t
 +xt/cli/subdir.t
 +xt/cli/tree.t
 +xt/cli/update.t
 +xt/cli/version.t
 +xt/cli/without.t
 +xt/mirror/authors/id/M/MI/MIYAGAWA/Hash-MultiValue-0.08.tar.gz
 +xt/mirror/modules/02packages.details.txt
 +xt/mirror/modules/02packages.details.txt.gz
diff --cc META.yml
index acbf219,0000000..9e01fae
mode 100644,000000..100644
--- a/META.yml
+++ b/META.yml
@@@ -1,62 -1,0 +1,62 @@@
 +---
 +abstract: 'Perl module dependency manager (aka Bundler for Perl)'
 +author:
 +  - 'Tatsuhiko Miyagawa'
- build_requires:
-   Module::Build: 0.3601
++build_requires: {}
 +configure_requires:
-   Module::Build: 0.3601
-   version: 0.77
++  ExtUtils::MakeMaker: '0'
++  version: '0.77'
 +dynamic_config: 0
- generated_by: 'Dist::Milla version v1.0.4, Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132660'
++generated_by: 'Dist::Zilla version 5.036, Dist::Milla version v1.0.15, CPAN::Meta::Converter version 2.150001'
 +license: perl
 +meta-spec:
 +  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-   version: 1.4
++  version: '1.4'
 +name: Carton
 +no_index:
 +  directory:
 +    - t
 +    - xt
 +    - inc
 +    - share
 +    - eg
 +    - examples
++recommends:
++  App::FatPacker: '0.009018'
++  File::pushd: '0'
 +requires:
-   App::FatPacker: 0.009018
-   App::cpanminus: 1.694
-   CPAN::Meta: 2.120921
-   CPAN::Meta::Requirements: 2.121
-   Exception::Class: 1.32
-   ExtUtils::MakeMaker: 6.64
-   File::pushd: 0
-   Getopt::Long: 2.39
-   JSON: 2.53
-   Module::Build: 0.4004
-   Module::CPANfile: 0.9031
-   Module::CoreList: 0
-   Module::Metadata: 1.000003
-   Module::Reader: 0.002
-   Moo: 1.002
-   Path::Tiny: 0.033
-   Try::Tiny: 0.09
-   parent: 0.223
++  App::cpanminus: '1.703'
++  CPAN::Meta: '2.120921'
++  CPAN::Meta::Requirements: '2.121'
++  Class::Tiny: '1.001'
++  Getopt::Long: '2.39'
++  JSON: '2.53'
++  Module::CPANfile: '0.9031'
++  Module::CoreList: '0'
++  Module::Metadata: '1.000003'
++  Module::Reader: '0.002'
++  Path::Tiny: '0.033'
++  Try::Tiny: '0.09'
++  parent: '0.223'
 +  perl: v5.8.5
 +resources:
-   bugtracker: https://github.com/miyagawa/carton/issues
-   homepage: https://github.com/miyagawa/carton
-   repository: https://github.com/miyagawa/carton.git
- version: v1.0.12
++  bugtracker: https://github.com/perl-carton/carton/issues
++  homepage: https://github.com/perl-carton/carton
++  repository: https://github.com/perl-carton/carton.git
++version: v1.0.21
 +x_contributors:
 +  - 'Christian Walde <walde.christian at googlemail.com>'
 +  - 'David Golden <dagolden at cpan.org>'
 +  - 'David Steinbrunner <dsteinbrunner at pobox.com>'
++  - 'ikasam_a <masaki.nakagawa at gmail.com>'
++  - 'Jonathan Steinert <hachi at fastly.com>'
 +  - 'Kan Fushihara <kan.fushihara at gmail.com>'
 +  - 'Masahiro Chiba <chiba at everqueue.com>'
 +  - 'NAKAGAWA Masaki <masaki.nakagawa at gmail.com>'
 +  - 'Olaf Alders <olaf at wundersolutions.com>'
 +  - 'Pedro Figueiredo <me at pedrofigueiredo.org>'
++  - 'Peter Oliver <git at mavit.org.uk>'
++  - 'shiba_yu36 <shibayu36 at gmail.com>'
++  - 'Tatsuhiko Miyagawa <miyagawa at bulknews.net>'
 +  - 'Tatsuhiko Miyagawa <miyagawa at gmail.com>'
 +  - 'Yanick Champoux <yanick at babyl.dyndns.org>'
-   - 'ikasam_a <masaki.nakagawa at gmail.com>'
-   - 'shiba_yu36 <shibayu36 at gmail.com>'
diff --cc README
index 15e8349,0000000..32be945
mode 100644,000000..100644
--- a/README
+++ b/README
@@@ -1,148 -1,0 +1,165 @@@
 +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 cpanfile.snapshot
 +      > git commit -m "add Plack and Starman"
- 
++    
 +      # Other developer's machine, or on a deployment box
 +      > carton install
 +      > carton exec starman -p 8080 myapp.psgi
 +
 +AVAILABILITY
++
 +    Carton only works with perl installation with the complete set of core
 +    modules. If you use perl installed by a vendor package with modules
 +    stripped from core, Carton is not expected to work correctly.
 +
-     Also, Carton requires you to run your command/application with "carton
-     exec" command, which means it's difficult or impossible to run in an
++    Also, Carton requires you to run your command/application with carton
++    exec command, which means it's difficult or impossible to run in an
 +    embedded perl use case such as mod_perl.
 +
 +DESCRIPTION
++
 +    carton is a command line tool to track the Perl module dependencies for
 +    your Perl application. Dependencies are declared using cpanfile format,
-     and the managed dependencies are tracked in a *cpanfile.snapshot* file,
++    and the managed dependencies are tracked in a cpanfile.snapshot file,
 +    which is meant to be version controlled, and the snapshot file allows
 +    other developers of your application will have the exact same versions
 +    of the modules.
 +
-     For "cpanfile" syntax, see cpanfile documentation.
++    For cpanfile syntax, see cpanfile documentation.
 +
 +TUTORIAL
-   Initializing the environment
-     carton will use the *local* directory to install modules into. You're
++
++ Initializing the environment
++
++    carton will use the local directory to install modules into. You're
 +    recommended to exclude these directories from the version control
 +    system.
 +
 +      > echo local/ >> .gitignore
 +      > git add cpanfile cpanfile.snapshot
 +      > git commit -m "Start using carton"
 +
-   Tracking the dependencies
-     You can manage the dependencies of your application via "cpanfile".
++ 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
++    The modules are installed into your local directory, and the
 +    dependencies tree and version information are analyzed and saved into
-     *cpanfile.snapshot* in your directory.
++    cpanfile.snapshot in your directory.
 +
-     Make sure you add *cpanfile* and *cpanfile.snapshot* to your version
++    Make sure you add cpanfile and cpanfile.snapshot 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.
++    deployment environment, use exactly the same versions of the modules
++    you just installed.
 +
 +      > git add cpanfile cpanfile.snapshot
 +      > git commit -m "Added Plack and Starman"
 +
-   Deploying your application
++ 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:
++    application directory to a remote machine (excluding local and .carton)
++    and run the following command:
 +
 +      > carton install --deployment
 +
-     This will look at the *cpanfile.snapshot* and install the exact same
-     versions of the dependencies into *local*, and now your application is
++    This will look at the cpanfile.snapshot and install the exact same
++    versions of the dependencies into local, and now your application is
 +    ready to run.
 +
-     The "--deployment" flag makes sure that carton will only install modules
-     and versions available in your snapshot, and won't fallback to query for
-     CPAN Meta DB for missing modules.
++    The --deployment flag makes sure that carton will only install modules
++    and versions available in your snapshot, and won't fallback to query
++    for CPAN Meta DB for missing modules.
++
++ Bundling modules
 +
-   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 *vendor/cache* directory, and
++    will bundle these tarballs into vendor/cache directory, and
 +
 +      > carton install --cached
 +
-     will install modules using this local cache. Combined with
-     "--deployment" option, you can avoid querying for a database like CPAN
-     Meta DB or downloading files from CPAN mirrors upon deployment time.
++    will install modules using this local cache. Combined with --deployment
++    option, you can avoid querying for a database like CPAN Meta DB or
++    downloading files from CPAN mirrors upon deployment time.
 +
 +PERL VERSIONS
++
 +    When you take a snapshot in one perl version and deploy on another
 +    (different) version, you might have troubles with core modules.
 +
-     The simplest solution, which might not work for everybody, is to use the
-     same version of perl in the development and deployment.
++    The simplest solution, which might not work for everybody, is to use
++    the same version of perl in the development and deployment.
 +
-     To enforce that, you're recommended to use plenv and ".perl-version" to
++    To enforce that, you're recommended to use plenv and .perl-version to
 +    lock perl versions in development.
 +
-     You can also specify the minimum perl required in "cpanfile":
++    You can also specify the minimum perl required in cpanfile:
 +
 +      requires 'perl', '5.16.3';
 +
 +    and carton (and cpanm) will give you errors when deployed on hosts with
 +    perl lower than the specified version.
 +
 +COMMUNITY
-     <https://github.com/miyagawa/carton>
-         Code repository, Wiki and Issue Tracker
 +
-     <irc://irc.perl.org/#carton>
-         IRC chat room
++    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
 +
 +    cpanfile
 +
 +    Bundler <http://gembundler.com/>
 +
 +    pip <http://pypi.python.org/pypi/pip>
 +
 +    npm <http://npmjs.org/>
 +
 +    perlrocks <https://github.com/gugod/perlrocks>
 +
 +    only
 +
diff --cc t/release-pod-syntax.t
index d46a955,0000000..cdd6a6c
mode 100644,000000..100644
--- a/t/release-pod-syntax.t
+++ b/t/release-pod-syntax.t
@@@ -1,15 -1,0 +1,14 @@@
 +#!perl
 +
 +BEGIN {
 +  unless ($ENV{RELEASE_TESTING}) {
 +    require Test::More;
 +    Test::More::plan(skip_all => 'these tests are for release candidate testing');
 +  }
 +}
 +
++# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
 +use Test::More;
- 
- eval "use Test::Pod 1.41";
- plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
++use Test::Pod 1.41;
 +
 +all_pod_files_ok();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git



More information about the Pkg-perl-cvs-commits mailing list