Skip to content

terminal improvements: add evidence column back, make diff more obvious#143

Merged
tstromberg merged 5 commits intochainguard-dev:mainfrom
tstromberg:style2
Apr 17, 2024
Merged

terminal improvements: add evidence column back, make diff more obvious#143
tstromberg merged 5 commits intochainguard-dev:mainfrom
tstromberg:style2

Conversation

@tstromberg
Copy link

@tstromberg tstromberg commented Apr 17, 2024

Inspired by a similar tool I found yesterday (https://github.com/owasp-dep-scan/blint), I'm adding the evidence column back to the terminal output.

To help with people who are not familiar with unified diff format, I've also split the "Added" and "Removed" tables up for maximum readability. These same changes will also be made to the Markdown layout as part of #142

Diff output before:

Screenshot 2024-04-17 at 5 27 03 PM

Diff output after:

Screenshot 2024-04-17 at 5 25 56 PM

@tstromberg tstromberg marked this pull request as draft April 17, 2024 13:07
@tstromberg tstromberg marked this pull request as ready for review April 17, 2024 21:29
@tstromberg tstromberg changed the title Add evidence back to terminal output terminal improvements: add evidence column back, make diff more obvious Apr 17, 2024
@tstromberg tstromberg requested a review from vaikas April 17, 2024 21:33
@tstromberg tstromberg enabled auto-merge (squash) April 17, 2024 23:40
@tstromberg tstromberg merged commit 456a83d into chainguard-dev:main Apr 17, 2024
egibs pushed a commit to egibs/malcontent that referenced this pull request Aug 5, 2024
…us (chainguard-dev#143)

* Add evidence back to terminal output

* terminal: make diff output more readable

* Update testdata for risk presentation change

* terminal: further improve diff output
egibs pushed a commit to egibs/malcontent that referenced this pull request Sep 25, 2024
…us (chainguard-dev#143)

* Add evidence back to terminal output

* terminal: make diff output more readable

* Update testdata for risk presentation change

* terminal: further improve diff output
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