Deprecate charmhub config in charmcraft.yaml
Metadata
Current evaluation
Superseded and deferred to Charmcraft 3.x. The charmhub config deprecation notice remains pending, while PR #1787 addresses removal from future bases.
Suggested action: —
No scores available.
Issue body
### What needs to get done
If a charmcraft.yaml file contains a charmhub config, let the user know about the change. Possibly error out store commands?
### Why it needs to get done
We're using an environment variable instead.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded and deferred to Charmcraft 3.x. The charmhub config deprecation notice remains pending, while PR #1787 addresses removal from future bases. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as deferred. The charmhub config deprecation notice remains pending for Charmcraft 3.x, with removal tracked in #1787. | |
| qwen/qwen3.6-35b-a3b | — | — | Deprecating charmhub config in charmcraft.yaml was deferred. Maintainers noted the notice remains pending for Charmcraft 3.x, while PR #1787 was introduced to remove it from future bases instead of immediate implementation. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by PR #1787 for future bases, but the charmhub config deprecation warning and store command errors remain unimplemented in Charmcraft 3.x. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed. The deprecation notice was deferred to Charmcraft 3.x. PR #1787 supersedes this request by handling removal from future bases instead. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1787 Remove charmhub config from charmcraft.yaml spec | charmcraft | closed | Closed without implementation. The deprecated charmhub configuration was not removed from the spec, indicating the task was abandoned or superseded. | |
| #2499 Remove charmhub config from charmcraft.yaml spec | charmcraft | open | Copilot-agent PR removing the deprecated charmhub key from the charmcraft.yaml spec (validator allowing it only on ubuntu@24.04/almalinux@9 bases, schema removal, deprecation warning). Rebased onto main 60 days ago; 0 reviewers, 7 unresolved comments, several CI checks failing. | |
| #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. | |
| #2659 docs: remove charmhub config | charmcraft | merged | Merged into main. Documentation references to charmhub were removed while keeping the underlying code intact for backward compatibility. Closes issue 1787 after reviewer approval and CI validation. | |
| #654 Enforce deprecation DN02: A charmcraft.yaml configuration file is now required | charmcraft | closed | Implemented deprecation DN02 requiring a charmcraft.yaml file. Closed as completed after the change was applied and documented. |