fix: stb - remove flagged files - #18772
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The new source-files entry still contains a non-hash placeholder and the PR state is not yet self-consistent for lock/render drift checks.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR aims to prune a prebuilt Windows executable (tests/oversample/oversample.exe) from the stb upstream source archive by applying a file-remove overlay and pinning the resulting repacked tarball, while also moving stb from an inline stub to a dedicated component definition file.
Changes:
- Move stb from an inline
[components.stb]entry tobase/comps/stb/stb.comp.toml. - Add a per-file overlay to remove
tests/oversample/oversample.exefrom the stb source tarball. - Drop the now-redundant inline stub entry from
base/comps/components.toml.
File summaries
| File | Description |
|---|---|
| base/comps/stb/stb.comp.toml | Introduces a dedicated component file and a source-files replacement entry intended to pin the repacked (post-overlay) tarball. |
| base/comps/stb/overlays/0001-remove-prebuilt-windows-executable.overlay.toml | Adds a file-remove overlay (with metadata) to delete the prebuilt Windows .exe from the upstream archive. |
| base/comps/components.toml | Removes the inline stb stub so the component is defined solely via the dedicated *.comp.toml include. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
f99a79f to
cc6c0bb
Compare
|
Local verification on Build — Overlay effect — the tarball embedded in the built SRPM holds 429 files (was 430), no Inspect — Smoke test — mock chroot, compiled against PNG write/read round-trip returns correct dimensions and pixel data; Drift — One note on the build output: the SRPM is versioned |
There was a problem hiding this comment.
🟡 Changes recommended
The PR description/checklist appears stale relative to the committed state, and it’s unclear from the PR metadata whether the required build/smoke-test validation has been completed.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 5/6 changed files
- Comments generated: 1
- Review effort level: Lite
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
There was a problem hiding this comment.
🟢 Approval recommended
The focused overlay is correctly configured, generated state is consistent, and validation covers the affected package behavior.
Review details
- Files reviewed: 5/6 changed files
- Comments generated: 0 new
- Review effort level: Balanced
Remove the prebuilt Win32 demo executable
tests/oversample/oversample.exefrom stb.It is a UPX-packed PE32 binary checked into upstream's test directory - the only compiled file among the archive's 430 - and the package-signing scan rejects the
.src.rpmbecause of it. Nothing builds or runs it:tests/Makefilenever referencestests/oversample, and the directory is not shipped in any binary RPM.file-remove) drops the.exeand repacks the tarball; the post-overlay hash is pinned viaorigin = { type = "overlay" }.tests/oversample/is kept, so the doc pointer instb_truetype.hstays valid.All 23 subpackages build, upstream's
image_write_teststill passes, andazldev comp render --check-onlyreports no drift.