-
|
Hello, I have setup 2 products for the same software:
Can I copy the review statuses from prod-nightly to prod-releases? AFAICT the report hashes don't change for the same issue in the two products. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes. Use The relevant behavior is that products are separate result databases, so Web UI review state is not shared across products. The CLI export/import path is meant for this kind of transfer: it exports comments and review statuses, and the import side restores them by report hash. The functional tests also exercise changing a review status, exporting it, and importing it back. Example shape: CodeChecker cmd export -n <nightly-run-name> --url http://host/prod-nightly -o reviews.json
CodeChecker cmd import -i reviews.json --url http://host/prod-releasesI would test this on one release run first and make sure the target run already exists and the hashes really match. For long-term false-positive handling, in-code suppressions are still more robust because Web UI state remains database/product state. |
Beta Was this translation helpful? Give feedback.
Yes. Use
CodeChecker cmd exporton the source product/run andCodeChecker cmd importon the target product URL.The relevant behavior is that products are separate result databases, so Web UI review state is not shared across products. The CLI export/import path is meant for this kind of transfer: it exports comments and review statuses, and the import side restores them by report hash. The functional tests also exercise changing a review status, exporting it, and importing it back.
Example shape:
I would test this on one releas…