Skip to content

fetch2/git: fetch shallow revs when needed

Christopher Larson bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] fetch2/git: fetch shallow revs when needed

From: Christopher Larson <[email protected]>

When bitbake determines if a git clone needs updating, it only checks for the needed srcrevs, not the revs listed in BB_GIT_SHALLOW_REVS, which will fail if using shallow and the needed rev was added to the upstream git repo after a previous fetch. Ensure that we also check for shallow revs.

[YOCTO #13586]

The following changes since commit 5d83d828cacb58ccb7c464e799c85fd2d2a50ccc:

bitbake: Update to version 1.44.0 (2019-10-09 14:10:21 +0100)

are available in the git repository at:

[email protected]:kergoth/bitbake 13586

for you to fetch changes up to 47e7f25073fe14cae3d1c181bb52766adfad59da:

tests/fetch: add test for fetching shallow revs (2019-10-18 23:25:13 +0500)

----------------------------------------------------------------
Christopher Larson (2):
fetch2/git: fetch shallow revs when needed tests/fetch: add test for fetching shallow revs

 lib/bb/fetch2/git.py  | 23 ++++++++++++++++-------
 lib/bb/tests/fetch.py | 20 ++++++++++++++++++++
 2 files changed, 36 insertions(+), 7 deletions(-)
Signature · 1 line
2.11.1