View on
MetaCPAN
Olaf Alders > OrePAN2-0.46 > orepan2-inject

Download:
OrePAN2-0.46.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

orepan2-inject - Injector

SYNOPSIS ^

    % orepan2-inject git://github.com/tokuhirom/Text-TestBase.git@master /path/to/darkpan/
    % orepan2-inject Carton /path/to/darkpan/

DESCRIPTION ^

OrePAN2 injector. This module injects your modules into the OrePAN2 DarkPAN repository.

OPTIONS ^

--no-generate-index

Do not generate 02packages.details.txt.gz.

--author=DANKOGAI

Specify the cpan author directory name.

OrePAN2 uses 'DUMMY' as a default author name.

--author_subdir=ExtraStuff

Create directory elements following the author directory name.

By default OrePAN2 does not create directory elements beyond the author.

--simple

Use a simple format for 02packages metadata. This helps avoid merge conflicts.

SOURCES ^

orepan2-inject script supports following source types.

ARCHIVE FILE

    orepan2-inject Text-TestBase-0.10.tar.gz /path/to/darkpan/

You can inject into DarkPAN from a file.

HTTP URL

    orepan2-inject http://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/Text-TestBase-0.10.tar.gz /path/to/darkpan/

You can inject into DarkPAN from an archive URL.

Git repository

    % orepan2-inject git://github.com/tokuhirom/Text-TestBase.git@master /path/to/darkpan/
    % orepan2-inject git://github.com/tokuhirom/Text-TestBase.git        /path/to/darkpan/

You need to set up 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 the 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.

Module name

    % orepan2-inject Data::Dumper /path/to/darkpan

You can inject from CPAN by module name.

syntax highlighting: