Commit Graph
1 Commits
Author SHA1 Message Date
nandi d3b1dedeb5 Add orbit self-update to replace the running binary
Rolling Release / publish (push) Successful in 10s
Rolling Release / build (push) Successful in 1m58s
- `orbit self-update [constraint]` replaces the running orbit with the newest `orbit` package in its channel, or one matching a constraint (which may downgrade).
- The new build must print its version before it is renamed over the old binary.
- An orbit installed as a global package is upgraded instead, keeping rollback.
- `orbit upgrade orbit` does the same when orbit isn't installed as a package.
- Read `/proc/self/exe` through a new C stub; document in README; mock-registry test.
2026-12-02 13:32:29 -08:00