Skip to content

Conversation

@kdudka
Copy link
Member

@kdudka kdudka commented May 28, 2024

... to ease finding deduplication. If a checker is too noisy, a small change in the code could unexpectedly change the location (including the file path) of the error[too-many] key event, which would hamper the deduplication of findings.

Related: https://issues.redhat.com/browse/OSH-496

@jperezdealgaba
Copy link
Contributor

jperezdealgaba commented Jun 11, 2024

I can not speak for the correctness of the code, but I have been testing this for #187 and it works as expected.

So LGTM!

kdudka added 3 commits June 11, 2024 18:49
... so that `csdiff` can parse the output when processing it later on
The JSON-based output formats do not have problems with empty strings.

Related: https://issues.redhat.com/browse/OSH-496
... to ease finding deduplication.  If a checker is too noisy, a small
change in the code could unexpectedly change the location (including the
file path) of the `error[too-many]` key event, which would hamper the
deduplication of findings.

Related: https://issues.redhat.com/browse/OSH-496
Copy link
Member

@lzaoral lzaoral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you, @kdudka!

@kdudka
Copy link
Member Author

kdudka commented Jun 12, 2024

@lzaoral Thanks for review!

@kdudka kdudka merged commit be1def4 into csutils:main Jun 12, 2024
@kdudka kdudka deleted the too-many-noloc branch June 12, 2024 07:57
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.

3 participants