- `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
12 lines
940 B
Markdown
12 lines
940 B
Markdown
---
|
|
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`.
|