Skip to content

gitsm: When switching SRCREVs verify submodules

Mark Hatle bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1gitsm: Add need_update method to determine when we are going to a new SRCREVlib/bb/fetch2/gitsm.py lib/bb/tests/fetch.py+39 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] gitsm: When switching SRCREVs verify submodules

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(+)
Signature · 1 line
2.16.0.rc2