pretty print .json-nft files
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tests/shell: use generated ruleset for `nft --check`tests/ | +26 | 0 replies | |
| 2/2 | tests/shell: have .json-nft dumps prettified to wrap linestests/ tests/ | +53 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/2] pretty print .json-nft files
The plain nft -j list ruleset output is hard to read in diffs. Instead, commit pretty printed JSON to git and compare that.
Existing .json-nft continue to work, and don't need to be regenerated. But when the dump content changes, the prettified version is committed to git.
Thomas Haller (2):
tests/shell: use generated ruleset for nft --check tests/shell: have .json-nft dumps prettified to wrap lines
tests/shell/helpers/json-pretty.sh | 27 +++++++--- tests/shell/helpers/test-wrapper.sh | 81 ++++++++++++++++++++--------- 2 files changed, 75 insertions(+), 33 deletions(-)
Signature · 1 line
2.42.0