File disable-self-update.patch of Package goose
--- crates/goose-cli/src/cli.rs.orig 2025-11-11 17:45:20.927233308 +0530
+++ crates/goose-cli/src/cli.rs 2025-11-11 17:47:25.248094836 +0530
@@ -764,7 +764,7 @@
},
/// Update the goose CLI version
- #[command(about = "Update the goose CLI version")]
+ /* #[command(about = "Update the goose CLI version")]
Update {
/// Update to canary version
#[arg(
@@ -778,7 +778,7 @@
/// Enforce to re-configure goose during update
#[arg(short, long, help = "Enforce to re-configure goose during update")]
reconfigure: bool,
- },
+ }, */
/// Evaluate system configuration across a range of practical tasks
#[command(about = "Evaluate system configuration across a range of practical tasks")]
@@ -856,7 +856,7 @@
Some(Command::Projects) => "projects",
Some(Command::Run { .. }) => "run",
Some(Command::Schedule { .. }) => "schedule",
- Some(Command::Update { .. }) => "update",
+ // Some(Command::Update { .. }) => "update",
Some(Command::Bench { .. }) => "bench",
Some(Command::Recipe { .. }) => "recipe",
Some(Command::Web { .. }) => "web",
@@ -1296,13 +1296,13 @@
}
return Ok(());
}
- Some(Command::Update {
+ /* Some(Command::Update {
canary,
reconfigure,
}) => {
crate::commands::update::update(canary, reconfigure)?;
return Ok(());
- }
+ } */
Some(Command::Bench { cmd }) => {
match cmd {
BenchCommand::Selectors { config } => BenchRunner::list_selectors(config)?,