You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes a functional gap in sysup upgrade. Today it handles brew upgrade / apt upgrade; the new toolchains introduced in groups #26–#31 each have their own upgrade paths and silently drift otherwise.
Changes to dot_local/bin/executable_sysup
Extend the upgrade command with handlers, each gated on the matching command -v check and relevant install_* data flag. Ordered by cost (cheapest first) so a sysup upgrade under time pressure can Ctrl-C mid-run without missing the cheap wins.
Rust (rustup)
ifcommand -v rustup >/dev/null 2>&1;thenecho"==> rustup"
rustup update
fi
Gated on {{ if .install_android }} and [ -d "$HOME/Android/Sdk" ]:
ifcommand -v sdkmanager >/dev/null 2>&1;thenecho"==> Android SDK"
sdkmanager --update
fi
Also touch sysup status
The status command should show outdated counts for each of these too — minimally, call rustup check, nix profile list with a staleness heuristic, and gcloud components list --filter='state.name=Update Available'. If that's more than a line or two per tool, defer to a follow-up; the upgrade path is the priority.
Verification checklist
sysup upgrade on a machine with only apt/brew tools works identically to today (no new errors from missing binaries).
sysup upgrade on a machine with nix+rustup+gcloud runs all five new handlers in order.
Ctrl-C mid-run leaves the system in a consistent state (each handler is atomic enough).
sysup upgrade with install_android=false does not attempt sdkmanager.
sysup doctor still reports correct versions after an upgrade.
Closes a functional gap in
sysup upgrade. Today it handlesbrew upgrade/apt upgrade; the new toolchains introduced in groups #26–#31 each have their own upgrade paths and silently drift otherwise.Changes to
dot_local/bin/executable_sysupExtend the
upgradecommand with handlers, each gated on the matchingcommand -vcheck and relevantinstall_*data flag. Ordered by cost (cheapest first) so asysup upgradeunder time pressure can Ctrl-C mid-run without missing the cheap wins.Rust (rustup)
Nix profile (devenv, cloud-hypervisor, virtiofsd)
Cargo-installed binaries (tauri-cli, create-tauri-app, any future
cargo install)Requires
cargo-updateto be installed; addcargo install cargo-update --lockedto the Rust bootstrap (#28) or install on first upgrade run.Google Cloud components
Android SDK (opt-in only)
Gated on
{{ if .install_android }}and[ -d "$HOME/Android/Sdk" ]:Also touch
sysup statusThe status command should show outdated counts for each of these too — minimally, call
rustup check,nix profile listwith a staleness heuristic, andgcloud components list --filter='state.name=Update Available'. If that's more than a line or two per tool, defer to a follow-up; the upgrade path is the priority.Verification checklist
sysup upgradeon a machine with only apt/brew tools works identically to today (no new errors from missing binaries).sysup upgradeon a machine with nix+rustup+gcloud runs all five new handlers in order.sysup upgradewithinstall_android=falsedoes not attemptsdkmanager.sysup doctorstill reports correct versions after an upgrade.Related
sysupchange in a single PR once at least A and C are in.