`list-lib` should show you what command to run to fetch a library
Metadata
Current evaluation
Fixed by merged PR #533 (706e5c15): list-lib help now tells users to use fetch-lib for displayed libraries.
Resolution: closed resolved
Reason: PR #533 was merged as commit 706e5c15, adding help that explains how to fetch libraries shown by list-lib.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Currently if you're looking for a library for a specific charm using charmcraft (e.g. `charmcraft list-lib nginx-ingress-integrator`) you get output like this:
```
Library name API Patch
ingress 0 9
```
To actually fetch that library you have to run `charmcraft fetch-lib charms.nginx_ingress_integrator.v0.ingress`. This isn't obvious from the `list-lib` command.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #533 (706e5c15): list-lib help now tells users to use fetch-lib for displayed libraries. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in charmcraft PR #533 (706e5c15): list-lib help now shows how to fetch listed libraries. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Accepted. The list-lib help output will be updated to display the exact fetch command for each listed library. Resolved via help text update and closed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed after updating list-lib help text to display the exact fetch command for listed libraries, resolving the usability gap. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. Resolved by updating the list-lib help output to display the exact fetch command for listed libraries, as confirmed by the maintainer. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Resolved by adding fetch instructions to the charmcraft list-lib help output. Developer @sergiusens closed the request, opting to document the command in the help text rather than modifying the main listing. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#533
(confidence 100%)
Merged via 706e5c15; its changes added fetch guidance to list-lib help.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #533 Improved the list-lib command's help (CRAFT-508). | charmcraft | merged | Merged PR #533 (commit 706e5c15, CRAFT-508) by facundobatista reworked the list-lib help to show sample output and how to build a fetch-lib command from it, closing #377. Later superseded: fetch-lib removed in #1663. |