Creating backdated CPAN repo from autobundle
am 22.01.2008 07:28:17 von Shawn HoodHey folks,
First of all, I'm Shawn -- a newcomer to Perl (by virtue of needing to
manage a sizable infastructure that uses it extensively). I'm an NC
native living in Arlington, VA. You'll probably see more posts from me
in the coming months.
I have a machine whose bundle I'd like to use as the reference for
other machines. I would like to use the autobundle from this machine
to create a cpan repo so that my other machines can install identical
modules -- however many of these are backdated versions. I need to
preserve these versions, however, because it's a very sensitive
production environment that I must keep homogenous, and I cannot update
modules without performing regression tests on our application first.
That said, is there any way to create a CPAN repository from an
autobundle, and subsequently use that autobundle on other machines.
The tough part here is getting the appropriate versions of the modules
into the repository, many of which will have to come from backpan.
I've tried creating scripts to parse the autobundle and then find the
appropriate backpan module. I've encountered some trouble with this.
Also, I could rsync the modules dirs but worry about dependency
problems.
Ideas?!
Shawn