microsoft / microsoft/oxidizer

Follow up on semver-checks target-directory tradeoffs

Open
#708 0 comments 0 reactions 1 assignee Claimed by @kate-shine View on GitHub
Dominant language
Rust
Stars
168
Forks
29
Avg merge
1d 23h
Merged PRs (30d)
49

Description

Follow-up work from PR #702:

- Document that package-specific relocation can split one release's baseline artifacts between `\target` and `\oxi-sc`, including the resulting cleanup behavior.
- Document or mitigate the trust boundary introduced by a deterministic target directory at the volume root, where another local user could pre-create the directory and control its ACL.
- Update the operator-facing help in `scripts/release-packages.ps1` to describe conditional `CARGO_TARGET_DIR` relocation, explicit-variable precedence, and manual cleanup of `\oxi-sc`.
- Guard the result of `GetPathRoot` before calling `StartsWith`, preserving the fail-open behavior when a whitespace-only repository root produces `$null`.

The upstream `cargo-semver-checks` feature request is tracked separately in obi1kenobi/cargo-semver-checks#1720.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.