forked from platformio/platformio-core
Add support for Git scp-like syntax
This commit is contained in:
1 parent
79b7974f35
commit
f5f3cd85d8
6 files changed
+23
-21
No files matched your search
+12
-8
@@ -115,14 +115,18 @@ def test_pkg_input_parser():
|
||||
"hg+https://example.com/user/package",
|
||||
("package", None, "hg+https://example.com/user/package")
|
||||
],
|
||||
# [
|
||||
# "git@github.com:user/package.git",
|
||||
# ("package", None, "git@github.com:user/package.git")
|
||||
# ],
|
||||
# [
|
||||
# "git@github.com:user/package.git#v1.2.0",
|
||||
# ("package", None, "git@github.com:user/package.git#v1.2.0")
|
||||
# ],
|
||||
[
|
||||
"git@github.com:user/package.git",
|
||||
("package", None, "git+git@github.com:user/package.git")
|
||||
],
|
||||
[
|
||||
"git@github.com:user/package.git#v1.2.0",
|
||||
("package", None, "git+git@github.com:user/package.git#v1.2.0")
|
||||
],
|
||||
[
|
||||
"LocalName=git@github.com:user/package.git#v1.2.0@~1.2.0",
|
||||
("LocalName", "~1.2.0", "git+git@github.com:user/package.git#v1.2.0")
|
||||
],
|
||||
[
|
||||
"git+ssh://git@gitlab.private-server.com/user/package#1.2.0",
|
||||
("package", None,
|
||||
|
||||
Reference in new issue
Block a user