Skip to content

tests: series: new script running b4 diff - #103

Merged
kuba-moo merged 2 commits into
linux-netdev:mainfrom
matttbe:b4-diff
Sep 11, 2026
Merged

kuba-moo merged 2 commits into
linux-netdev:mainfrom
matttbe:b4-diff

Conversation

@matttbe

@matttbe matttbe commented Sep 11, 2026

Copy link
Copy Markdown
Member

That's a useful info for reviewers, to see the diff between versions.

Run b4 diff, and present what is available, if any.

No errors emited, it just a "nice to have" tool.

An HTML page viewer is also attached to render that with colours.

That's a useful info for reviewers to see the diff.

Run 'b4 diff', and present what is available.

No errors emited, it just a "nice to have" tool.

Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
This is a self-contained viewer page similar to logview.html: it fetches
a log, escapes it and colourize lines with ANSI tags: style and colours.

Browsers can be pointed at it directly, or nginx can redirect
/logs/.../*.ansi requests with Accept: text/html to it.

Force b4 to keep the colours in the output file.

Assisted by LLM to generate the ANSI mapping.

Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
@matttbe
matttbe requested a review from kuba-moo September 11, 2026 18:55
@kuba-moo
kuba-moo merged commit 99f9edc into linux-netdev:main Sep 11, 2026
2 checks passed
@kuba-moo

Copy link
Copy Markdown
Contributor

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants