You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For larger yaml files, it can be helpful to look at differences between versions in sorted order. For example, if a block was moved, a standard diff may make it hard to understand the differences.
Additionally, with diffs of larger yaml files, the full path to the key/value on a line can be cumbersome to extract. For example, if each parent has 10+ children on average, and the difference is in a child 6 or 7 levels deep. It can be much worse when there are levels that have 100's' of children.
To alleviate some of these issues, create a tool that can sort and/or explode the keys.
For example,
a:
d:
c: 1
x: 5
b:
y: 'r'
c: 2
Would become
a.b.x: 2
a.b.y: 'r'
a.d.c: 1
a.d.x: 5
When both exploded and sorted.
The text was updated successfully, but these errors were encountered:
For larger yaml files, it can be helpful to look at differences between versions in sorted order. For example, if a block was moved, a standard diff may make it hard to understand the differences.
Additionally, with diffs of larger yaml files, the full path to the key/value on a line can be cumbersome to extract. For example, if each parent has 10+ children on average, and the difference is in a child 6 or 7 levels deep. It can be much worse when there are levels that have 100's' of children.
To alleviate some of these issues, create a tool that can sort and/or explode the keys.
For example,
Would become
When both exploded and sorted.
The text was updated successfully, but these errors were encountered: