mbox

[0/5] Fix do_clean for git and gitsm

Message ID cover.1729933869.git.liezhi.yang@windriver.com
State Not Applicable, archived
Headers show

Pull-request

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

Message

Robert Yang Oct. 26, 2024, 9:39 a.m. UTC
From: Robert Yang <liezhi.yang@windriver.com>

* 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(-)