From: "Matthieu Baerts (NGI0)" <matttbe@kernel.org>
To: "Kernel.org Tools" <tools@kernel.org>
Cc: Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
"Matthieu Baerts (NGI0)" <matttbe@kernel.org>
Subject: [PATCH b4 1/3] review: sashiko: switch to patchset endpoint
Date: Tue, 28 Apr 2026 11:29:14 +0200 [thread overview]
Message-ID: <20260428-sashiko-patchset-api-v1-1-24d4ac34b4ae@kernel.org> (raw)
In-Reply-To: <20260428-sashiko-patchset-api-v1-0-24d4ac34b4ae@kernel.org>
The 'patch' endpoint also contains the logs [1], which can be huge -- up
to a few MBytes -- and not used here.
That's why a new 'patchset' endpoint has been introduced with the same
content, but without the logs that can be retrieved from 'review_log' if
needed [2].
Link: https://github.com/sashiko-dev/sashiko/issues/57 [1]
Link: https://github.com/sashiko-dev/sashiko/commit/3dbb448ed0a4 [2]
Assisted-by: My-slow-DSL-connection
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
src/b4/review/checks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/b4/review/checks.py b/src/b4/review/checks.py
index 36c0780..2ff825f 100644
--- a/src/b4/review/checks.py
+++ b/src/b4/review/checks.py
@@ -361,7 +361,7 @@ def _fetch_sashiko_patchset(msgid: str, sashiko_url: str) -> Optional[Dict[str,
if msgid in _sashiko_patchset_cache:
return _sashiko_patchset_cache[msgid]
- url = f'{sashiko_url.rstrip("/")}/api/patch'
+ url = f'{sashiko_url.rstrip("/")}/api/patchset'
try:
session = b4.get_requests_session()
resp = session.get(url, params={'id': msgid}, timeout=30)
--
2.53.0
next prev parent reply other threads:[~2026-04-28 9:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 9:29 [PATCH b4 0/3] review: avoid downloading logs and fix URLs Matthieu Baerts (NGI0)
2026-04-28 9:29 ` Matthieu Baerts (NGI0) [this message]
2026-04-28 9:29 ` [PATCH b4 2/3] review: sashiko: " Matthieu Baerts (NGI0)
2026-04-28 9:29 ` [PATCH b4 3/3] review: patchwork: use the target URL Matthieu Baerts (NGI0)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260428-sashiko-patchset-api-v1-1-24d4ac34b4ae@kernel.org \
--to=matttbe@kernel.org \
--cc=konstantin@linuxfoundation.org \
--cc=tools@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox