thaljef / Pinto

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

pull does not work for Net::LibIDN (tar.gz is fetched but index is not updated) #149

Closed perlpunk closed 10 years ago

perlpunk commented 10 years ago

I do

$ pinto pull Net::LibIDN
.
No changes were made
$ ls ~/repo/authors/id/T/TH/THOR/
CHECKSUMS  Net-LibIDN-0.12.tar.gz
$ pinto list | grep LibIDN
$ pinto clean
$ ls ~/repo/authors/id/T/TH/THOR/
ls: cannot access .../repo/authors/id/T/TH/THOR/: No such file or directory

All other modules I pulled so far worked fine.

(I also updated to the latest Pinto version.)

thaljef commented 10 years ago

Short answer: Pinto 0.0996 has been released to CPAN and Stratopan. Update yours, and pull Net::LibIDN again. Then hopefully, rejoice!

Long answer: Perl (being, Perl) makes anything possible for authors. So figuring out exactly which packages belong in the index is hard.The PAUSE code is very thorny. Pinto has simpler heuristics that seem to work for most distributions, but occasionally (3 times so far) it needs a workaround.

NB: This was fixed in 11a6f2e768 but I put the wrong issue number in the commit message.

thaljef commented 10 years ago

BTW, @perlpunk: I heard the QA Hackathon was a big success. Thanks for helping make that happen. I really hope I can make it out to Berlin for the next one.

perlpunk commented 10 years ago

great, 0.0997 works. thanks =)