Commit Graph
3 Commits
Author SHA1 Message Date
nandi d3b1dedeb5 Add orbit self-update to replace the running binary
Rolling Release / build (push) Successful in 1m58s
Rolling Release / publish (push) Successful in 10s
- `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
nandi f14a1900af Add debug build and install recipes
Rolling Release / build (push) Successful in 1m51s
Rolling Release / publish (push) Successful in 9s
- Add build-debug for a faster, unoptimised native build
- Add install-debug to install that build to ~/.local/bin
- Move the PATH setup into a _path recipe shared by both installs
2026-12-01 15:10:57 -08:00
nandi a00c87bf04 Show info for packages that aren't installed
Rolling Release / build (push) Successful in 1m49s
Rolling Release / publish (push) Successful in 8s
- `orbit info` finds a package that isn't installed, or a `channel::` / `@constraint` build, in the cached channel listings used by search
- Channel indexes record each version's manifest digest, so a repeated info needs no network
- Versions without a digest, or indexes built before digests were added, are resolved in the registry
- Show the docs link, channel, digest, bins and dependencies for available builds
2026-12-01 14:39:13 -08:00