Skip to content

[FIX] Remove hash generation for malformed plists - #4978

Merged
Szelethus merged 6 commits into
Ericsson:masterfrom
Makkareal:store_permission_fix
Jul 27, 2026
Merged

[FIX] Remove hash generation for malformed plists#4978
Szelethus merged 6 commits into
Ericsson:masterfrom
Makkareal:store_permission_fix

Conversation

@Makkareal

Copy link
Copy Markdown
Contributor

For historical reasons if a plist does not have bug hashes we used to generate them on the fly. We also opened the plist for writing which breaks storing from Bazel where these files are readonly.

Since we no longer accept non compliant plists it makes no sense to preserve this functionality. This also fixes the permission issue in Bazel.

For historical reasons if a plist does not have bug hashes we used to
generate them on the fly. We also opened the plist for writing which
breaks storing from Bazel where these files are readonly.

Since we no longer accept non compliant plists it makes no sense to
preserve this functionality. This also fixes the permission issue in
Bazel.
@Szelethus Szelethus added bugfix 🔨 report-converter 🔄 bazel 🧩 Directly or inderectly related to bazel support labels Jul 20, 2026
@Szelethus Szelethus added this to the release 6.29.0 milestone Jul 20, 2026
Add new logic for handling 0 Hashes. Add test for new logic using old
plist (renamed).

Add new testfile not containing 0 Hash and update old test to use the
new file.

Fix unused dependancy.

@Szelethus Szelethus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The patch is great overall, some nitpicking.

Comment thread web/tests/functional/cppcheck/test_cppcheck.py Outdated
Comment thread web/tests/functional/cppcheck/test_cppcheck.py

@Szelethus Szelethus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Szelethus Szelethus added the WARN ⚠️: Backward compatibility breaker! MIND THE GAP! Merging this patch will mess up compatibility with the previous releases! label Jul 27, 2026
@Szelethus
Szelethus merged commit cfcc6c8 into Ericsson:master Jul 27, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel 🧩 Directly or inderectly related to bazel support bugfix 🔨 report-converter 🔄 WARN ⚠️: Backward compatibility breaker! MIND THE GAP! Merging this patch will mess up compatibility with the previous releases!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants