In order to make a CPAN shell solution plausible in my environment, I use CPAN::Mini to maintain a local mini-CPAN mirror. That mirror weighs in somewhere in the area of 450MB.

Then, as I create new or update existing modules I use CPAN::Mini::Inject to add them into the mini-CPAN mirror. Although I currently do this manually, it seems trivial to script it and run out of cron or some other scheduler.

I serve the entire mini-CPAN mirror up over anonymous FTP. I've configured the CPAN module on each build machine to use it as its only CPAN mirror. Then I can pull down the entire project, dependencies and all, to a clean machine with zero hassle. Updates are similarly a breeze, so long as I'm disciplined about maintaining the dependency list.

Some caveats are that the mini-CPAN mirror will only contain the latest-and-greatest CPAN modules each time it updates (though this might be configurable, I'm not sure). That works well for my environment, but may not be so hot for yours. Also, I don't do any updating of modules that I can get from the CPAN. If I were to do so, I imagine that it may require pulling it into a different CPAN namespace than that of the original author.

--jwest


-><- -><- -><- -><- -><-
All things are Perfect
    To every last Flaw
    And bound in accord
         With Eris's Law
 - HBT; The Book of Advice, 1:7

In reply to Re: How do you manage module deployment? by jwest
in thread How do you manage module deployment? by fce2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.