Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I'm looking for advice on how to make a clean install and upgrade procedure that gives good control over the perl and non-perl dependencies (mostly java jar files). This is not a project for wide distribution - the number of platforms and environments are quite limited. It will need to install onto Solaris and Linux, non-root.

Plenty of other projects use these boxes, so we want to keep our project as isolated as possible. The company preferred procedure for installations and upgrades/downgrades is to make a change request which consists of a su project-user; cd project-dir; cvs up -r tag. (We actually develop with subversion, but export to cvs to satisfy this).

It is a Catalyst/DBIC project. Catalyst currently uses Module::Install. So one obvious route is to let it do the work. However you lose a degree of control over the versions of CPAN modules, I'm not sure how non-perl dependencies are handled, and I don't really want our project to be installed alongside its dependencies in the same lib tree. The change request would have the additional steps make; make test; [abort on error]; make install. Installing just Catalyst non-root causes enough grief for it to be a regular topic on the mailing list. And I compared the module versions of installed dependencies on two of our environments (using Module::ScanDeps) and felt a bit ill seeing the large number of differences.

A second option is to store the dependencies in the repository. It is bloated, but would give excellent control. To install an XS module, you'd need to build and install it into the working copy on both target environments and commit. Then rely on the /$archname/ portion of the perl libs to do the right thing. I can see it isn't appropriate for a distribution that would need to install on many different platforms, but that isn't the case here.

What has people's experience been? Are there other options I'm not seeing?


In reply to Dependencies in the repository? by qq

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-23 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found