All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/5] Re-implement prserv on top of asyncrpc
@ 2021-07-27 17:21 Scott Murray
  2021-07-27 17:21 ` [PATCH v5 1/5] asyncrpc: Wait on writers to close with Python 3.7+ Scott Murray
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Scott Murray @ 2021-07-27 17:21 UTC (permalink / raw)
  To: bitbake-devel, Richard Purdie, Joshua Watt, Paul Barker

These changes replace the old XML-based RPC system in prserv with the
new asyncrpc implementation originally used by hashserv, and add a
read-only mode to match the hash equivalency server's support.

Changes from v4:
  * Patch 2 updated to conditionalize all_tasks/current_task usage
    from asyncio vs asyncio.Task based on Python version.  This fixes
    running against Python 3.9 where they were finally removed from
    asyncio.Task.

Changes from v3:
  * Scott Murray taking over upstreaming effort from Paul Barker.

  * Dropped patches which are currently applied to master-next, this
    series should be applied on top of the current master-next branch.

  * Patches 2-4 updated by Scott Murray to rebase on top of 3983643
    ("bitbake: asyncrpc: Catch early SIGTERM").

  * Read-only PR server support patch added to stack to get it into
    the review process.

Paul Barker (5):
  asyncrpc: Wait on writers to close with Python 3.7+
  asyncrpc: Ensure that asyncio shutdown is clean
  asyncrpc: Handle exceptions
  prserv: Replace XML RPC with modern asyncrpc implementation
  prserv: Add read-only mode

 bin/bitbake-prserv        |   4 +-
 lib/bb/asyncrpc/client.py |   3 +
 lib/bb/asyncrpc/serv.py   |  38 ++++-
 lib/prserv/db.py          |  65 +++++++--
 lib/prserv/serv.py        | 286 ++++++++++++++++++++------------------
 5 files changed, 243 insertions(+), 153 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2021-07-28 14:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-27 17:21 [PATCH v5 0/5] Re-implement prserv on top of asyncrpc Scott Murray
2021-07-27 17:21 ` [PATCH v5 1/5] asyncrpc: Wait on writers to close with Python 3.7+ Scott Murray
2021-07-27 17:21 ` [PATCH v5 2/5] asyncrpc: Ensure that asyncio shutdown is clean Scott Murray
2021-07-27 17:21 ` [PATCH v5 3/5] asyncrpc: Handle exceptions Scott Murray
2021-07-27 17:21 ` [PATCH v5 4/5] prserv: Replace XML RPC with modern asyncrpc implementation Scott Murray
2021-07-27 17:21 ` [PATCH v5 5/5] prserv: Add read-only mode Scott Murray
2021-07-28  4:29   ` [bitbake-devel] " Armin Kuster
2021-07-28 14:46     ` Jan-Simon Möller

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.