# import a module: % git-cpan clone Foo::Bar % cd Foo-Bar # hack and submit to RT # it's probably best to work in a branch % git checkout -b blah ... hack lib/Foo/Bar.pm ... % git commit -am "blah" % git-cpan sendpatch # update the module # this automatically rebases the current branch % git-cpan update
Git::CPAN::Patch provides a suite of git commands aimed at making trivially easy the process of grabbing any distribution off CPAN, stuffing it in a local git repository and, once gleeful hacking has been perpetrated, sending back patches to its maintainer.
Clone a CPAN module's history into a new git repository
Import a module into a git repository.
git-send-email to submit patches to CPAN RT
Create patch files and submit then to RT
Import the latest version of a module and rebase the current branch
Format patches using
cpan/master as the origin reference
Combine multiple commits into one patch
Report upon the managed module