יובל קוג'מן (Yuval Kogman) > App-Git-SitePerl-0.01 > App::Git::SitePerl

Download:
App-Git-SitePerl-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

App::Git::SitePerl - Versioned site installs using Git and CPAN

SYNOPSIS ^

Installation:

    # create a .git and configure CPAN.pm:

    % git site-perl-init

Usage:

    # use CPAN.pm normally:

    % cpan Module::Foo

DESCRIPTION ^

These two scripts provide hooks to have a versioned sitelib directory, by configuring CPAN to use a wrapper that invokes make install or ./Build install normally, and then calls git add and git commit.

LIMITATIONS ^

Only $Config{installsitelib} is kept under version control

If your perl is completely isolated from the rest of the system (e.g. installed with the prefix /usr/local/perl-5.xx.x instead of /usr/local) then it's better to git init at the top level of that prefix.

Unfortunately in a shared prefix there is too much potential for confusion by accidentally committing non Perl things.

TODO ^

SEE ALSO ^

CPAN, local::lib

syntax highlighting: