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

Import the suppressions per report #3693

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Conversation

dkrupp
Copy link
Member

@dkrupp dkrupp commented Jun 24, 2022

CodeChecker cmd suppress run_name -i <import_file>
will only import suppressions for the run indicated by run_name,
and not all reports.

Suppressions are imported as single report suppressions
instead of suppression rules.

This is the behaviour the user expects when run name is given
as a parameter to the command.

This patch also fixes the changeReviewStatus(report_id, status, message)
API function to change the review status of a single report only
instead of all reports with the same hash.

@dkrupp dkrupp requested review from bruntib and vodorok as code owners June 24, 2022 12:12
@bruntib bruntib added this to the release 6.20.0 milestone Jun 27, 2022
docs/web/user_guide.md Show resolved Hide resolved
docs/web/user_guide.md Outdated Show resolved Hide resolved
docs/web/user_guide.md Outdated Show resolved Hide resolved
docs/web/user_guide.md Outdated Show resolved Hide resolved
web/server/codechecker_server/api/report_server.py Outdated Show resolved Hide resolved
@dkrupp dkrupp force-pushed the suppression_fix branch from 164756e to 7240dd9 Compare June 29, 2022 10:40
@dkrupp
Copy link
Member Author

dkrupp commented Jun 29, 2022

I fixed all your comments. Ready to be merged.

@dkrupp dkrupp force-pushed the suppression_fix branch 2 times, most recently from cfe6a10 to 44675f8 Compare July 5, 2022 08:18
@dkrupp dkrupp force-pushed the suppression_fix branch from 44675f8 to 1dbcac9 Compare July 6, 2022 10:37
CodeChecker cmd suppress run_name -i <import_file>
will only import suppressions for the run indicated by run_name,
and not all reports.

Suppressions are imported as single report suppressions
instead of suppression rules.

This is the behaviour the user expects when run name is given
as a parameter to the command.

This patch also fixes the changeReviewStatus(report_id, status, message)
API function to change the review status of a single report only
instead of all reports with the same hash.
@dkrupp dkrupp force-pushed the suppression_fix branch from 1dbcac9 to 1176d8f Compare July 6, 2022 11:07
@bruntib bruntib merged commit ad0a7ff into Ericsson:master Jul 6, 2022
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