summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2019-01-15 16:31:32 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-16 15:35:07 +0000
commit3974e5054f4de60e56123e004e3e4b521867a952 (patch)
tree51e3ca4ad62a013cfcf61b29250a85f6fb5090f5 /bitbake/lib/bb/tests
parent566d31960cf1e86b7e1e6dc0272600d24b335134 (diff)
downloadpoky-3974e5054f4de60e56123e004e3e4b521867a952.tar.gz
bitbake: gitsm.py: Add support for alternative URL formats from submodule files
The following appear to be the git supported formats: proto://user:pass@host/path (URI format) user@host:path (SSH format) /path or ./path or ../path (local file format) We adjust the parsing to find out if we have a URI format or not. When we are NOT in URI format, we do our best to determine SSH or file format by looking for a ':' in the overall string. If we find a ':' we assume SSH format and adjust accordingly. Note, in SSH format we simply replace the ':' with a '/' when constructing the URL. However, if the original path was ":/...", we don't want '//' so we deal with this corner case as well. (Bitbake rev: dcac05e7dc6b0c5f8e63d36ad105b7eab41f0016) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests')
0 files changed, 0 insertions, 0 deletions