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
--dev does not pick latest dev version #308
Comments
This is because MetaCPAN API returns the score for these releases as the same value,
|
But it will then fallback to the date sort, which is apparently backwards. |
... and no, that was intentional because, for non-dev releases, first come first serve. |
reported to MetaCPAN metacpan/metacpan-api#284 |
so now, for non-dev releases it's ordered chronologically, and for dev releases it's ordered reverse chronologically? (If so, that sounds correct to me!) |
Yep.
Sent from Mailbox for iPhone On Mon, Aug 26, 2013 at 8:36 AM, Karen Etheridge notifications@github.com
|
cpanm --dev Test::More
attempts to installM/MS/MSCHWERN/Test-Simple-1.005000_001.tar.gz
on my machine, even though_006
is currently available.It probably has to do with incorrect ordering of the metacpan results: http://api.metacpan.org/v0/file/_search?source={%22fields%22%3A[%22date%22%2C%22release%22%2C%22module%22%2C%22status%22]%2C%22query%22%3A{%22filtered%22%3A{%22query%22%3A{%22nested%22%3A{%22score_mode%22%3A%22max%22%2C%22path%22%3A%22module%22%2C%22query%22%3A{%22custom_score%22%3A{%22query%22%3A{%22constant_score%22%3A{%22filter%22%3A{%22and%22%3A[{%22term%22%3A{%22module.authorized%22%3Atrue}}%2C{%22term%22%3A{%22module.indexed%22%3Atrue}}%2C{%22term%22%3A{%22module.name%22%3A%22Test%3A%3AMore%22}}%2C{%22range%22%3A{%22module.version_numified%22%3A{%22gte%22%3A%220.000%22}}}]}}}%2C%22metacpan_script%22%3A%22score_version_numified%22}}}}%2C%22filter%22%3A{%22and%22%3A[{%22not%22%3A{%22term%22%3A{%22status%22%3A%22backpan%22}}}]}}}}
The text was updated successfully, but these errors were encountered: