Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
This might be a good question to cross-post to the cpan-testers mail list, too.

Some initial thoughts on it:
  • What do you test again? So your module Z requires A, B, C. Do you prep w/the newest of B & C, and then try all versions of A (newest->oldest), running the test suite Z until it breaks?
  • This would definitely require pretty decent coverage by Z's test suite.
  • Might there be recursive problems with this? Maybe Z works fine with any B ... but A requires (for functionality that Z doesn't use; but still a requirement for install) a certain version of B. How does that get handled?
  • Maybe such a script, instead of finding the min versions for each prereq independently, finds a point in time that they work?
    Construct a time line of release dates like this:
    2000-01-01  Av1
    2000-02-01  Bv1
    2000-03-01  Av2
    2000-04-01  Cv1
    2000-05-01  Av3
    2000-06-01  Bv2
    2000-07-01  Bv3
    2000-08-01  Cv2
    
    So start with the newest. Now back through the timeline .. so the sets to check, in order, would be:
    • Av3,Bv3,Cv2
    • Av3,Bv3,Cv1
    • Av3,Bv2,Cv1
    • Av3,Bv1,Cv1
    • Av2,Bv1,Cv1
    Note that A1 never gets tested, cause A2 was out already by the time B & C existed. Now, maybe A1,B1,C1 will work, too .. but is that something we'd be concerned with?
  • What's the common view (if any) on providing min version numbers for the sake of not blindly saying "any"?
    my assumption was that the min version was usually when the author knows he's using a feature that's non-existent or broken previous to a certain version.
    Using the min version from backpan that works may not be the true min version ...
    But also, may not care about those edge cases.

In reply to Re: Find minimum required module version by davidrw
in thread Find minimum required module version by lima1

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 taking refuge in the Monastery: (4)
As of 2024-04-24 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found