Skip to content

build: Purview.Build as a local tool and SDK 1.0.5 - #1

Merged
kieronlanning merged 3 commits into
mainfrom
chore/purview-deps
Oct 13, 2026
Merged

kieronlanning merged 3 commits into
mainfrom
chore/purview-deps

Conversation

@kieronlanning

Copy link
Copy Markdown
Contributor

All changes are build/tooling only. package.json is untouched, and the v0.1.0-prerelease.1 tag already exists, so merging this produces no new release.

Changes

  • Purview.BuildSdk / Purview package versions brought up to date where applicable.
  • Purview.Build installed as a .NET local tool. Added to .config/dotnet-tools.json; the Justfile now uses dotnet tool restore plus dotnet purview-build instead of a hand-rolled dotnet tool install --tool-path .tools/purview-build. The dead pipeline_feed variable is removed and the docs updated.
  • RequiredCompilerFlags declared explicitly. Purview.Build 0.5.3 defaults it to empty; earlier versions forced the optimization=release check on and could not be configured off, because binding an empty JSON array contributes no configuration keys. Declaring it keeps the check this repository has always run under rather than silently losing it.
  • Purview.Build pinned to 0.5.3.

Verification

just pipeline-pack-validate against 0.5.3: all packages valid, pipeline exits 0.

  • Adopter guidance updated. docs/wiki/Getting-Started.md now shows Purview.Build in the tool manifest and a dotnet tool restore recipe, with a note that a repository should never hand-roll dotnet tool install --tool-path for it.
  • This repository ships no package and has no PackValidation section, so it needs no RequiredCompilerFlags declaration.

…tor 5.0.3

Update Purview.BuildSdk from 1.0.4 to 1.0.5, and Purview.Telemetry.SourceGenerator
from 5.0.1 to 5.0.3 in both the repository and the adopter template.

Purview.Containers stays pinned at 1.0.0-prerelease.6 in the template: it is
prerelease-only and the template documents the exact pin deliberately.
Add Purview.Build 0.5.2 to .config/dotnet-tools.json and replace the hand-rolled
dotnet tool install --tool-path .tools/purview-build in the Justfile with
dotnet tool restore, running the pipeline as dotnet purview-build.

The version is now pinned in the tool manifest alongside CSharpier, so it is
restored by the same command as every other tool and needs no bespoke install
step, no --add-source feed argument and no platform-specific executable suffix.
The dead pipeline_feed variable is removed, and the docs describing the old
.tools/purview-build path are updated to match.
Picks up the fix that makes RequiredCompilerFlags configurable: earlier versions
forced the compiler-flag check on because binding an empty JSON array
contributes no configuration keys, so the tool's non-empty code default could
never be overridden.

This repository ships no package and has no PackValidation section, so it needs
no RequiredCompilerFlags declaration of its own.

Verified with just pipeline-pr against 0.5.3.
@kieronlanning
kieronlanning merged commit 7f05080 into main Oct 13, 2026
1 of 2 checks passed
@kieronlanning
kieronlanning deleted the chore/purview-deps branch October 13, 2026 11:50
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.

1 participant