← Back to issue list

(charmlibs) List libraries for a given charm

View original Github issue

Metadata

Project
charmcraft
Number
#206
Type
pull request
State
merged
Author
facundobatista
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #206 via commit 493e818b added list-lib for the current or a named charm, backed by bulk get_libraries_tips store queries.

Resolution: closed resolved

Reason: PR #206 was approved and merged. Commit 493e818b added the list-lib command and its supporting store-layer library-tip queries.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This adds the command itself, and the supporting method in the store layer. For ListLibCommand: - it can run standalone, or with a given charm name - when standalone, it will try to access metadata.yaml, and if there it will list all libraries for that charm - if a charm name is indicated, will just list all libraries for that charm In the store layer: - a new multi-functional `get_libraries_tips` is added - it's bulk, and supports all the flexibility in the store for each query: - just the library id (will get the tip for that library) - just the charm name (will get the tip for all libraries of that charm) - charm and library names (alternative identification of a specific library) - for any of those cases, `api` is supported (it will give the tip for that API version) - note that this is current more flexible than needed for ListLibCommand itself, but more of this will be used in the FetchLibCommand (in the next branch)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #206 via commit 493e818b added list-lib for the current or a named charm, backed by bulk get_libraries_tips store queries.
stealth/space-bunny-alpha — closed resolved Merged PR #206 as commit 493e818b, adding list-lib for the current or a specified charm and bulk get_libraries_tips store queries.
stealth/space-bunny-alpha — closed resolved Merged PR #206 (commit 493e818b) added list-lib for the current or a named charm and bulk get_libraries_tips store queries.
stealth/space-bunny-alpha — closed resolved Merged PR #206 (commit 493e818b), adding list-lib for the current or a specified charm and a bulk get_libraries_tips store query.
stealth/space-bunny-alpha — closed resolved Merged PR #206 (commit 493e818b), adding list-lib to show libraries for the current or a specified charm, backed by bulk get_libraries_tips store queries.
qwen/qwen3.6-35b-a3b — — Merged. Adds ListLibCommand to list charm libraries and a flexible get_libraries_tips store method for bulk queries by ID, charm, or API version. Approved by two reviewers, passed CI, and modified five files.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Adds a command to list libraries for a charm and a flexible get_libraries_tips store method. Enables bulk queries by ID, charm, or API version, preparing the codebase for future library fetching features.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.