All of lore.kernel.org
 help / color / mirror / Atom feed
* [bitbake-devel][PATCH 0/5] Add cleanup commands for hash equivalence
@ 2023-10-06 15:36 Joshua Watt
  2023-10-06 15:36 ` [bitbake-devel][PATCH 1/5] hashserv: Add remove API Joshua Watt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Joshua Watt @ 2023-10-06 15:36 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Joshua Watt

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

-- 
2.34.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-06 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-06 15:36 [bitbake-devel][PATCH 0/5] Add cleanup commands for hash equivalence Joshua Watt
2023-10-06 15:36 ` [bitbake-devel][PATCH 1/5] hashserv: Add remove API Joshua Watt
2023-10-06 15:36 ` [bitbake-devel][PATCH 2/5] bitbake-hashclient: Add remove subcommand Joshua Watt
2023-10-06 15:36 ` [bitbake-devel][PATCH 3/5] hashserv: Extend get_outhash API to optionally include unihash Joshua Watt
2023-10-06 15:36 ` [bitbake-devel][PATCH 4/5] hashserv: Add API to clean unused entries Joshua Watt
2023-10-06 15:36 ` [bitbake-devel][PATCH 5/5] bitbake-hashclient: Add clean-unused subcommand Joshua Watt

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.