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
This commit is contained in:
nandi committed 2026-12-01 14:39:13 -08:00
1 parent 022898ed65
commit a00c87bf04
7 files changed
+176 -29

No files matched your search

@@ -0,0 +1,11 @@
---
data:
priority: normal
status: done
type: feature
id: k7q3m
title: Show info for packages that aren't installed
---
`orbit info <name>` only worked for installed packages. It should also describe a package that is in a channel.
Outcome: when the package isn't installed (or `channel::` / `@constraint` asks for a build other than the installed one), `orbit info` finds the package in the same cached channel listings as `orbit search` (`channel_listing`). Index entries now record the `digest` of their version's manifest, so with the config blob in the digest-keyed manifest cache a repeated `info` takes ~8 ms with no network; another version, or an index built before digests, falls back to resolving in the registry. It and prints its description, documentation link, channel, digest, packaged bins, dependencies and conflicts. In a project it still prefers the locked package. `available_details` in `src/main/details.mbt`.