[PATCH b4 3/3] review: patchwork: use the target URL
"Matthieu Baerts (NGI0)" <[email protected]>
| Newsgroups | org.kernel.linux.tools |
|---|---|
| Message-ID | <[email protected]> |
The 'url' field from the 'checks' endpoint is pointing to the Patchwork API, not very interesting to display, e.g. https://patchwork.kernel.org/api/patches/14521024/checks/9433123/ Instead, use the 'target_url' which typically points to something useful linked to the results: more details, logs, etc. e.g. https://github.com/multipath-tcp/mptcp_net-next/actions/runs/24274365064 Assisted-by: Not-my-dog Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> --- 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 942935e..96c769e 100644 --- a/src/b4/review/checks.py +++ b/src/b4/review/checks.py @@ -333,7 +333,7 @@ def _run_builtin_patchwork( 'status': status, 'state': state, 'description': check.get('description', ''), - 'url': check.get('url', ''), + 'url': check.get('target_url', ''), } ) -- 2.53.0