Skip to content
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

MetaCPAN v0 API has been has been shut down #1

Closed
eserte opened this issue Jun 26, 2017 · 1 comment
Closed

MetaCPAN v0 API has been has been shut down #1

eserte opened this issue Jun 26, 2017 · 1 comment

Comments

@eserte
Copy link

eserte commented Jun 26, 2017

If the MetaCPAN::Client is too old (< 2.0?), then the test suite fails:

[Request] ** [https://api.metacpan.org:443]-[410] <!DOCTYPE html>
...
        <h1>MetaCPAN v0 API has been has been shut down!</h1>
...
</html>, called from sub Search::Elasticsearch::Role::Client::Direct::Main::scroll_helper at /opt/perl-5.20.0/lib/site_perl/5.20.0/MetaCPAN/Client/Request.pm line 147. With vars: {'status_code' => 410,'request' => {'path' => '/v1/release/_search','ignore' => [],'mime_type' => 'application/json','method' => 'POST','body' => {'query' => {'bool' => {'must' => [{'term' => {'author' => 'STEVEB'}},{'term' => {'status' => 'latest'}}]}}},'qs' => {'search_type' => 'scan','scroll' => '5m','_source' => 'distribution,version','size' => 1000},'serialize' => 'std'}}
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/05-check_deps.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
All 2 subtests passed 

Probably the minimum version has to be specified here.

@stevieb9
Copy link
Owner

Thanks for reporting Slaven!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants