Skip to content

Fix do_clean for git and gitsm

[email protected] bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gitsm: Add call_process_submodules() to remove duplicated codelib/bb/fetch2/gitsm.py+14 -280 replies
2/5gitsm: Remove downloads/tmpdir when failedlib/bb/fetch2/gitsm.py+5 -32 replies
3/5gitsm: Add clean functionlib/bb/fetch2/gitsm.py+13 -00 replies
4/5git: Clean shallow mirror tarballlib/bb/fetch2/git.py+5 -00 replies
5/5git: Clean broken symlinklib/bb/fetch2/git.py+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Fix do_clean for git and gitsm

From: Robert Yang <[email protected]>

* Test info

$ bitbake world --runall=fetch && bitbake world --runall=cleanall
$ ls downloads/
git2  uninative
$ ls downloads/git2/
[No output]
$ bitbake-selftest
Works well

Now all known do_clean issues have been fixed.

// Robert

The following changes since commit 95e61f3dacacb3a001d9f0e2db4c4a2960d96640:

contrib/hashserv/Dockerfile: Add libgcc to image for runtime dependency (2024-10-25 15:40:52 +0100)

are available in the Git repository at:

https://github.com/robertlinux/bitbake rbt/clean
https://github.com/robertlinux/bitbake/tree/rbt/clean

Robert Yang (5):
gitsm: Add call_process_submodules() to remove duplicated code
gitsm: Remove downloads/tmpdir when failed
gitsm: Add clean function
git: Clean shallow mirror tarball
git: Clean broken symlink

 lib/bb/fetch2/git.py   |  7 +++++-
 lib/bb/fetch2/gitsm.py | 57 +++++++++++++++++++++---------------------
 2 files changed, 35 insertions(+), 29 deletions(-)
Signature · 1 line
2.25.1