Skip to content

feat: add rtk update command - #614

Closed
ricatix wants to merge 4 commits into
rtk-ai:developfrom
ricatix:feat/update-command
Closed

ricatix wants to merge 4 commits into
rtk-ai:developfrom
ricatix:feat/update-command

Conversation

@ricatix

@ricatix ricatix commented Mar 16, 2026 •

Copy link
Copy Markdown

Summary

  • add a new rtk update subcommand and wire it into the CLI meta-command handling
  • update Homebrew installs automatically and pin default Quick Install updates to a tagged release via install.sh
  • document the supported update paths and add a changelog entry

Testing

  • sh -n install.sh
  • . \"$HOME/.cargo/env\" && rtk cargo fmt --all --check
  • . \"$HOME/.cargo/env\" && rtk cargo clippy --all-targets
  • . \"$HOME/.cargo/env\" && rtk cargo test
  • . \"$HOME/.cargo/env\" && cargo run -- update
  • Oracle read-only review of the final implementation

ricatix and others added 4 commits March 16, 2026 14:45
Add a dedicated update subcommand that upgrades supported installs through the matching channel and keeps Quick Install updates pinned to a tagged release.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <[email protected]>
Explain which install layouts can self-update and what guidance users should expect for manual update paths.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <[email protected]>
Record the new update workflow so the release notes reflect the added command and its supported upgrade paths.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <[email protected]>
Apply the formatter output generated during verification so the PR branch matches the repo's formatting expectations.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <[email protected]>
@pszymkowiak

Copy link
Copy Markdown
Collaborator

Please retarget this PR to develop instead of master. We use develop as the integration branch — master is for releases only. You can change the base branch in the PR settings. Thanks!

@pszymkowiak pszymkowiak added the wrong-base PR targets master instead of develop label Mar 17, 2026
@ricatix
ricatix changed the base branch from master to develop March 17, 2026 18:01
@ricatix

ricatix commented Mar 17, 2026

Copy link
Copy Markdown
Author

Retargeted this PR to develop as requested. I also rechecked the merge status afterward, and GitHub now reports it as mergeable.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@aeppling

Copy link
Copy Markdown
Contributor

Hey

We are cleaning up the codebase and improving the project structure for better onboarding. As part of this effort, PR #826 reorganizes src/ from a flat layout into subfolders.

No logic changes — only file moves and import path updates.

What you need to do

Rebase your branch on develop when receiving this comment:

git fetch origin && git rebase origin/develop

Git detects renames automatically. If you get import conflicts, update the paths:

use crate::git;        // now: use crate::cmds::git::git;
use crate::tracking;   // now: use crate::core::tracking;
use crate::config;     // now: use crate::core::config;
use crate::init;       // now: use crate::hooks::init;
use crate::gain;       // now: use crate::analytics::gain;

Need help rebasing? Tag @aeppling

@pszymkowiak

Copy link
Copy Markdown
Collaborator

Closing this PR for inactivity — the CLA was never signed and there's been no activity since March. This isn't a judgment on the change itself.

If you'd still like to land it, just sign the CLA (https://cla-assistant.io/rtk-ai/rtk) and ping a maintainer to reopen — happy to pick it back up. Thanks for the contribution!

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

Labels

wrong-base PR targets master instead of develop

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants