Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add obsolete entries to comparison report #1777

Merged
merged 1 commit into from
Apr 23, 2023

Conversation

presidentbeef
Copy link
Owner

Include "obsolete" (warnings in the ignore configuration that are no longer present) fingerprints in report when using --compare.

{
  "new": [

  ],
  "fixed": [

  ],
  "obsolete": [

  ]
}

This isn't particularly smart - it just reports the obsolete fingerprints just like the text report would for a new scan. It doesn't differentiate between already-obsolete and newly-obsolete.
In other words, if there were ignored warnings that were already missing in the original report, they will still be reported as obsolete in the new report.

Fixes #1758

Also update the test for comparison report to be more modern.

@presidentbeef presidentbeef merged commit 98885f3 into main Apr 23, 2023
@presidentbeef presidentbeef deleted the add_obsolete_entries_to_comparison_report branch April 23, 2023 17:12
Repository owner locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "obsolete" entries to comparison results
1 participant