feat: add windows installation through scoop - #3879
amitksingh1490 wants to merge 3 commits into
Conversation
Co-authored-by: ForgeCode <noreply@forgecode.dev>
Blocked: autofix scope drift after draft publicationAt 2026-09-16 04:51 UTC, autofix.ci pushed The initial authored-head Build/Test and zsh performance run was cancelled (35056962484). Initial autofix run 35056962471 reports success for Fmt and both Clippy steps but failure at Autofix after pushing its commit. Current bot-head Build/Test and performance checks are queued; another Lint Fix run is in progress. No latest-head CI success is being claimed. Independent Linux schema/download/hash/PE/update-template checks apply to the authored Scoop files only, not the expanded bot changes. Native Windows installation, execution, update, uninstall and actual PowerShell updater tests remain unperformed. Maintainer ownership of committing future manifest updates also remains outstanding. Durable authored commit patch: Maintainer action needed: resolve the unrelated autofix expansion while preserving the two-file packaging scope, then rerun/review final-head CI and perform native Windows lifecycle checks. This draft is not PR Ready. Co-Authored-By: ForgeCode noreply@forgecode.dev |
Summary
Related to #2268 (not claiming completion). Adds only
bucket/forge.jsonand a Windows/Scoop section in the existing README. Draft: native Windows lifecycle verification remains blocked.scoop bucket add forgecode https://github.com/tailcallhq/forgecodethenscoop install forgecode/forgeafter the manifest lands on the default branch. For pre-merge testing, check out this PR branch in the local bucket clone before installing; default main does not yet contain this manifest.#/forge.exegives both architectures the same executable/shim name.checkverand architecture-specificautoupdateURL templates. No install/uninstall scripts, dependencies, global environment changes, or release/repository automation changes.scoop updatedoes not execute checkver/autoupdate: without committed manifest updates this bucket stays pinned. Agreeing who maintains these updates is outstanding.Prior work / upstream review
Refreshed issue, comments, timeline, related open/closed PRs and main via
gh. #3056 changed only labels/release-drafter rules, not packaging. Closed/unmerged #3804 changes the native self-updater, not Scoop; not duplicated here. No ForgeCode manifest found via ScoopInstaller code/PR searches or complete Main/Extras trees. Main's deprecatedforge.jsonpackages an unrelated F# tool; use the bucket-qualified name to avoid ambiguity.Current release workflow already builds both Windows MSVC targets. Published release: https://github.com/tailcallhq/forgecode/releases/tag/v2.13.21. Its release workflow succeeded: https://github.com/tailcallhq/forgecode/actions/runs/30652596663. That is asset-production evidence, NOT validation of this PR or a native install test.
Validation completed on Linux
gh release download v2.13.21 --pattern '*pc-windows-msvc.exe'; independently checked SHA-256 against GitHub digest and manifest, size, PE signature and machine architecture.c7e4ad1aef8d2a84f51560f6b6faec32235b779dad8c7587b7262651ba6b40c6abf8fdded4bc710c41a69142b4b62ee22b61161a85c027396c135742668cbfa8jsonschema.Draft7Validatoragainst current upstream Scoop schema: PASS.git diff --check: PASS. No Rust changed; no full Rust build/tests/lints, with approximately 1 GB free after downloads./home/forge/issue-patches/2268; worktree/home/forge/worktrees/2268, branchinvestigation/2268-scoop.Outstanding verification / blockers
No native Windows host or PowerShell/Scoop is available in this Linux environment. NOT RUN: Scoop schema/Pester tests, actual
checkver.ps1 -Update, x64/ARM64 installation,forge --help/--version, noninteractive-psmoke test with a configured provider, previous-version-to-current upgrade (includingscoop update *), shim/PATH precedence, locked executable handling, uninstall/shim removal and user-data preservation. The debug-cli skill was read; a Linux Rust build cannot establish native Windows packaging correctness and was intentionally not run.Windows reviewers: select this PR branch in the bucket clone, exercise both architectures and update/uninstall paths, and confirm only the Scoop-managed executable changes. Close running Forge processes and use Scoop rather than the built-in updater. No 32-bit Windows asset is advertised.
Keep draft/Blocked until these checks and latest-head CI review are complete. No workflow approvals, force pushes, merges, or automatic issue closure requested.
Co-Authored-By: ForgeCode noreply@forgecode.dev