thaljef / Pinto

Curate your own repository of Perl modules
https://metacpan.org/module/Pinto::Manual
66 stars 49 forks source link

Can't pinto pull & pinto install List::MoreUtils on perl v5.22 #233

Open akarelas opened 7 years ago

akarelas commented 7 years ago

List::MoreUtils requires XSLoader module 0.22, but XSLoader is a core module, and perl 5.22 only has 0.20.

So pinto pull & pinto install do nothing on XSLoader, and fails to install List::MoreUtils.

Do I have to do something differently, or is this a bug of Pinto?

akarelas commented 7 years ago

Is the correct solution to do this (which just worked for me): pinto pull SAPER/XSLoader-0.24.tar.gz ? and pinto install the same ?

akarelas commented 7 years ago

Even if this is the correct way, this correct way to install dual modules should be in the documentation somewhere. I found it by looking at the test directory. Please write it in the documentation.

Deracination commented 7 years ago

I'm seeing the same issue on perl 5.24, but pinto pull SAPER/XSLoader-0.24.tar.gz doesn't solve the problem. It just reports 'No changes were made'

As far as I can see, pinto refuses to replace/update modules which are listed as belonging to 'F/FAKE/perl' in 02packages.details.txt.gz

It also seems to be some interaction with perlbrew and cpanm as cpanm isn't detecting that more recent versions of the modules are already installed as it skips modules listed with F/FA/FAKE/perl, even though the updated module is actually present in the repo mirror