feat(client): colibri upgrade + doctor --fix — client-side self-rebuild #294

Merged
clawdie merged 1 commit from feat/doctor-upgrade into main 2026-06-29 05:28:17 +02:00
Owner

Doctor-upgrade (#292) — client-side self-rebuild for colibri.

colibri upgrade [--check] [--yes]:

  • git fetch → check behind origin → cargo build --release
  • stop daemon (sudo service/systemctl) → swap binaries → start daemon
  • --check: dry-run only, reports commit count
  • --yes: skip confirmation prompt (for scripting/cron)

colibri doctor --fix:

  • Runs checks, then auto-fixes fixable checks in warn/fail state
  • Today: binary_vs_git_version → triggers colibri upgrade

Client-side git-behind supplement in print_doctor:

  • Portably resolves source dir (COLIBRI_SRC_DIR or CWD with Cargo.toml)

Platform split: one #[cfg] for service restart:

  • FreeBSD: service colibri_daemon {stop,start}
  • Linux: systemctl {stop,start} colibri-daemon

Closes #292

Doctor-upgrade (#292) — client-side self-rebuild for colibri. colibri upgrade [--check] [--yes]: - git fetch → check behind origin → cargo build --release - stop daemon (sudo service/systemctl) → swap binaries → start daemon - --check: dry-run only, reports commit count - --yes: skip confirmation prompt (for scripting/cron) colibri doctor --fix: - Runs checks, then auto-fixes fixable checks in warn/fail state - Today: binary_vs_git_version → triggers colibri upgrade Client-side git-behind supplement in print_doctor: - Portably resolves source dir (COLIBRI_SRC_DIR or CWD with Cargo.toml) Platform split: one #[cfg] for service restart: - FreeBSD: service colibri_daemon {stop,start} - Linux: systemctl {stop,start} colibri-daemon Closes #292
feat(client): colibri upgrade + doctor --fix — client-side self-rebuild
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
4f5413a073
Doctor-upgrade (#292) — client-side self-rebuild for colibri.

colibri upgrade [--check] [--yes]:
  - git fetch → check behind origin → cargo build --release
  - stop daemon (sudo service/systemctl) → swap binaries → start daemon
  - --check: dry-run only, reports commit count
  - --yes: skip confirmation prompt (for scripting/cron)

colibri doctor --fix:
  - Runs checks, then auto-fixes fixable checks in warn/fail state
  - Today: binary_vs_git_version → triggers colibri upgrade

Client-side git-behind supplement in print_doctor:
  - Portably resolves source dir (COLIBRI_SRC_DIR or CWD with Cargo.toml)

Platform split: one #[cfg] for service restart:
  - FreeBSD: service colibri_daemon {stop,start}
  - Linux: systemctl {stop,start} colibri-daemon

Closes #292
clawdie deleted branch feat/doctor-upgrade 2026-06-29 05:28:22 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
clawdie/colibri!294
No description provided.