Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
198a60d
Add issue 525 test files
tonur Aug 21, 2025
fefb110
fix: ensure deterministic order of keys in getNonStandardIdentifierFr…
tonur Aug 21, 2025
e84cd51
feat: add detailed list diff option and enhance diff output reporting
tonur Aug 21, 2025
0ec8da0
refactor: rename detailedListDiff to simpleListDiff and invert logic …
tonur Aug 21, 2025
766823a
fix: use dynamic indentation in generateHumanDetailOutputAddition sin…
tonur Aug 21, 2025
15a0185
Merge branch 'deterministic-sort-list-fix' into add-simple-output
tonur Aug 21, 2025
6131160
feat: add support for 'changed-entries' output style and implement Ch…
tonur Aug 21, 2025
6e396ee
Merge branch 'main' into deterministic-sort-list-fix
tonur Aug 26, 2025
5720ddd
fix: correct indentation for added list entry in testbed files
tonur Aug 28, 2025
39f31f3
Merge branch 'deterministic-sort-list-fix' into add-simple-output
tonur Aug 28, 2025
ea5af54
Merge branch 'main' into deterministic-sort-list-fix
tonur Aug 28, 2025
1b04742
fix: correct output to look similar to before --simple-list-diff got …
tonur Aug 31, 2025
7577699
fix: enable --output changed-entries to actually output changed entri…
tonur Aug 31, 2025
0415664
fix: fixed tests order, since this branch changes the order of things…
tonur Aug 31, 2025
a117df4
fix: remove header from test expected file, since it sets "OmitHeader…
tonur Aug 31, 2025
f87d630
Merge branch 'add-simple-output' into output-only-entries-changed
tonur Aug 31, 2025
216535a
fix: remove unused go file after debug testing
tonur Aug 31, 2025
20c7522
Merge branch 'add-simple-output' into output-only-entries-changed
tonur Aug 31, 2025
9761eeb
Merge branch 'homeport:main' into main
tonur Sep 1, 2025
f72bfd8
Temporarily add "tonur" to the go module to try to install it
tonur Sep 1, 2025
29ba836
Try using tonur/dyff to test installation
tonur Sep 1, 2025
da9974c
feat: add test for ChangedEntriesReport to validate output against ex…
tonur Sep 1, 2025
51374aa
Merge branch 'output-only-entries-changed'
tonur Sep 1, 2025
0f39fa1
Use tonur/dyff for main branch to test stuff
tonur Sep 5, 2025
ac6cc75
Merge remote-tracking branch 'origin/deterministic-sort-list-fix' int…
tonur Sep 5, 2025
530aa93
Merge remote-tracking branch 'origin/output-only-entries-changed' int…
tonur Sep 5, 2025
8d9d743
refactor: streamline changed entries report test by replacing testing…
tonur Sep 5, 2025
06a5fcd
Merge remote-tracking branch 'origin/output-only-entries-changed' int…
tonur Sep 5, 2025
a490b9d
Merge remote-tracking branch 'origin/add-simple-output'
tonur Sep 5, 2025
27a32eb
Temp change homeport/dyff to tonur/dyff to test stuff
tonur Sep 5, 2025
4cf5419
Merge branch 'main' into add-simple-output
tonur Oct 26, 2025
39b423c
Merge remote-tracking branch 'origin/main' into add-simple-output
tonur Dec 25, 2025
0fb5647
Merge remote-tracking branch 'upstream/main' into add-simple-output
tonur Dec 25, 2025
c1b1465
fix: golangci lint error check of writer.Flush
tonur Dec 25, 2025
10bd969
fix: try to satisfy codecov test requirements
tonur Dec 25, 2025
f841046
fix: add additional test to satisfy Codecov
tonur Dec 25, 2025
057f767
fix: add further tests to improve codecov coverage
tonur Dec 26, 2025
89e6081
fix: even more codecov coverage
tonur Dec 26, 2025
27a7f38
fix: replace tonur with homeport that was added temporarily
tonur Dec 26, 2025
a87cf45
fix: add a little bit more codecov
tonur Dec 26, 2025
a7bb14d
fix: add more codecov coverage to output_changed_entries
tonur Dec 26, 2025
0273c0f
fix: add some more test structure to output_changed_entries test to s…
tonur Dec 26, 2025
4446e02
Merge branch 'main' into add-simple-output
tonur Jan 7, 2026
c79458e
Merge remote-tracking branch 'upstream/main' into add-simple-output
tonur Mar 16, 2026
02b643b
Readd bool flag
tonur Mar 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions assets/colors/dyff.expected
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@

manifest_version
± value change
 - v1.19.0
 + v1.20.0

instance_groups.diego-api.jobs.bbs.properties.diego.bbs
- one map entry removed:
locket:
│ api_location: "locket.service.cf.internal:8891"

instance_groups.scheduler.jobs.auctioneer.properties.diego.auctioneer
- one map entry removed:
locket:
│ api_location: "locket.service.cf.internal:8891"

instance_groups.diego-cell.jobs.rep.properties.diego.rep
- two map entries removed:
require_tls: true
locket:
│ api_location: "locket.service.cf.internal:8891"

instance_groups.scheduler.jobs.auctioneer.properties.diego.auctioneer
- one map entry removed:
locket:
│ api_location: "locket.service.cf.internal:8891"

manifest_version
± value change
 - v1.19.0
 + v1.20.0

releases.capi.sha1
± value change
 - 77186faf9dc9606e633ef27186ae09ba8599f4cb
 + c56405524d92b34af2b063e7d7ee44a7465b7697

releases.capi.url
± value change
 - https://bosh.io/d/github.com/cloudfoundry/capi-release?v=1.50.0
Expand All @@ -30,10 +35,10 @@
 - 1.50.0
 + 1.51.0

releases.capi.sha1
releases.cflinuxfs2.sha1
± value change
 - 77186faf9dc9606e633ef27186ae09ba8599f4cb
 + c56405524d92b34af2b063e7d7ee44a7465b7697
 - ee40ea704b2283c2fbb722e30e0de77e333114a9
 + 3f2c51de807ed90456b72a705172f3efb0508c36

releases.cflinuxfs2.url
± value change
Expand All @@ -45,10 +50,10 @@
 - 1.190.0
 + 1.191.0

releases.cflinuxfs2.sha1
releases.garden-runc.sha1
± value change
 - ee40ea704b2283c2fbb722e30e0de77e333114a9
 + 3f2c51de807ed90456b72a705172f3efb0508c36
 - 9cb3ec63f04d6cfb3047229544f261ff737f203e
 + ed353e41eec34c3713d6d80c4cc890afc7291cca

releases.garden-runc.url
± value change
Expand All @@ -60,10 +65,10 @@
 - 1.12.0
 + 1.12.1

releases.garden-runc.sha1
releases.loggregator.sha1
± value change
 - 9cb3ec63f04d6cfb3047229544f261ff737f203e
 + ed353e41eec34c3713d6d80c4cc890afc7291cca
 - 92a9f4cb584316e093fb9735b5709e6259fa826d
 + 61949aff688e368a11d03daa18855800517666d3

releases.loggregator.url
± value change
Expand All @@ -75,8 +80,3 @@
 - 102
 + 102.1

releases.loggregator.sha1
± value change
 - 92a9f4cb584316e093fb9735b5709e6259fa826d
 + 61949aff688e368a11d03daa18855800517666d3

23 changes: 23 additions & 0 deletions assets/issues/issue-525/expected.changed-entries
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
allowed:
- digest: "sha256:1111111111111111111111111111111111111111111111111111111111111111"
image: name/container
registry: ghcr.io
tag: 1.2.4
field:
- test
- digest: "sha256:22222222222222222222222222222222222222222222222222222222222222222"
image: yes/i-am-an-image
registry: docker.io
tag: 1.2.4-test_with.symbols
- digest: "sha256:4444444444444444444444444444444444444444444444444444444444444444"
image: oh-look/another-flaky
registry: quay.io
tag: 3.1.2-test-with-dashes
- digest: "sha256:0000000000000000000000000000000000000000000000000000000000000000"
image: you-would-not/guess
registry: docker.io
tag: 1.3.2
- digest: "sha256:6666666666666666666666666666666666666666666666666666666666666666"
image: additional/image
registry: new.io
tag: 9.8.7
12 changes: 6 additions & 6 deletions assets/issues/issue-89/expected-dyff-spruce.github
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

@@ bar @@
! ± type change from map to <nil>
- c: 3
d: 4
+ <nil>

@@ foo @@
! ± type change from map to list
- a: 1
b: 2
+ - 1
- 2

@@ bar @@
! ± type change from map to <nil>
- c: 3
d: 4
+ <nil>

12 changes: 6 additions & 6 deletions assets/issues/issue-89/expected-dyff-spruce.human
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

bar
± type change from map to <nil>
- c: 3
d: 4
+ <nil>

foo
± type change from map to list
- a: 1
b: 2
+ - 1
- 2

bar
± type change from map to <nil>
- c: 3
d: 4
+ <nil>

10 changes: 5 additions & 5 deletions assets/kubernetes/multi-docs-file-level/expected-dyff.human
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@

metadata (v1/Service/foo)
+ one map entry added:
annotations:
foo: bar

(root level) (v1/Service/foo-2)
- one document removed:
---
Expand Down Expand Up @@ -37,3 +32,8 @@ metadata (v1/Service/foo)
selector:
kubernetes.io/app: baz

metadata (v1/Service/foo)
+ one map entry added:
annotations:
foo: bar

74 changes: 37 additions & 37 deletions assets/multiline/expected-dyff-spruce.github
Original file line number Diff line number Diff line change
@@ -1,41 +1,4 @@

@@ files.simple.content @@
! ± value change in multiline text (three inserts, three deletions)
 UnChanged line
- This line will change 1
+ This line changed 1
 UnChanged line
- This line will change 2
+ This line changed 2
 UnChanged line
- This line will change 3
+ This line changed 3

@@ files.newline.content @@
! ± value change in multiline text (four inserts, four deletions)
 
- 
- This line will change 1
+ This line changed 1
 UnChanged line
 
- This line will change 2
+ This line changed 2
 UnChanged line
 
 
- 
 Moved line
+ 
 
 
 UnChanged line
- This line will change 3
+ This line changed 3
+ 
 
 

@@ files.complex.content @@
! ± value change in multiline text (two inserts, two deletions)
 Begin line 1
Expand Down Expand Up @@ -92,3 +55,40 @@
 End line 3
 End line 4

@@ files.newline.content @@
! ± value change in multiline text (four inserts, four deletions)
 
- 
- This line will change 1
+ This line changed 1
 UnChanged line
 
- This line will change 2
+ This line changed 2
 UnChanged line
 
 
- 
 Moved line
+ 
 
 
 UnChanged line
- This line will change 3
+ This line changed 3
+ 
 
 

@@ files.simple.content @@
! ± value change in multiline text (three inserts, three deletions)
 UnChanged line
- This line will change 1
+ This line changed 1
 UnChanged line
- This line will change 2
+ This line changed 2
 UnChanged line
- This line will change 3
+ This line changed 3

78 changes: 39 additions & 39 deletions assets/multiline/expected-dyff-spruce.human
Original file line number Diff line number Diff line change
@@ -1,43 +1,4 @@

files.simple.content
± value change in multiline text (three inserts, three deletions)
 UnChanged line
 - This line will change 1
 + This line changed 1
 UnChanged line
 - This line will change 2
 + This line changed 2
 UnChanged line
 - This line will change 3
 + This line changed 3


files.newline.content
± value change in multiline text (four inserts, four deletions)
 
 - 
 - This line will change 1
 + This line changed 1
 UnChanged line
 
 - This line will change 2
 + This line changed 2
 UnChanged line
 
 
 - 
 Moved line
 + 
 
 
 UnChanged line
 - This line will change 3
 + This line changed 3
 + 
 
 


files.complex.content
± value change in multiline text (two inserts, two deletions)
 Begin line 1
Expand Down Expand Up @@ -95,3 +56,42 @@
 End line 4


files.newline.content
± value change in multiline text (four inserts, four deletions)
 
 - 
 - This line will change 1
 + This line changed 1
 UnChanged line
 
 - This line will change 2
 + This line changed 2
 UnChanged line
 
 
 - 
 Moved line
 + 
 
 
 UnChanged line
 - This line will change 3
 + This line changed 3
 + 
 
 


files.simple.content
± value change in multiline text (three inserts, three deletions)
 UnChanged line
 - This line will change 1
 + This line changed 1
 UnChanged line
 - This line will change 2
 + This line changed 2
 UnChanged line
 - This line will change 3
 + This line changed 3


Loading
Loading