← Back to issue list

feat: add adoption help at end of init message

View original Github issue

Metadata

Project
charmcraft
Number
#2506
Type
pull request
State
merged
Author
dwilding
Labels
Created
Updated
Closed

Current evaluation

Merged a feature adding adoption guidance to the charmcraft init message. It directs users to use uv for dependencies and provides a migration link from the legacy charm plugin. Approved and integrated.

Suggested action:

No scores available.

Issue body

The machine and Kubernetes profiles in Charmcraft 4 use the uv plugin, which requires a different way of managing dependencies than in earlier versions of Charmcraft. The difference is not apparent when running `charmcraft init`. See https://github.com/canonical/charmcraft/issues/2494 for an example of how this can trip people up. This PR adds extra lines at the end of the success message from `charmcraft init`: ``` To manage your charm's dependencies, use uv. To migrate from the 'charm' plugin, see: https://documentation.ubuntu.com/charmcraft/stable/howto/migrate-plugins/charm-to-uv/ ``` My thinking is that the second line (and doc link) could be removed in a future version of Charmcraft. --- - [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`. - [ ] ~I've added or updated any relevant documentation.~ - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a feature adding adoption guidance to the charmcraft init message. It directs users to use uv for dependencies and provides a migration link from the legacy charm plugin. Approved and integrated.
qwen3.6-35b-a3b-mtp-q6 Merged: adds adoption help and migration instructions to the charmcraft init success message. It clarifies that Charmcraft 4 uses the uv plugin instead of the legacy charm plugin, preventing user confusion.
qwen3.6-35b-a3b-mtp-q6 Merged an external contribution appending adoption guidance to the charmcraft init success message. The update directs users to manage dependencies with uv and links to migration documentation from the legacy charm plugin.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.