[bitbake-devel] [PATCH 0/1] gitsm: When switching SRCREVs verify submodules

Mark Hatle mark.hatle at windriver.com
Wed Mar 27 17:40:41 UTC 2019


I'm not going to claim that this is a 'v2' version.  But the work is in
response to the patch submittted by William A. Kennington III to the list.

I've used his test case to determine what the issue is, and developed a
different solution to the problem.

The primary difference in overall behavior is that I wanted to avoid any
sort of iteration into the submodules during processing.  Otherwise we
run the risk of race conditions and locking issues.  (The original
work from William did address locking concerns, but prior versions of
the gitsm fetcher proved this was still problematic.)

The test case from William's patch is included in this, unmodified.

Mark Hatle (1):
  gitsm: Add need_update method to determine when we are going to a new
    SRCREV

 lib/bb/fetch2/gitsm.py | 20 ++++++++++++++++++++
 lib/bb/tests/fetch.py  | 19 +++++++++++++++++++
 2 files changed, 39 insertions(+)

-- 
2.16.0.rc2



More information about the bitbake-devel mailing list