Subject: | Removing module from distribution breaks inject (if old distribution removed) |
With 0.31, 'modulelist' contains entries for each module in a distribution, not just the package
itself.
We remove previous package versions from the local repository, but this now causes
problems when a file is removed, since the line is now removed from modulelist (it doesn't
appear in the regex, line 344) and 'inject' will attempt to find the earlier package version.
Not sure what the best action is - CPAN::Mini::Inject is doing the right thing in terms of CPAN
behaviour, but since the module exists to force people's own code into a CPAN mirror it
might need to be more flexible?
The 'remove' option suggested (#76546) could fix this (we would remove before adding the
new distribution).
Thanks,
Michael