poky/bitbake/bin
Joshua Watt 6c7c9b1146 bitbake: asyncrpc: Add context manager API
Adds context manager API for the asyncrcp client class which allow
writing code that will automatically close the connection like so:

    with hashserv.create_client(address) as client:
       ...

Rework the bitbake-hashclient tool and PR server to use this new API to
fix warnings about unclosed event loops when exiting

(Bitbake rev: ee090484cc25d760b8c20f18add17b5eff485b40)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d01d684a0f6398270fe35ed59b7d28f3fd9b7e41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-10 05:14:16 -10:00
..
bitbake bitbake: bin/utils: Ensure locale en_US.UTF-8 is available on the system 2023-04-26 04:03:21 -10:00
bitbake-diffsigs bitbake: bitbake-diffsigs: Make PEP8 compliant 2023-02-17 15:05:08 +00:00
bitbake-dumpsig bitbake: bitbake-diffsigs: Merge with bitbake-dumpsig 2019-01-03 12:36:55 +00:00
bitbake-getvar bitbake: bitbake-getvar: Make --quiet work with --recipe 2023-11-09 04:41:17 -10:00
bitbake-hashclient bitbake: asyncrpc: Add context manager API 2024-01-10 05:14:16 -10:00
bitbake-hashserv bitbake: bitbake: enable python warnings at the first opportunity 2021-09-19 11:33:14 +01:00
bitbake-layers bitbake: bitbake-layers: initialize tinfoil before registering command line arguments 2023-08-04 04:43:41 -10:00
bitbake-prserv bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
bitbake-selftest bitbake: bitbake: enable python warnings at the first opportunity 2021-09-19 11:33:14 +01:00
bitbake-server bitbake: bin/utils: Ensure locale en_US.UTF-8 is available on the system 2023-04-26 04:03:21 -10:00
bitbake-worker bitbake: bitbake-worker/runqueue: Avoid unnecessary bytes object copies 2023-10-18 05:13:24 -10:00
git-make-shallow bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
toaster bitbake: bitbake: Replace remaining "abort" usage 2022-02-21 23:37:26 +00:00
toaster-eventreplay bitbake: bitbake: enable python warnings at the first opportunity 2021-09-19 11:33:14 +01:00