App-lcpan-Manual

 view release on metacpan or  search on metacpan

lib/App/lcpan/Manual/Tutorial/700_SettingUpADarkPAN.pod  view on Meta::CPAN


 % lcpan inject /path/to/Your-Distribution-1.23.tar.gz

F<Your-Distribution-1.23.tar.gz> is produced by whatever distribution builder
you choose to use (e.g. L<Dist::Zilla>). The above command will make lcpan, via
L<OrePAN>, copy the file to the local CPAN mirror as well as modify
F<modules/02packages.details.txt.gz> to include the modules inside the
distribution.

B<However, the next 'lcpan update' will again remove your distribution from the
index as lcpan will synchronize to the remote CPAN index>. Either you never
update the CPAN mirror, or you re-inject your distributions after every 'lcpan
update'; both of which are not convenient. The future lcpan version will add a
pinning mechanism to retain your injected distribution and when that version is
released this page will be updated accordingly.

To start from an empty repository, you can use L<OrePAN>:

 % mkdir -p /path/to/your/darkpan
 % orepan.pl --destination=/path/to/your/darkpan --pause=YOURID /path/to/Your-Distribution-1.23.tar.gz



( run in 0.281 second using v1.01-cache-2.11-cpan-0d8aa00de5b )