Skip to content

Drop vestigial -1.0 suffix from vendor/DirectX-Headers-1.0#1451

Open
benhillis wants to merge 1 commit into
mainfrom
user/benhillis/dxh-rename
Open

Drop vestigial -1.0 suffix from vendor/DirectX-Headers-1.0#1451
benhillis wants to merge 1 commit into
mainfrom
user/benhillis/dxh-rename

Conversation

@benhillis
Copy link
Copy Markdown
Member

The -1.0 suffix on vendor/DirectX-Headers-1.0 is a vestige of a one-time experimental upgrade attempt. We only ship the one version of DirectX-Headers, so the suffix is dead version-skew baggage that's been confusing every new contributor opening the Dockerfile.

Rename to vendor/DirectX-Headers and update the 4 referencing files: Dockerfile (COPY + WORKDIR), build-and-export.sh (vendor_commit call), CONTRIBUTING.md (3 references in setup recipes), config/BUILD.md (mv command).

Merge order matters -- the companion bridge PR in wslg-build must merge first. The bridge materializes both the old and new vendor paths so wslg main + every release/* branch keeps building unchanged. After this PR lands and any maintained release branches have adopted the new name, a follow-up wslg-build PR can drop the bridge cp -a line.

Companion: https://github.com/microsoft/wslg-build/pull/new/user/benhillis/dxh-rename-bridge (link will redirect to the actual PR once filed)

Buddy: https://microsoft.visualstudio.com/DxgkLinux/_build/results?buildId=147259999 (paired wslg=this PR + wslg-build=user/benhillis/dxh-rename-bridge)

Use 'vendor/DirectX-Headers' as the canonical path, matching the
upstream repo name (https://github.com/microsoft/DirectX-Headers).
The '-1.0' suffix was vestigial from an old multi-version-coexistence
convention that no longer applies; only one version is ever vendored.

Touches build-and-export.sh, Dockerfile, CONTRIBUTING.md, config/BUILD.md.

Paired with wslg-build PR that materialises both old and new paths
in the pipeline so neither this rename nor older wslg refs (release/*)
break in the merge gap.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 18, 2026 21:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the obsolete -1.0 suffix from the DirectX-Headers vendor directory name, standardizing on vendor/DirectX-Headers and updating all in-repo build/documentation references accordingly.

Changes:

  • Update Docker build steps to COPY/WORKDIR from vendor/DirectX-Headers.
  • Update local build helper (build-and-export.sh) to read the DirectX-Headers commit from the new path.
  • Update contributor/self-hosting documentation to use the new vendor directory name.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
Dockerfile Switches DirectX-Headers build inputs to vendor/DirectX-Headers.
CONTRIBUTING.md Updates clone and build-arg instructions to reference wslg/vendor/DirectX-Headers.
config/BUILD.md Updates tarball extraction rename step to produce vendor/DirectX-Headers.
build-and-export.sh Updates vendor_commit path for DirectX-Headers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants