Repository navigation
WIP: release(preinstall): pin niugit 2.56.0.3 (GfW 2.56.0.windows.4 security rebuild) - #629
Merged
Merged
Conversation
…ty rebuild) The preinstall pin still named niugit 2.56.0.2 with that release's digests, while the wpm index moved to 2.56.0.3 on 2026-10-26. That is a 1.5.0 release blocker, not just staleness: release.yml's Confirm-PackagePin compares the pinned digests against the live index, so on the x64 leg the mismatch lands niugit in $failed and the pre-install step throws fail-closed (niubash#468) - the x64 release stops; on the arm64 leg it warns fail-open and ships a package with no preinstalled git. 2.56.0.3 is the Git for Windows 2.56.0.windows.4 security rebuild (brotli 1.2.1, fixing CVE-2026-111497). Both digests were verified two ways before landing: the live wpm-source index.json entry and the niu-git v2.56.0.3 release assets' own digest fields agree exactly (x64 fc700ae92fb5..., arm64 490fc3c2abf5...; sizes 34772677 / 33911689 also match). check-pins.py (report and --fail-on-stale) is fully green after the bump; all other pins were already current and are untouched. Same set as e6bfeff: also moves the `niu plugin add niugit` recipe pin (generator row + generated recipes.toml row) so the setup wizard no longer offers the pre-2.56.0.3 build. The WinuxCmd pin (1.1.20, current formal latest) and the rubash pin are deliberately not touched here.
Member
Author
|
CI adjudication (for the merge): run 40611950229's only red job is
No new failure names; every other check on this PR is green. This matches the adjudicated green-equivalent caliber for niubash Windows CI, so the PR is ready to merge on that basis. The change itself is data-only (pin JSON + recipe rows), and |
caomengxuan666
marked this pull request as ready for review
October 28, 2026 01:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps the bundled niugit pin 2.56.0.2 → 2.56.0.3 in
scripts/release/preinstall.json(version + both architecture digests + purpose text), plus the matchingniu plugin add niugitrecipe pin (scripts/gen-plugin-recipes.pygenerator row + generatedrecipes.tomlrow) — the same three-file set as the previous bump e6bfeff, so the setup wizard no longer offers the old build either.Why this is a 1.5.0 release blocker, not routine freshness
The wpm index moved to niugit 2.56.0.3 on 2026-10-26, so the pinned 2.56.0.2 digests no longer match the live index.
release.yml's Confirm-PackagePin compares pinned digests against that live index at release time:$failed→ the pre-install step throws fail-closed (niubash#468) → the 1.5.0 x64 release stops.2.56.0.3 is also the build we want on security grounds alone: it is the Git for Windows 2.56.0.windows.4 security rebuild (brotli 1.2.1, fixing CVE-2026-111497).
Digest evidence (verified two independent ways before landing)
fc700ae92fb50209344ad7d18649e1fc1cb5cba21ffe75d95ec5668fd1e625a1490fc3c2abf5da6b5441b8717ce8f22d187b74cd7f04aed6abc4ed50f9f4b12funixwin/wpm-sourceindex.jsonniugit entry (version 2.56.0.3).unixwin/niu-gitrelease v2.56.0.3 assetdigestfields — identical values and sizes.python scripts/release/check-pins.pyand--fail-on-staleboth fully green after the bump (ok niugit: 2.56.0.3; every other pin already current).Deliberately untouched
Diff: 3 files, +10/−10, data-only (no code paths change).