Gabriella439 / Gabriella439/nix-diff

If an environment diff looks like json, use a json differ like jd

Open
#52 3 comments 6 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
494
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Sometimes a environment diff is _actual_ plain json, diffed on one big single row.
As a result an entire screen is coloured red/green without really helpful semantics.
Even the `--character-oriented` is not really of great help at times (when the diff is a little bigger).

It might be possible to use something like https://github.com/josephburnett/jd to make the result more intelligible.

Since these tools are no haskell, a good way would be to optionally write files with old/new environments to disk, it then becomes trivial to do the semantic diffing by hand.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.