This queue is for tickets about the CPAN-Mini-Inject CPAN distribution.

Report information
The Basics
Id:
69353
Status:
new
Priority:
Low/Low

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

BugTracker
Severity:
Wishlist
Broken in:
0.30
Fixed in:
(no value)



Subject: Permit add() method to accept multiple modules and versions
IMHO, the interface to the add() method is flawed. It only allows you to associate one module name and one version number with a given tar.gz file. But any non-trivial tar.gz will contain several modules, each with potentially different version numbers. mcpani[1] work around this limitation by calling add() several times for each module that it finds in the .tar.gz (either by --all-in-meta or by --discover-packages). But this needlessly copies the .tar.gz file into the same location for each and every module. And the interaction just looks wrong. I propose that the add() method should accept multiple modules and version numbers (perhaps as a {module => version} hashref). I suspect this could be wedged in without breaking the current interface. Wudyathink?


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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