Skip to content

RFC Bitbake Hash Server WebSockets Implementation

Joshua Watt bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5asyncrpc: Abstract client socketbitbake/lib/bb/asyncrpc/client.py bitbake/lib/hashserv/client.py bitbake/lib/prserv/client.py+95 -720 replies
2/5hashserv: Add remove APIbitbake/lib/hashserv/client.py bitbake/lib/hashserv/server.py bitbake/lib/hashserv/tests.py+59 -00 replies
3/5bitbake-hashclient: Add remove subcommandbitbake/bin/bitbake-hashclient bitbake/lib/hashserv/server.py+20 -30 replies
4/5hashserv: tests: Add external database testsbitbake/lib/hashserv/tests.py+43 -100 replies
5/5hashserv: Add websocket connection implementationbitbake/lib/bb/asyncrpc/client.py bitbake/lib/hashserv/__init__.py bitbake/lib/hashserv/client.py+48 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [bitbake-devel][RFC 0/5] Bitbake Hash Server WebSockets Implementation

This patch series implements a websockets transport protocol for the bitbake hash equivalence client. Note that while this uses the websockets 3rd party python module, its use should only be actually required if the user wants to use the websocket transport mechanism.

A websocket implementation is not added on the server side, as it is not desired to add the websocket dependency there. In addition, there are other server improvements that are desired, such as the ability to use different database backends which also require other python modules. As such, the websockets client can be test with the websocket hash equivalence server implemented here:
https://github.com/JoshuaWatt/bb-hashserver

Joshua Watt (5):
asyncrpc: Abstract client socket
hashserv: Add remove API
bitbake-hashclient: Add remove subcommand
hashserv: tests: Add external database tests
hashserv: Add websocket connection implementation

 bitbake/bin/bitbake-hashclient    |  13 +++
 bitbake/lib/bb/asyncrpc/client.py | 173 ++++++++++++++++++++----------
 bitbake/lib/hashserv/__init__.py  |   9 ++
 bitbake/lib/hashserv/client.py    |  30 +++---
 bitbake/lib/hashserv/server.py    |  29 +++++
 bitbake/lib/hashserv/tests.py     |  82 ++++++++++++--
 bitbake/lib/prserv/client.py      |   8 +-
 7 files changed, 262 insertions(+), 82 deletions(-)
Signature · 1 line
2.34.1