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

Custom resolver #168

Merged
merged 2 commits into from Apr 12, 2020
Merged

Custom resolver #168

merged 2 commits into from Apr 12, 2020

Conversation

skaji
Copy link
Owner

@skaji skaji commented Apr 12, 2020

This PR allows users to specify arbitrary resolvers to cpm.

cpm install --resolver Foo Plack

loads App::cpm::Resolver::Foo class, and resolve distribution URLs from App::cpm::Resolver::Foo.
That class must implement resolver method.

Note that this feature is experimental.
Actually I'm not satisfied with the de facto standard CPAN index file 02packages,
but I'm not sure what index file/format/server is desired yet.
Your feedback is always welcome.

@skaji skaji merged commit 72fa94a into master Apr 12, 2020
@skaji skaji deleted the custom-resolver branch April 12, 2020 03:43
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

1 participant