Skip to content

Conversation

@kskarthik
Copy link
Contributor

@kskarthik kskarthik commented Nov 22, 2025

Summary

Added a feature to the goose-cli crate to disable the update command.

Usecase: I have packaged goose for openSUSE Tumbleweed & i had to patch the build to disable update.

This feature comes handy instead of patching the code & quiet helpful for other distro package maintainers as well 🙂

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

AI Assistance

  • This PR was created or reviewed with AI assistance

Testing

Tested manually

Screenshots/Demos (for UX changes)

Before:

$: goose update
WINDIR: <not set>
OSTYPE: linux
uname -s: Linux
uname -m: x86_64
PWD: /home/sai/my/code/goose-src
Detected OS: linux with ARCH x86_64
...

After:

$: cargo build --package goose-cli --features disable-update

$: goose update
Error: This command is disabled

@kskarthik kskarthik changed the title feat(goose-cli): add cargo feature to disable update feat(goose-cli): add cargo feature to disable update command Nov 22, 2025
Copy link
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

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

nice one @kskarthik, I can appreciate with packagers you want to have this.

@michaelneale michaelneale self-assigned this Nov 24, 2025
@kskarthik
Copy link
Contributor Author

Thanks for reviewing this! @michaelneale

I guess that the failing CI test above can be ignored, just an issue with npm package lock

@michaelneale
Copy link
Collaborator

@kskarthik if you update to main - then it should build now, thanks

@kskarthik kskarthik requested a review from a team as a code owner November 25, 2025 05:00
@kskarthik
Copy link
Contributor Author

Done

DOsinga and others added 22 commits November 26, 2025 14:05
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
block#5819)

Signed-off-by: Vaibhav Maheshwari <vaibhav.dkm@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
* Add Markdown export of any doc page by appending `.md` to the URL
* New "View as Markdown" dropdown menu from the "copy page" button

Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
urgent need for runner failure

Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
…#5822)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
…etter (block#5839)

Co-authored-by: Pradeepta Dash <pradeepta@exceeds.ai>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sam Osborn <samosborn@squareup.com>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
Signed-off-by: Sai Karthik <kskarthik@disroot.org>
@kskarthik kskarthik closed this Nov 26, 2025
@kskarthik kskarthik deleted the disable-cli-update branch November 26, 2025 08:56
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.