feat(upload): warn when uploading a charm if it has newer local libs
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
This warns the user when uploading a charm if said charm has local charmlibs that are newer than what's available on the store.
CRAFT-890
Fixes #213
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged feature adding upload warnings when local charmlibs are newer than store versions. Resolves #213 and addresses CRAFT-890. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a feature warning users during charm upload when local charmlibs exceed store versions. Resolves CRAFT-890 and fixes #213. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2034 fix(store): nicer error message when getting nonexistent libs | charmcraft | merged | Merged a fix that replaces a cryptic charmhub error with a clearer message when a charm library is missing. Approved by two reviewers, the change resolves issue #1754 and CRAFT-3353, modifying two files with 35 additions and 3 deletions. | |
| #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. | |
| #1977 Alert about all charmlib updates available (not just ones matching the spec) on pack | charmcraft | open | 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. | |
| #1198 tests: add charm library multiple versions update test | charmcraft | merged | Merged after approval, adding a test for updating charm library multiple versions. The change introduces 120 lines to address CRAFT-1916 and issue #1020, with zero unresolved review comments. |