CPANPLUS::Dist::GitHook - Use Git::CPAN::Hook to commit each install in a Git repository
# CPANPLUS configuration cpanp> s conf dist_type CPANPLUS::Dist::GitHook cpanp> s save # Git::CPAN::Hook configuration # put your local::lib under Git control $ perl -MGit::CPAN::Hook -e init ~/perl5 # Use cpanp/CPANPLUS normally. # or use cpan2dist $ cpan2dist --format CPANPLUS::Dist::GitHook --install Some::Funky::Module
Commits are made after any
uninstall that CPANPLUS undertakes.
The following methods are provided. They are not meant to be called directly by the user.
Called to install a distribution. This will in turn call the parent install method, check the return status and call Git::CPAN::Hook's
Called to uninstall a distribution. This will in turn call the parent uninstall method, check the return status and call Git::CPAN::Hook's
Chris Williams <firstname.lastname@example.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.