Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 48002
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: DCOLLINS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Dependency Resolution: Allow optional 'earliest allowable' dependency policy
Download (untitled) / with headers
text/plain 512b
Primarily for smoke testing, but I suppose there are other applications. An option should be added which would cause, when a module is to be made by CPAN.pm, that any dependencies with a listed version should have that version (or the earliest version that doesn't cause any conflicts) installed, rather than the latest available. This would allow smoke testers to, in addition to testing a 'clean install' of a module, confirm that a module listing minimum versions actually works with those versions.
Download (untitled) / with headers
text/plain 384b
Maybe it is not documented as such but I believe the bahaviour of CPAN.pm is as you demand: if a module A requires module B version 3.14 and 3.14 is installed then nothing is upgraded. OTOH: if only 3.13 is installed an upgrade is performed and an upgrade always means upgrade to the current one because CPAN indexes only know about the most recent version. Am I missing something?
Download (untitled) / with headers
text/plain 344b
Yes. I'm referring to when module B is not installed at all, then module B version 3.14 rather than latest available should be installed. If this is not possible due to the workings of the CPAN (even with the additional indicies that many smokers already use, such as find-ls), or is unnecessarily convoluted, then feel free to disregard.
Download (untitled) / with headers
text/plain 438b
I think brian d foy's index of backpan will/does provide the necessary data, I haven't checked. I think no other index is ambitious enough. It's a nice idea to implement such a smoking environment. Maybe it's even a good idea for non smokers to walk the path of all supported configurations of modules. So I won't disregard but will keep on the high hanging fruits end of all nice-to-haves given my current supply of round tuits. Thanks!
Thank you!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.