-
Notifications
You must be signed in to change notification settings - Fork 15
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
repos require https://
prefixed
#32
Comments
So I looked into sanitizing the repo URL earlier, and ended up in a rabbit hole about how git itself validates git repo URLs. It's apparently very lax, and you can have all sorts of URLs in there which make sense if you're doing something locally. For example, |
(also, |
Then we might want to change the way we detect diem too:
|
yeah we could detect the SSH url as well (although that wouldn't work atm) btw this is unrelated to the original issue so I'll close this : o |
The initial issue still exists, it got me yesterday |
we can look more into git URL sanitization, but from my glance it's going to be very simple and will allow something like |
Yup, as long as we do not "blindly" accept an url that won't work afterwards, such as we currently do with |
Yeah good point! Maybe
seems to work, the problem is that it'll sometimes ask for user + password... cc @jnaulty we should make sure that'll play nice with the |
I was testing out the latest changes and think the drop-down selection for adding + changing repos is really cool.
I noticed a small issue with the user-interface and bubbling up failures.
I tried to use the repo
github.com/diem/diem
but it failed somewhat silently after hitting the 'refresh'Here are the
kubectl logs deployment/backend --follow
after hittingrefresh
When I used the full url (
https://github.com/diem/diem
), things worked as expectedGood logs:
The text was updated successfully, but these errors were encountered: