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

Migrate to MetaCPAN V1 API #520

Merged
merged 1 commit into from May 12, 2017
Merged

Conversation

skaji
Copy link
Sponsor Contributor

@skaji skaji commented Nov 9, 2016

MetaCPAN API is now migrating from V0 to V1.
https://github.com/metacpan/metacpan-api/wiki/MetaCPAN-V1-announcement-and-migration-plan

And MetaCPAN V1 API introduces a new endpoint "download_url", which does almost the same things as Menlo::Index::MetaCPAN does.
https://github.com/metacpan/metacpan-api/blob/master/lib/MetaCPAN/Document/File/Set.pm#L187-L278

This pull request modifies Menlo::Index::MetaCPAN to use V1 "download_url" endpoint.

@skaji
Copy link
Sponsor Contributor Author

skaji commented May 11, 2017

@miyagawa Do you have any concern on this?

@miyagawa
Copy link
Owner

This looks good to me.

@miyagawa
Copy link
Owner

one CI failure with 5.10.0 on build_no_mymeta.t but it's an error with MetaCPAN and was fixed upstream.

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

Successfully merging this pull request may close these issues.

None yet

2 participants