Skip to content

Prepare for curl|bash installation.#128

Merged
toothbrush merged 28 commits intomainfrom
20260130-curl-bash-install-script
Feb 2, 2026
Merged

Prepare for curl|bash installation.#128
toothbrush merged 28 commits intomainfrom
20260130-curl-bash-install-script

Conversation

@toothbrush
Copy link
Contributor

@toothbrush toothbrush commented Jan 30, 2026

Description

Create a static script for users who prefer curl -fsSL .. | bash as installation method. No Microsoft Windows support for now.

This script attempts to read from the latest entireio/cli version from Github Releases, then fetches it.

Tested on macOS & Linux (in Docker container), appears to work. For testing purposes i pointed it at

GITHUB_REPO="goreleaser/goreleaser"
BINARY_NAME="goreleaser"

..because Goreleaser releases are released with Goreleaser.

A few things to call out

Shell Completions

The entire CLI already offers to set up completions for the user, which is probably redundant since Homebrew can install them. I also prefer letting whatever package manager handle that.

However! If we're supporting a curl|bash installation method as a 1st-class citizen, at which point it's probably a lot simpler if we lean on the entire CLI to suggest installing completions.

So, assuming we want to unify everything on "just let the CLI install completions", let's remove them from Homebrew for now.

Goreleaser archive naming

I think calling the archive entire_... is nicer. That's also what the installation script expects.


Note

Medium Risk
Adds a new remote-install shell script that downloads and executes a GitHub Release binary, so failures or URL/name mismatches could break installs. Release packaging is adjusted (archive naming and removal of completion assets), which can impact existing automation and Homebrew expectations.

Overview
Prepares the CLI for a first-class curl | bash install path by adding scripts/install.sh, which detects OS/arch, fetches the latest GitHub Release, verifies checksums.txt, extracts, and installs entire into a configurable directory.

Updates .goreleaser.yaml to rename release archives to entire_<os>_<arch>.tar.gz and to stop producing/packaging shell completions (removing the pre-hook, archived completion files, and Homebrew cask completion metadata).

Written by Cursor Bugbot for commit e0ae19d. This will update automatically on new commits. Configure here.

The entire CLI already offers to set up completions for the user, which
is probably redundant since Homebrew can install them.  I also prefer
letting whatever package manager handle that.

However!  If we're supporting a curl|bash installation method as a
1st-class citizen, at which point it's probably a lot simpler if we lean
on the entire CLI to suggest installing completions.

So, assuming we want to unify everything on "just let the CLI install
completions", let's remove them from Homebrew for now.
Copilot AI review requested due to automatic review settings January 30, 2026 01:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes shell completion files from the Homebrew/archive distribution, shifting to a runtime completion approach where users install completions via the CLI itself. This prepares the project for supporting curl|bash installation alongside Homebrew.

Changes:

  • Removed pre-generated completion files from goreleaser archives and Homebrew cask
  • Removed the mise run completions build hook from goreleaser
  • Completion functionality remains available via Cobra's built-in entire completion command

Entire-Checkpoint: 902351e1ac31
Entire-Checkpoint: 77b4472d9686
Entire-Checkpoint: 2639783df244
Entire-Checkpoint: 2639783df244
Entire-Checkpoint: 976aa8a75b95
Entire-Checkpoint: 976aa8a75b95
Entire-Checkpoint: 976aa8a75b95
Entire-Checkpoint: 976aa8a75b95
Entire-Checkpoint: 976aa8a75b95
Copilot AI review requested due to automatic review settings January 30, 2026 03:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

@toothbrush
Copy link
Contributor Author

toothbrush commented Jan 30, 2026

We might want to set up a page rule in Cloudflare so that we have the following redirect:

Note that this won't work until the Github repo is made public.

toothbrush and others added 3 commits January 30, 2026 12:48
Entire-Checkpoint: 62ad2cf6873a
Entire-Checkpoint: e1b89e19180c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 30, 2026 03:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
toothbrush and others added 2 commits January 30, 2026 12:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

@toothbrush toothbrush marked this pull request as ready for review January 30, 2026 04:02
@toothbrush toothbrush requested a review from a team as a code owner January 30, 2026 04:02
Copilot AI review requested due to automatic review settings January 30, 2026 04:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

Copilot AI review requested due to automatic review settings January 30, 2026 04:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

Copilot AI review requested due to automatic review settings January 30, 2026 05:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@toothbrush toothbrush merged commit 314004c into main Feb 2, 2026
4 checks passed
@toothbrush toothbrush deleted the 20260130-curl-bash-install-script branch February 2, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants