lsp/extvalidator: support https://github.com/ remotes
We previously only supported the transform of
"git@github.com:foo/bar.git" into "github:foo/bar". Here we add support
for transforming "https://github.com/foo/bar.git" into "github:foo/bar"
Signed-off-by: Matthew Sackman <matthew@cue.works>
Change-Id: Ia9819e11f73cd4b59a6e506964916a920c313087
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1233926
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>