Skip to content

Fix source.dot.net branding and fetch the VMR manifest via git - #268

Merged
tannergooding merged 2 commits into
dotnet:mainfrom
tannergooding:tannergooding-investigate-azure-file-loading
Jul 19, 2026
Merged

Fix source.dot.net branding and fetch the VMR manifest via git#268
tannergooding merged 2 commits into
dotnet:mainfrom
tannergooding:tannergooding-investigate-azure-file-loading

Conversation

@tannergooding

@tannergooding tannergooding commented Jul 19, 2026

Copy link
Copy Markdown
Member

Two source.dot.net fixes on top of #267.


Fetch the VMR source manifest from git for sub-repo tags

The per-subfolder repo filter tags for the dotnet/dotnet VMR came up empty because the stage1 bundle doesn't ship src/source-manifest.json (it isn't a project file), and the extracted vertical can be the partial dotnet-dotnet-windows bundle. Fetch just that file from dotnet/dotnet at the pinned commit via a treeless single-file partial clone, keyed to the full dotnet-dotnet vertical's SHA rather than the windows one. Source links are unaffected — this only feeds /repoPath filtering.


Ensure /showBranding survives deployment

The branding toggle was only rewritten into index/scripts.js, but the proxy serves wwwroot/scripts.js for site chrome, so the deployed site kept the raw false token. The rewrite now patches both copies.

tannergooding and others added 2 commits July 18, 2026 23:52
ApplyScriptsJsCustomizations only rewrote index/scripts.js, but the proxy
deployment (Helpers.ServeProxiedIndex) serves scripts.js locally from wwwroot,
so source.dot.net kept serving the un-rewritten template with branding off.
Write the rewritten script to both copies.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The stage1 bundle doesn't ship src/source-manifest.json, so fetch just that
file from dotnet/dotnet at the pinned commit with a treeless single-file
partial clone, keyed to the full dotnet-dotnet vertical's SHA rather than the
partial dotnet-dotnet-windows one.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@tannergooding
tannergooding force-pushed the tannergooding-investigate-azure-file-loading branch from 2d5e2a8 to 3e6c85e Compare July 19, 2026 06:52
@tannergooding tannergooding changed the title Fix Solution Explorer defaulting, VMR repo filters, and branding on source.dot.net Fix source.dot.net branding and fetch the VMR manifest via git Jul 19, 2026
@tannergooding
tannergooding merged commit 24faee7 into dotnet:main Jul 19, 2026
2 checks passed
@tannergooding
tannergooding deleted the tannergooding-investigate-azure-file-loading branch July 19, 2026 06:57
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