Conversation
|
I think we also need to handle the ssh case, both But then having a port in an http scheme should be valid ( I wonder if we should just say screw it, try to parse it via |
Turns out |
|
@chenbh I'll add the ssh case and give you a heads up once its ready |
c7c9ed5 to
6f45e38
Compare
|
@chenbh according to kp-cli help doc From this and your suggestion above I have added validation logic and the following test cases Basic auth case: valid urls
invalid urls ssh case: valid url Invalid url
The case with query e.g |
6806b23 to
7d53af2
Compare
…pository path for git url ssh and base auth case with additional tests Signed-off-by: Caroline Scherf <fcaroline@vmware.com>
7d53af2 to
3276e72
Compare
…/Issue-1119-git-flag-improvements [Issue-1119] Adds additional validation that `--git-url` does not contain the repository path
git url should be a valid url without the repository path (ex. https://github.com)