Alert about all charmlib updates available (not just ones matching the spec) on pack
Metadata
Current evaluation
Feature request: charmcraft pack should warn about any available charmlib update, not just those matching the charm-libs spec; fetch-libs likewise. Open since 2023, no maintainer response beyond Jira sync; charmlibs commands are now deprecated.
Suggested action: needs triage
Reason: No labels, no assignee, and the only comment is the automated Jira sync (CRAFT-3622) from 2024-10-30 — no maintainer has assessed, prioritised, or responded. The request is a genuine feature/bug (pack should warn on any available update, not only spec-matching ones), so it is not a support question, but it has never been triaged. Note the charmlibs commands now emit deprecation warnings, which may affect relevance.
Impact:
35
Quick Win:
19.25
Staleness:
72
Complexity:
45
Confidence:
62
Support Request:
10
Issue body
### What needs to get done
Right now pack only alerts of an update if it matches the `charm-libs` key, but it should alert on any available update.
Likewise, `fetch-libs` should alert the user about updates available that don't match the specification in charmcraft.yaml
### Why it needs to get done
In an unrelated conversation @jnsgruk mentioned that this should be done and it looks like I misunderstood "if there are newer versions of the library available in the store, or the libraries do not match the constraints specified, the user should be notified as part of the packing process, but it should only be a warning/info notice, and the pack process should carry on using the in-tree libraries." to be about `fetch-libs` being able to update and not about every case of updates.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
19.25
Staleness:
72
Complexity:
45
Confidence:
62
Support Request:
10
|
needs triage | Feature request: charmcraft pack should warn about any available charmlib update, not just those matching the charm-libs spec; fetch-libs likewise. Open since 2023, no maintainer response beyond Jira sync; charmlibs commands are now deprecated. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
80
Complexity:
30
Confidence:
80
Support Request:
10
|
needs triage | Feature request to expand pack and fetch-libs alerts to all charmlib updates, not just those matching the spec. Untriaged with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
20
Confidence:
85
Support Request:
10
|
needs triage | Request to alert on all available charmlib updates during pack and fetch-libs, not just those matching the spec. Untriaged, inactive for 10+ months, linked to internal Jira ticket. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
20
Confidence:
80
Support Request:
10
|
needs triage | Feature request to make pack and fetch-libs alert on all available charm library updates, not just those matching the spec. Currently untriaged and inactive for over 300 days. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
25
Confidence:
70
Support Request:
0
|
needs triage | pack and fetch-libs should notify users of all available charmlib updates, not just those matching the charm-libs spec. Open, awaiting implementation. Internal Jira ticket CRAFT-3622 created. Last activity 304 days ago. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1980 Check for major charm library updates | charmcraft | open | Feature request to detect major (LIBAPI) charm library updates via fetch-libs or a new command, enabling CI workflows to flag breaking library upgrades. Maintainer acknowledged as low priority in June 2025; no implementation yet. | |
| #2691 feat(charmlibs): warn of deprecation on all charmlibs commands | charmcraft | merged | Merged. Implements deprecation warnings for charmhub-hosted charmlibs across all related commands. Approved by three reviewers and passed CI checks. The change alerts users to the upcoming removal of charmhub-hosted charmlibs. | |
| #1918 feat(pack): automatically install non-matching charmlibs | charmcraft | merged | Merged. The pack command now automatically upgrades charmlibs on disk that do not match charmcraft.yaml specifications. Approved by two reviewers and implemented by maintainer lengau. | |
| #2252 feat(upload): warn when uploading a charm if it has newer local libs | charmcraft | merged | Merged a feature that warns users when uploading a charm with local charmlibs newer than the store version. Approved by two reviewers and resolves issue #213. The change adds 249 lines across seven files to implement the validation logic. | |
| #215 (charmlibs) Fetch the specified library | charmcraft | merged | Merged following approval and passing CI. Introduces FetchLibCommand to retrieve or update specified or all charmlibs, alongside a supporting store layer method. Changes span five files with 332 additions, finalizing the charmlibs-draft branch. |