providers: add name and install recommendation properties
Metadata
Current evaluation
Merged PR #366 (commit cb0fe70) added abstract `name` and `install_recommendation` properties to the Provider base class, implemented in the LXD and Multipass providers with unit tests, closing issue #166 (CRAFT-1474).
Resolution: closed resolved
Reason: The PR was approved and merged into main as commit cb0fe70 ("providers: add name and install recommendation properties (#366)"). craft_providers/provider.py now defines abstract `name` and `install_recommendation` properties, with implementations in lxd_provider.py and multipass_provider.py plus unit tests, resolving craft-providers#166.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
Add a `name` and `install_recommendation` property to `Provider` classes.
This can be used in places like [this](https://github.com/canonical/charmcraft/blob/4b34df89d55e545513d8a1b5ac7b84e443541565/charmcraft/providers.py#L219)
Resolves #166
(CRAFT-1474)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #366 (commit cb0fe70) added abstract `name` and `install_recommendation` properties to the Provider base class, implemented in the LXD and Multipass providers with unit tests, closing issue #166 (CRAFT-1474). | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR #366 adding `name` and `install_recommendation` properties to `Provider` classes, resolving #166. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
canonical/craft-providers#166
(confidence 97%)
Original feature request for exposing provider name and install recommendations, closed by this merge.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #166 Expose provider name and perhaps installation recommendations for a provider | craft-providers | closed | Provider metadata was restored in merged PR canonical/craft-providers#366 (commit cb0fe70), adding provider names and installation recommendations; the change is listed in the 1.15.0 changelog. |