Skip to contentSkip to conversation

Broken gitsm fetcher for git/ssh protocol

DISCUSSION Maciej Pijanowski 1 participant 1 message Feb 22, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

We have ran into a problem when trying to using a gitsm fetcher within a recipe. The "protocol" parameter was not correctly parsed from the initial SRC_URI parameters when using git@ syntax with ssh protocol. To fix the issue we had to cherry pick following commits from poky/master:

* 2a61bdcc7bf1 bitbake: gitsm: The fetcher did not process some recursive submodules properly.
* 9c50a8e2dc75 bitbake: gitsmy.py: Fix unpack of submodules of submodules
* 5b9377966844 bitbake: gitsm.py: Fix relative URLs
* a7256b2884b5 bitbake: gitsm.py: Refactor the functions and simplify the class
* 2e6e5254df93 bitbake: gitsm.py: Rework the shallow fetcher and test case
* 778810feaddc bitbake: gitsm.py: revise unpack
* 30fa3437b38d bitbake: gitsm.py: Optimize code and attempt to resolve locking issue
* 78f7ecbd6800 bitbake: gitsm.py: Add support for alternative URL formats from submodule files
* e8e818e4302f bitbake: gitsm.py: Fix when a submodule is defined, but not initialized

Is it possible to include those fixes in the poky/thud as well? Or poky/thud is already closed for including such changes?

Thanks,

Signature · 3 lines
Maciej Pijanowski
Embedded Systems Engineer
https://3mdeb.com | @3mdeb_com