The SonarCloud scan printed three warnings that sonar-project.properties
can clear:
- sonar.exclusions=lcov.info: sonar.sources=. indexed the coverage
report (over 20 MB), and the scanner warned and dropped it.
- sonar.cpd.exclusions: duplication now skips the test-file patterns,
crates/ui-egui/src/menus/ui_commands.rs and the MCP catalog generated
from it, which gave 32 "Too many duplication" warnings. The value is
on one line because the shared Sonar workflow reads it with one sed
line and adds **/i18n/**.
- sonar.python.version=3.12, 3.13, 3.14, 3.15: the versions CI runs the
scripts in packaging/ and scripts/ with (3.12 on Ubuntu 24.04, 3.13
from setup-python in the nightly jobs, 3.15 on macOS 15).
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.
gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
xtask pdf-deps still expected craft-pdf and the patched hayro/krilla
backends at main's 9be9a637 revision after this branch pinned them to
a499742a. Point REV at that pin (still on craft-libs main). Classify
test files in sonar-project.properties the way craft-libs does, so the
quality gate measures the product. Give the EPS operation-budget test
the same 300s cap as the other budget tests; under instrumented coverage
it overran the old 120s cap, while the Ubuntu gate finished in time.
Records why rust:S4790 (`crates/pdf/src/encrypt.rs`) stays, like wordcraft#6187 did for SHA-1 in ODT. MD5 is the key derivation of the PDF standard security handler revisions 2-4 (ISO 32000-1 §7.6.3.3), which PDF 1.3-1.6 encryption uses. It's needed to read those files and to write the compatibility the user picks. The default, 256-bit AES (revision 6), hashes with SHA-2.