Conversation
Entire-Checkpoint: 047bd8a0866e
There was a problem hiding this comment.
Pull request overview
Adds a “nightly” release channel to the curl-based installer and updates the CLI’s update instructions to account for nightly vs stable installs, aligning future work around install provenance.
Changes:
- Add
--channel stable|nightlysupport toscripts/install.shand implement nightly version resolution via GitHub releases. - Update version-check update instructions to use nightly-aware commands (e.g.,
brew upgrade --cask entire@nightly, and curl installer with--channel nightlyfallback). - Add a planning doc for installer-owned provenance and auto-update.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
scripts/install.sh |
Adds channel selection and nightly version fetching for the installer. |
docs/install-provenance-plan.md |
Documents the intended provenance + auto-update approach for follow-up work. |
cmd/entire/cli/versioncheck/versioncheck.go |
Makes update instructions channel-aware and adds Scoop/Homebrew cask handling. |
cmd/entire/cli/versioncheck/versioncheck_test.go |
Updates tests for the new update-command behavior and new channels/managers. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Nightly grep failure causes silent script exit
- Added
|| trueto the nightly tag extraction pipeline so grep no-match no longer aborts underset -euo pipefailand the intended empty-version error path runs.
- Added
Or push these changes by commenting:
@cursor push fab33146c7
Preview (fab33146c7)
diff --git a/scripts/install.sh b/scripts/install.sh
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -107,7 +107,7 @@
get_latest_nightly_version() {
local url="https://api.github.com/repos/${GITHUB_REPO}/releases?per_page=20"
local version
- version=$(fetch_github_json "$url" | grep '"tag_name"' | grep 'nightly' | head -n 1 | sed -E 's/.*"tag_name": *"v?([^"]+)".*/\1/')
+ version=$(fetch_github_json "$url" | grep '"tag_name"' | grep 'nightly' | head -n 1 | sed -E 's/.*"tag_name": *"v?([^"]+)".*/\1/' || true)
if [[ -z "$version" ]]; then
error "Failed to fetch latest nightly version from GitHub. Please check your internet connection."This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit d94e648. Configure here.
Entire-Checkpoint: f1f49b36f4dd
Entire-Checkpoint: 4379bf1f78b3
Entire-Checkpoint: 4fe9865d5a13
Entire-Checkpoint: 427b7cc4ab3a


Summary
This PR adds nightly installation support to
scripts/install.sh, aligns Homebrew stable and nightly documentation around cask installs, updates version-check notifications so the suggested upgrade command matches the detected install manager and release channel, and documents the new release-channel options in the README.What Changed
--channel stable|nightlytoscripts/install.shinstall.shto the latest stable releaseinstall.shfor--channel nightlybrew upgrade --cask entiremisedetection so existingmiseinstalls still getmise upgrade entireUpdate Commands Shown By Version Check
These are the update commands the CLI can now display when a newer version is available:
brew upgrade --cask entirebrew upgrade --cask entire@nightlycurl -fsSL https://entire.io/install.sh | bashcurl -fsSL https://entire.io/install.sh | bash -s -- --channel nightlyscoop update entire/climise upgrade entireIntentionally Deferred
This PR does not add
install.jsonor installer-owned provenance yet.That work is deferred to a follow-up so this PR stays focused on the low-friction path:
install.shThe follow-up plan is documented in
docs/install-provenance-plan.md.Verification
bash -n scripts/install.shgo test ./cmd/entire/cli/versioncheckmise run test