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

Feature Request: Remote cpanfile #208

Open
theory opened this issue Oct 17, 2021 · 2 comments
Open

Feature Request: Remote cpanfile #208

theory opened this issue Oct 17, 2021 · 2 comments

Comments

@theory
Copy link

theory commented Oct 17, 2021

Would be cool to support URLS in the --cpanfile option, e.g.

cpm install --cpanfile https://fastapi.metacpan.org/source/MIYAGAWA/Plack-1.0048/cpanfile

Would be especially useful for CI/CD pipelines.

@skaji
Copy link
Owner

skaji commented Oct 17, 2021

You can try

❯ cpm install --cpanfile <(curl -fsSL https://fastapi.metacpan.org/source/MIYAGAWA/Plack-1.0048/cpanfile)

@theory
Copy link
Author

theory commented Oct 17, 2021

Yeah, that's what I'm doing; just would be nice not to have to use another utility (I have GH Actions that run on Windows), since cpm has access to all the code it needs to download files, if it recognized a URL. No biggie, just potentially a nice bit of sugar.

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