Repository navigation
release: bundle niugit/ripgrep/fd into the pre-install manifest (closes #209) - #230
Merged
Merged
Conversation
#209) Extend the #189 manifest-driven pre-install to the #209 must-install bundle: niugit (so 'niu setup' full distro no longer 5-fails on a gitless machine), ripgrep and fd, alongside gawk. Manifest-only change - the workflow's install/shim/verify plumbing is already generic and manifest-driven. No archive formats, no symlinks (hardlink shims only), no runtime downloads: assembly stays in CI. - scripts/release/preinstall.json: add niugit/ripgrep/fd entries with purposes, update the architecture note (ripgrep/fd carry arm64 artifacts and pre-install on both legs; niugit/gawk are x64-only) - tests/preinstall_manifest.rs: pin the four-package must-install bundle as a contract - release.yml: release body + step comment now disclose the bundle and the per-leg arm64 caveat CI artifact verification (usr/bin/git.exe, rg.exe, fd.exe in the staged package, --version smoke) is enforced by the existing verify step and lands with the next release run.
caomengxuan666
added a commit
that referenced
this pull request
Oct 9, 2026
) * release: bundle niugit/ripgrep/fd into the pre-install manifest (closes #209) Extend the #189 manifest-driven pre-install to the #209 must-install bundle: niugit (so 'niu setup' full distro no longer 5-fails on a gitless machine), ripgrep and fd, alongside gawk. Manifest-only change - the workflow's install/shim/verify plumbing is already generic and manifest-driven. No archive formats, no symlinks (hardlink shims only), no runtime downloads: assembly stays in CI. - scripts/release/preinstall.json: add niugit/ripgrep/fd entries with purposes, update the architecture note (ripgrep/fd carry arm64 artifacts and pre-install on both legs; niugit/gawk are x64-only) - tests/preinstall_manifest.rs: pin the four-package must-install bundle as a contract - release.yml: release body + step comment now disclose the bundle and the per-leg arm64 caveat CI artifact verification (usr/bin/git.exe, rg.exe, fd.exe in the staged package, --version smoke) is enforced by the existing verify step and lands with the next release run. * setup: treat release-bundled components as present (follows #230) The release bundle (scripts/release/preinstall.json, #230/#209) ships gawk, niugit, ripgrep and fd into the winuxcmd tree as opt/<pkg> payloads plus usr/bin winuxcmd.exe shims. The setup wizard and doctor now count an existing payload or shim as present, so a bundled component is never reported missing, never re-recommended for install, and its aliases still expand: - bundled detection over the winuxcmd installation root (opt payload OR usr/bin shim, fail-open); EnvProbe annotates tool sources, and the environment summary labels bundled tools '(...)' plus a bundle row naming the packages actually shipped; - the Windows-only niu-git question is skipped and recorded as 'installed' when opt/niugit or the git shim is already there; - 'niu doctor' gains an advisory 'bundled tools' row with the honest source label (bundled vs system, none when the leg shipped without). Tests: payload/shim/missing/None detection, probe satisfaction and label non-shadowing, niu-git skip vs. still-offered, doctor row truth. --------- Co-authored-by: caomengxuan666 <[email protected]>
caomengxuan666
added a commit
that referenced
this pull request
Oct 10, 2026
- Delete docs/eco-harvest-resume-wt97b.md: point-in-time lane resume/handoff snapshot; the harvest/test line now runs on GitHub Actions (eco-harvest-ci.yml) and the diagnosis lives in git history. - CHANGELOG: add Unreleased entries for strip (#228), setup help/non-tty banner (#229), bundled niugit/ripgrep/fd + setup detection (#230/#231), PROMPT_COMMAND exit jump (#232), PS0 stderr (#233), bracketed paste (#234). Co-authored-by: docs-audit <[email protected]>
This was referenced Oct 10, 2026
This was referenced Oct 19, 2026
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.
Closes #209.
What
Extends the #189 manifest-driven release pre-install to the #209 must-install bundle: niugit, ripgrep (
rg) and fd join gawk inscripts/release/preinstall.json. The existing workflow plumbing (install -> shims -> verify) is already fully manifest-driven, so this is a manifest + disclosure change - no new workflow mechanics.Why
niu setupwith the full plugin distro fails all five entries (oh-my-bash, omb-theme-robbyrussell, bash-it, bash-completion, bash-preexec) withfailed to run git; is git.exe on PATH?on any machine without git. Bundling niugit at CI time removes the hard dependency on the user's environment while keeping the 'niu downloads no binaries at runtime' policy intact: the assembly happens here, in release CI.Red lines honored
<root>\opt\<pkg>\+usr\binshims).Details
niugit: whole niu-git tree (git.exe+mingw64/with its minimal dependency DLLs +etc/) intoopt\niugit; commandgitregistered. x64-only in the wpm index.ripgrep/fd: static single-exe payloads; the index carries windows-arm64 artifacts for both, so unlike niugit/gawk they pre-install on the ARM64 leg too. The release body now discloses this per-leg caveat.tests/preinstall_manifest.rsgainsmust_install_bundle_is_present, pinning all four packages as a contract.Verification
cargo test --test preinstall_manifest5/5 green;cargo fmtclean.git/rg/fd--versioninside the staged package) is enforced by the existing verify step (shimNames = manifest packages + shims) - pending the next release run, per the fail-open policy there.