All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] gitsm: When switching SRCREVs verify submodules
@ 2019-03-27 17:40 Mark Hatle
  2019-03-27 17:40 ` [PATCH 1/1] gitsm: Add need_update method to determine when we are going to a new SRCREV Mark Hatle
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Hatle @ 2019-03-27 17:40 UTC (permalink / raw)
  To: bitbake-devel, wak

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-03-28 15:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-27 17:40 [PATCH 0/1] gitsm: When switching SRCREVs verify submodules Mark Hatle
2019-03-27 17:40 ` [PATCH 1/1] gitsm: Add need_update method to determine when we are going to a new SRCREV Mark Hatle
2019-03-27 20:22   ` William Kennington
2019-03-28  1:47     ` William Kennington
2019-03-28  1:52       ` William A. Kennington III
2019-03-28  1:59         ` William A. Kennington III
2019-03-28 15:22       ` Mark Hatle
2019-03-28 15:15     ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.