fetch2/git: Use git shallow fetch to implement clone_shallow_local()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fetch2/git: Use git shallow fetch to implement clone_shallow_local()bitbake/ | +52 | 0 replies | |
| 2/2 | bitbake: tests/fetch: Update GitShallowTest for clone_shallow_local()bitbake/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] fetch2/git: Use git shallow fetch to implement clone_shallow_local()
From: Robert Yang <[email protected]>
* V2:
- Fix bitbake-selftest on ubuntu 20.04 (git version: 2.25.1)
# Advertise the revision for lower version git such as 2.25.1:
# error: Server does not allow request for unadvertised object. # The ud.clonedir is a local temporary dir, will be removed when # fetch is done, so we can do anything on it.
adv_cmd = 'git branch -f advertise-%s %s' % (revision, revision) runfetchcmd(adv_cmd, d, workdir=ud.clonedir)
* V1:
bitbake-selftest works well
bitbake world works well with the shallow tarballs
// Robert
The following changes since commit 0979646a1bd224e3690380ab9fb3e0079bcafcf4:
abi_version/package: Bump hashequiv version and package class version (2024-07-05 10:23:05 +0100)
are available in the Git repository at:
https://github.com/robertlinux/yocto rbt/shallow
https://github.com/robertlinux/yocto/tree/rbt/shallow
Robert Yang (2):
fetch2/git: Use git shallow fetch to implement clone_shallow_local()
bitbake: tests/fetch: Update GitShallowTest for clone_shallow_local()
bitbake/lib/bb/fetch2/git.py | 78 +++++++++++++++++++++++------------ bitbake/lib/bb/tests/fetch.py | 13 +++--- 2 files changed, 60 insertions(+), 31 deletions(-)
Signature · 1 line
2.25.1