← 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 PR #2691 in commit b93737a1, adding permanent deprecation warnings to all Charmhub-hosted charmlibs-related commands with a link to migration guidance.

Resolution: closed resolved

Reason: PR #2691 was merged into main as commit b93737a1. It adds a shared warning that Charmhub-hosted charm libraries are deprecated and directs users to the published deprecation guidance.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #2691 in commit b93737a1, adding permanent deprecation warnings to all Charmhub-hosted charmlibs-related commands with a link to migration guidance.
stealth/space-bunny-alpha — closed resolved Merged PR #2691 (commit b93737a1), adding deprecation warnings for Charmhub-hosted charmlibs to all charmlibs-related commands.
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.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2851 feat: replace create-lib with a deprecation stub charmcraft merged PR #2851 merged, replacing charmcraft's create-lib implementation with a deprecation stub that exits with an error pointing to https://ubu.link/charmhub-libraries-deprecation instead of hitting a Charmhub API failure.
72%