poky/scripts/lib/recipetool
Ming Liu 6c951c5a5e recipetool: create: fix port number parsing issue
A flaw was found when I run:
$ recipetool create "ssh://git@xxx.xxx:7999/xxx.git"

the url turned out to be: "git://git@xxx.xxx/7999/xxx.git;protocol=ssh"
after parsing, the port number was parsed as part of the path, this is
definitely wrong and lead to fetching failures.

This issue could be fixed in reformat_git_uri, by filtering out port
numbers when formatting ":".

(From OE-Core rev: 4290e04b69360b5e1da9f37166015e30f66cb335)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
..
__init__.py scripts/recipetool: Add a recipe auto-creation script 2014-12-23 10:18:15 +00:00
append.py scripts: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
create_buildsys_python.py recipetool: create: fix failure handling included dicts 2017-11-21 13:06:12 +00:00
create_buildsys.py recipetool: create: skip values extracted from spec files containing macros 2017-05-23 17:45:36 +01:00
create_kernel.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
create_kmod.py recipetool: ignore incidental kernel module source 2017-11-11 12:14:26 +00:00
create_npm.py recipetool: create: drop debug print 2017-11-11 12:14:27 +00:00
create.py recipetool: create: fix port number parsing issue 2018-04-03 23:53:20 +01:00
newappend.py scriptutils: pass in logger as parameter 2017-07-21 22:51:37 +01:00
setvar.py devtool / recipetool: use tinfoil parsing API 2016-12-14 12:30:49 +00:00