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

CLI - Make kamel run handle github urls that are not raw #1497

Closed
davsclaus opened this issue Jun 5, 2020 · 0 comments · Fixed by #1515
Closed

CLI - Make kamel run handle github urls that are not raw #1497

davsclaus opened this issue Jun 5, 2020 · 0 comments · Fixed by #1515
Assignees

Comments

@davsclaus
Copy link
Contributor

For example if you browse code on github you may see this example

https://github.com/apache/camel-k/blob/master/examples/hello.xml

And then want to run it via

kamel run https://github.com/apache/camel-k/blob/master/examples/hello.xml

But it requires the raw url

kamel run https://raw.githubusercontent.com/apache/camel-k/master/examples/hello.xml

We could maybe make the kamel run command detect the github url and automatic transform the url to the raw url so it can download the source correctly (eg github.com /blob/ -> raw style)

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 a pull request may close this issue.

2 participants