← Back to issue list

feat(charmlibs): warn of deprecation on all charmlibs commands

View original Github issue

Metadata

Project
charmcraft
Number
#2691
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Warns about the deprecation of charmhub-hosted charmlibs in all charmlibs-related commands. --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [x] I've added or updated any relevant documentation. - [x] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged changes adding deprecation warnings for charmhub-hosted charmlibs across all related commands. Static analysis warnings were noted as non-blocking notifications.
qwen3.6-35b-moe-q4
Staleness: 20
Complexity: 15
Confidence: 85
keep open Adds deprecation warnings for charmhub-hosted charmlibs across all related commands. Currently under review, awaiting a documentation page referenced by a maintainer.
qwen3.6-35b-a3b-mtp-q6
Staleness: 15
Complexity: 20
Confidence: 85
needs review Adds deprecation warnings to all charmlibs commands for charmhub-hosted charmlibs. Awaiting review. Static type checker flagged minor non-blocking errors. Reviewer acknowledged and is preparing a documentation page.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
73%
#1828 feat: mark charmhub parameter as deprecated charmcraft merged Successfully merged, marking the charmhub parameter as deprecated and resolving issue #1359. Approved by two reviewers, the update modifies four files to implement the deprecation warning.
73%
#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.
72%