cpm
cpm copied to clipboard
cpm not checking version number in snapshot
Perhaps I just have a fundamental misunderstanding of how the snapshot file is being used.
Let's say I have version 0.01 of module Foo::Bar installed. Using a cpanfile that just lists requires 'Foo::Bar';, but a snapshot file that lists Foo-Bar-0.02, and giving cpm the --cpanfile switch, the --snapshot switch, and the --resolver snapshot switch, should cpm install Foo::Bar 0.02? What I think is happening is that cpm sees Foo::Bar in the cpanfile, says, "oh, that's installed already: we're all good," and never even checks the version number listed in the snapshot.
So my question is:
- Is that what's happening, and it's supposed to happen that way?
- Is that what's happening, but it's wrong?
- Is that not really what's happening, and I've mistaken one bug for another? :-)
Hopefully you have some insight for me to get me back on track to address this problem. Thx for all you do: cpm has become a major part of our Perl module management, so we really appreciate all your hard work on this module.
Preview for csv is not handled by Glance, so this should be the expected behaviour.
I get this with the example file in GlanceTests: