Skip to content

Replace bt self update with bt update command#257

Open
Parker Henderson (parkerhendo) wants to merge 2 commits into
mainfrom
parker/toplevel-update-cmd
Open

Replace bt self update with bt update command#257
Parker Henderson (parkerhendo) wants to merge 2 commits into
mainfrom
parker/toplevel-update-cmd

Conversation

@parkerhendo

Copy link
Copy Markdown
Contributor

Improve the discoverabilty of the native updater by making it a top-level command.

@ankrgyl Ankur Goyal (ankrgyl) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we keep bt self update as an alias?

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Latest downloadable build artifacts for this PR commit d02f2e3353bf:

Available artifact names
  • artifacts-build-global
  • artifacts-build-local-x86_64-apple-darwin
  • artifacts-build-local-aarch64-pc-windows-msvc
  • artifacts-build-local-x86_64-pc-windows-msvc
  • artifacts-build-local-x86_64-unknown-linux-musl
  • artifacts-build-local-x86_64-unknown-linux-gnu
  • artifacts-build-local-aarch64-apple-darwin
  • artifacts-build-local-aarch64-unknown-linux-gnu
  • artifacts-plan-dist-manifest
  • cargo-dist-cache

Copy link
Copy Markdown
Contributor Author

should we keep bt self update as an alias?

​ah, you're right. Reimplemented to keep (but hide) the self update command in favor of bt update

@viadezo1er

Cedric / ViaDézo1er (viadezo1er) commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Maybe update src/self_update.rs:142: "self-update is only supported for installer-based installs.\ncurrent executable: {}\nif this was installed with Homebrew/apt/choco/etc, update with that package manager", and README.md:398: - Add richer channel controls for self-update (for example pinned/branch canary selection).

I think you wanted to change the self-update wording, and there's some past slop to clean (we don't support brew/apt/choco, only curl ... | sh and npm).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants