|Subject:||Degraded mode should detect deletions|
In degraded mode, distributions that have already been tested can sometimes be deleted by the cpan process that holds the lockfile. It would make it far easier to test CPAN modules with multiple versions of perl at once (something I do all the time) if in degraded mode CPAN.pm could check whether the files have been deleted when building/testing other modules that explicitly depend on the deleted ones. Also, it would be nice if ‘test Foo’ could detect that and flush the in-memory cache instead of just saying the tests have already run. Similarly, ‘force test Foo’ currently just fails if it has already been downloaded but subsequently deleted. The reason I am bringing this up is that the CPAN shell asked me to: $ cpan5.15.6 There seems to be running another CPAN process (pid 10795). Contacting... Other job is running. Shall I try to run in downgraded mode? (Y/n) [y] Running in downgraded mode (experimental). -----> Please report if something unexpected happens <----- cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help.