← Back to issue list

charmcraft should have a way to search libraries

View original Github issue

Metadata

Project
charmcraft
Number
#378
Type
issue
State
open
Author
mthaddon
Labels
—
Created
Updated
Closed
—

Current evaluation

Charmhub charm-library search remains blocked by the store API, while Charmhub-hosted libraries are deprecated in favor of Python packages, making the requested search obsolete.

Suggested action: close stale

Reason: Current code and documentation state that Charmhub-hosted libraries are deprecated, new registrations are disabled, and libraries should migrate to Python packages; charmlib commands now emit deprecation warnings. A maintainer also explicitly identified the missing store search API as the blocker, so adding search for this legacy subsystem would not be a useful next step.

Evaluated by: mr-cal-bot

Impact: 18 Quick Win: 2 Complexity: 65 Confidence: 94 Actionability: 30

Issue body

Currently if you know a charm has a library you can confirm this with `charmcraft list-lib ${charm-name}`. But there's no way to see what libraries are available. Perhaps a `search-lib` command would be appropriate?

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 18
Quick Win: 2
Complexity: 65
Confidence: 94
Actionability: 30
close stale Charmhub charm-library search remains blocked by the store API, while Charmhub-hosted libraries are deprecated in favor of Python packages, making the requested search obsolete.
stealth/space-bunny-alpha
Impact: 25
Quick Win: 2
Complexity: 72
Confidence: 94
Actionability: 34
keep open Requested library search remains open but is blocked by the Store API; Charmcraft now marks Charmhub-hosted charm libraries deprecated and disables new registration.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 8
Complexity: 30
Confidence: 60
Actionability: 40
keep open Feature request for a search-lib command to discover available charm libraries. Blocked by store API lacking charmlib search support.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12
Staleness: 75
Complexity: 40
Confidence: 85
Support Request: 10
close stale Feature request for a charmcraft search-lib command to discover available charm libraries. The underlying Charmhub-hosted charm libraries feature is now deprecated (PR #2691), making this request obsolete.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 65
Confidence: 75
Support Request: 5
needs triage Feature request to add a library search command to charmcraft. Maintainers debate whether libraries should be searchable or charm-centric. Currently open but blocked by the store API lacking charmlib search support.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 70
Confidence: 85
Support Request: 10
needs triage Feature request to add a search-lib command to charmcraft. Design philosophy was debated in 2022. Currently blocked by missing store API support for charmlib search, with last activity ~9 months ago.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 60
Confidence: 80
Support Request: 10
close stale Feature request to add a library search command to charmcraft. Maintainers debate design philosophy, favoring charm-centric discovery. Currently blocked by external store API lacking search capability.

Update history

No update history recorded yet.

Related work

  • Blocked By: launchpad#2124986 (confidence 100%)

    The latest maintainer comment links this bug because the store API cannot search charmlibs.

  • Superseded By: charmcraft#2691 (confidence 95%)

    Commit b93737a1 added deprecation warnings to all charmlib commands as distribution moves to Python packages.

Related issues

No related issues found above the similarity threshold.