← Back to issue list

provider: add `allow_unstable` to Provider base class

View original Github issue

Metadata

Project
craft-providers
Number
#238
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged as commit 564b789: added `allow_unstable` parameter to Provider.launched_environment() base class and Multipass, promoting LXDProvider's option; Multipass uses it in a follow-up. Documented in changelog.

Resolution: closed resolved

Reason: PR #238 by maintainer mr-cal was approved and merged into main as commit 564b789 ("provider: add `allow_unstable` to Provider base class (#238)"), changing3 files (+6/-2). The parameter is now present on Provider.launched_environment() (craft_providers/provider.py:141) and subsequently honoured by the Multipass provider.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Adding a new parameter from `LXDProvider` to the `Provider` base class and the `Multipass` class. Multipass is currently not using the parameter, but it will use it in a PR next week!

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as commit 564b789: added `allow_unstable` parameter to Provider.launched_environment() base class and Multipass, promoting LXDProvider's option; Multipass uses it in a follow-up. Documented in changelog.
qwen/qwen3.6-35b-a3b — closed resolved Merged PR adding allow_unstable parameter to the Provider base class and Multipass class to prepare for future Multipass provider updates.

Update history

Date Change
created

Related work

  • Related To: craft-providers#219 (confidence 65%)

    Commit c428f4b (lxd: add support for interim Ubuntu releases, #219) introduced the allow_unstable parameter that this PR promotes to the Provider base class.

  • Related To: craft-providers#254 (confidence 55%)

    Follow-up commit b1db2b7 (#254) added a default for the launched_environment allow_unstable parameter, now reflected in the changelog.

Related issues

Issue Project State Summary Similarity
#163 providers: add Provider, LXDProvider, and MultipassProvider classes craft-providers merged Merged Provider, LXDProvider, and MultipassProvider classes via commit fa5a5e7, adding simplified provider error handling and integration tests.
74%
#2678 cli: introduce --provider snapcraft merged Merged PR #2678 as commit b1bee8d99, introducing a unified --provider option for host, LXD, and Multipass and consolidating provider-specific build and clean flags.
70%