tooling: normalize layout destination directories #210
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/213"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by Vonsek on 2026-11-21T18:27:53Z.
Change
Collapse redundant separators and
.components in packageDestinationPathvalues before comparing layout targets with inventory paths. Parent directory components remain literal in the comparison. Windows path normalizationVerification
Windows 11 build 26200.9974, Visual Studio Build Tools 2022 17.14.45 (MSVC 19.44.35230), Python 3.12.10, CMake 3.31.6.
out/pe-env/Scripts/python.exe -B tests/layout_chunks_check.py: the new fixture failed on9eb4dbebecause two matching destinations appeared missing. Passed at7cd18a0.cmake --preset devandcmake --build --preset dev --target intake_candidate intake_provider: configured and built the intake fixtures from a clean output directory.ctest --preset dev --no-tests=error -R '^layout_chunk_summary$' -V: 0/1 on base with the new fixture, 1/1 at7cd18a0, zero skips.ctest --preset dev --no-tests=error -R '^(layout_chunk_summary|static_exe_intake|conditional_import_paths)$' -V: 3/3 at7cd18a0, zero skips.git diff --check: passed.Evidence and follow-up
The original MIT-licensed regression writes a synthetic XML layout and passes in-memory inventory names to
compare_layout. It covers a nested destination with an extra separator and a.component, a current-directory destination at the package root, and a..destination that remains unresolved.Checklist
AI-assisted with Codex.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-21T18:28:01Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
7cd18a0ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.