Add cleanup commands for hash equivalence
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hashserv: Add remove APIbitbake/ bitbake/ bitbake/ | +66 | 0 replies | |
| 2/5 | bitbake-hashclient: Add remove subcommandbitbake/ | +13 | 0 replies | |
| 3/5 | hashserv: Extend get_outhash API to optionally include unihashbitbake/ bitbake/ | +32 | 0 replies | |
| 4/5 | hashserv: Add API to clean unused entriesbitbake/ bitbake/ bitbake/ | +43 | 0 replies | |
| 5/5 | bitbake-hashclient: Add clean-unused subcommandbitbake/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [bitbake-devel][PATCH 0/5] Add cleanup commands for hash equivalence
Adds two new APIs and corresponding bitbake-hashclient commands for the hash equivalence server.
The first command is remove (bitbake-hashclient remove) and it can be used to remove database entries that match the specified criteria. It can be useful to remove entries in the in database that are know to be no longer valid.
The second command is clean-unused (bitbake-hashclient clean-unused) which will remove any database entries that are older than the specified age and are not referenced by a valid unihash.
[YOCTO #15064]
Joshua Watt (5):
hashserv: Add remove API
bitbake-hashclient: Add remove subcommand
hashserv: Extend get_outhash API to optionally include unihash
hashserv: Add API to clean unused entries
bitbake-hashclient: Add clean-unused subcommand
bitbake/bin/bitbake-hashclient | 22 ++++++++ bitbake/lib/hashserv/client.py | 14 ++++- bitbake/lib/hashserv/server.py | 93 ++++++++++++++++++++++++++++------ bitbake/lib/hashserv/tests.py | 52 +++++++++++++++++++ 4 files changed, 163 insertions(+), 18 deletions(-)
Signature · 1 line
2.34.1