[PATCH v2 16/30] patman: Create a module for handling patchwork

Simon Glass sjg at chromium.org
Fri May 23 15:18:49 CEST 2025


At present the patchwork implementation is very simple, just consisting
of a function which calls the REST API.

We want to create a fake patchwork for use in tests. So start a new
module to encapsulate communication with the patchwork server.

Use asyncio since it is easier to handle lots of concurrent requests
from different parts of the code.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 tools/patman/patchwork.py   | 66 +++++++++++++++++++++++++++++++++++++
 tools/patman/pyproject.toml |  2 +-
 2 files changed, 67 insertions(+), 1 deletion(-)
 create mode 100644 tools/patman/patchwork.py

Applied to sjg/master, thanks!


More information about the U-Boot mailing list