orepan2-inject - Injector
% orepan2-inject git://github.com/miyagawa/Acme-YakiniQ.git@master /path/to/darkpan/ % orepan2-inject Carton /path/to/darkpan/
OrePAN2 injector. This module injects your modules to the OrePAN2 darkpan repository.
You need to run orepan2-indexer script after inject. Index files are required for module installation.
--no-generate-index
No generate 02packages.details.txt.gz.
--author=DANKOGAI
Specify the cpan author directory name.
orepan2 uses 'DUMMY' as default.
orepan2-inject script supports following source types.
orepan2-inject Text-TestBase-0.10.tar.gz /tmp/darkpan
You can inject to darkpan from a file.
orepan2-inject http://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/Text-TestBase-0.10.tar.gz /tmp/darkpan
You can inject to darkpan from archive URL.
% orepan2-inject git://github.com/miyagawa/Acme-YakiniQ.git@master /path/to/darkpan/ % orepan2-inject git://github.com/miyagawa/Acme-YakiniQ.git /path/to/darkpan/
You need to setup git repository as a installable git repo. You need to put a META.json in your repository.
If you are using Minilla or Milla, your repository is already ready to install.
OrePAN2::Inject supports following URL types:
git+file://path/to/repo.git git://github.com/plack/Plack.git@1.0000 # tag git://github.com/plack/Plack.git@devel # branch
It's compatible with cpanm.
% orepan2-inject Data::Dumper /path/to/darkpan
You can inject from CPAN by module name.
To install OrePAN2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OrePAN2
CPAN shell
perl -MCPAN -e shell install OrePAN2
For more information on module installation, please visit the detailed CPAN module installation guide.