-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: ability to install older versions of a module #216
Comments
Some info on how cpanm does this here: http://cpanmetadb.plackperl.org/ Not sure if this module would be useful: https://metacpan.org/pod/CPAN::Common::Index |
Figured out I can do this which is pretty close to good enough:
I guess my only problem is AUTHOR is sometimes different because different people do releases. Which makes it hard to get the previous version. |
The primary goal of Pinto is to provide a CPAN index that always yields the same modules (unless you change it). So if you want to provide multiple versions of a module at the same time, then you would create multiple stacks. But it sounds like you're just looking for a local CPAN mirror that you can install arbitrary modules from. If that's the case, then perhaps CPAN::Mini is the right solution for you. |
Hi Eric! pinto provides a conception of stacks which are cpan So doing things in a pinto way you do not need point a cpan client with a
Where an url should relate a proper pinto stack of course . |
There is also the
But again, this assumes the Pinto model is right for you. |
Lets say I add Foo-Bar-v0.01.tar.gz to Pinto and then Foo-Bar-v0.02.tar.gz to Pinto. It would be nice if I could get an older version from Pinto with a command like:
Obviously CPAN supports this, but it doesn't seem like Pinto does. The tricky part is if multiple authors do releases. Not sure if there are some existing CPAN modules which might make it easy to add this feature.
The text was updated successfully, but these errors were encountered: