From: Christopher Larson <kergoth@gmail.com>
To: bitbake-devel@lists.openembedded.org
Cc: Christopher Larson <chris_larson@mentor.com>
Subject: [PATCH 0/2] fetch2/git: fetch shallow revs when needed
Date: Mon, 21 Oct 2019 22:09:52 +0500 [thread overview]
Message-ID: <cover.1571423184.git.chris_larson@mentor.com> (raw)
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
reply other threads:[~2019-10-21 17:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1571423184.git.chris_larson@mentor.com \
--to=kergoth@gmail.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=chris_larson@mentor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.