git-cpan-import - Import a module into a git repository
# takes any string CPANPLUS handles: % git cpan-import Foo::Bar % git cpan-import A/AU/AUTHORID/Foo-Bar-0.03.tar.gz % git cpan-import http://backpan.cpan.org/authors/id/A/AU/AUTHORID/Foo-Bar-0.03.tar.gz # If the repository is already initialized, can be run with no arguments to # import the latest version git cpan-import
This command is used internally by git-cpan-init, git-cpan-update and git-backpan-init.
git-cpan-init
git-cpan-update
git-backpan-init
This command takes a tarball, extracts it, and imports it into the repository.
It is only possible to update to a newer version of a module.
The module history is tracked in refs/remotes/cpan/master.
refs/remotes/cpan/master
Tags are created for each version of the module.
This command does not touch the working directory, and is safe to run even if you have pending work.
Enables Backpan index fetching (to get the author and release date).
This document describes git-cpan-import version 0.1.0.
Please report any bugs or feature requests to bug-git-cpan-patch@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-git-cpan-patch@rt.cpan.org
Yuval Kogman <nothingmuch@woobling.org>
<nothingmuch@woobling.org>
Yanick Champoux <yanick@cpan.org>
<yanick@cpan.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
Git::CPAN::Patch
To install Git::CPAN::Patch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::CPAN::Patch
CPAN shell
perl -MCPAN -e shell install Git::CPAN::Patch
For more information on module installation, please visit the detailed CPAN module installation guide.