carton install
- Install modules locally
- Collects artifacts (metadata)
- Dumps versions to the snapshot file
carton install --deployment
- Recreate CPAN mirror from the snapshot
- installs modules with cpanm
carton install
- runs
cpanm --installdeps ...
- collects
install.json
(generated by cpanm) - dumps
cpanfile.snapshot
- runs
carton install --deployment
- generates
02packages.details.txt
fromcpanfile.snapshot
- runs
cpanm --installdeps --mirror-index ...
- generates
install.json
generation is fragile- relies heavily on cpanm internals
- incomplete git support
- incomplete vendor support
- Same command line interface
- More focused on mirror management (like Pinto, Parcel)
- with vendor support
- Extract module resolutions out of cpanm
- Extract package analyzer out of cpanm