cpm
cpm copied to clipboard
fast CPAN client
This does not work (Notice relative path for libraries): ``` PERL5LIB=lib:local/lib/perl5 local/bin/cpm install -w 16 --no-test -L ./local --snapshot ./cpanfile.snapshot --cpanfile ./cpanfile Can't locate Parse/PMFile.pm in @INC (you may need...
The following fails: ```bash #!/bin/bash set -eux -o pipefail orepan2-inject https://cpan.metacpan.org/authors/id/G/GC/GCAMPBELL/Data-Diff-0.01.tar.gz darkpan pkgs="file://$(pwd)/darkpan/modules/02packages.details.txt.gz" darkpan="file://$(pwd)/darkpan/" local=foo rm -rf $local cpm install \ --resolver "02packages,$pkgs,$darkpan" \ -L "$local" \ --show-build-log-on-failure \ darkpan/authors/id/D/DU/DUMMY/Data-Diff-0.01.tar.gz...
Hey! This popped into my head as a potential feature. It lets me run cpm like ``` 👾 test-project git:(master) ✗ cpm install --quiet 32 distributions installed. ``` I pretty...
When listing dependencies via a `cpanfile`, it is possible for `cpm` to install multiple versions of the dependencies, when _some_ of them are pinned at a specific version (but not...
Just like `cpanm` does: https://metacpan.org/pod/cpanm#PERL_CPANM_HOME ``` PERL_CPM_HOME=/new/path ```
Perhaps I just have a fundamental misunderstanding of how the snapshot file is being used. Let's say I have version 0.01 of module `Foo::Bar` installed. Using a cpanfile that just...
I'm experimenting some combinations of using Carmel and cpm in development and production environments. The goal is to manage the dependencies and snapshot with Carmel, then package the vendor/cache directory...
Fixes #162
`cpm` fails when trying to install a module with a name matching a file name (or directory name) in the current directory: ``` FAIL install file:///path/to/project/lib ``` and the `build.log`...
Currently `cpm` supports `--feature` to enable some optional features of a module that is being installed. `cpanm` has a slightly different set of related CLI options, namely [`--with-feature, --without-feature, --with-all-features`](https://metacpan.org/dist/App-cpanminus/view/lib/App/cpanminus/fatscript.pm#-with-feature,-without-feature,-with-all-features)....