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
#3575 Validate URLs for remotes #5418
#3575 Validate URLs for remotes #5418
Conversation
- Only accepts valid URL which contains scheme://hostname when adding or updating a remote. Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not raise errors, but warnings, and complete the operations
@memsharded yes, it sounds better. Even |
This reverts commit b372dfb.
Signed-off-by: Uilian Ries <uilianries@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the 2 broken tests.
Those tests were passing None to make sure that those servers were not being accessed at all. I think an erroneous string (something that would actually display a warning) would achieve the same purpose of the test.
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Changelog: Feature: Show warning when URLs for remotes is invalid (missing schema, host, etc).
Docs: Omit
fixes #3575