All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fetch2/git: fetch shallow revs when needed
@ 2019-10-21 17:09 Christopher Larson
  0 siblings, 0 replies; only message in thread
From: Christopher Larson @ 2019-10-21 17:09 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

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:

  git@github.com: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(-)

-- 
2.11.1



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-21 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-21 17:09 [PATCH 0/2] fetch2/git: fetch shallow revs when needed Christopher Larson

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.