providers: introduce launch_environment() (CRAFT-312)
Metadata
Current evaluation
Merged. Introduces launch_environment() to launch and configure an LXC container for charmcraft, including buildd remote setup. Approved by two reviewers, adding 163 lines across two files.
Suggested action: —
No scores available.
Issue body
Launch lxc container and configure for use with charmcraft,
adding/configuring the buildd remote as necessary.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Introduces launch_environment() to launch and configure an LXC container for charmcraft, including buildd remote setup. Approved by two reviewers, adding 163 lines across two files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduces launch_environment() to launch and configure LXC containers for charmcraft, automatically setting up the buildd remote as needed. Resolves CRAFT-312. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduces launch_environment() to provision LXC containers for charmcraft, handling buildd remote configuration. Implemented by maintainer cjp256. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #890 (internal) Refactor launched_environment (CRAFT-1358). | charmcraft | merged | Refactored the launched_environment module (CRAFT-1358). Approved by one reviewer and passing CI, the changes were successfully merged. The update involved 248 additions and 243 deletions across 10 files. | |
| #406 providers: introduce get_command_environment() to build env (CRAFT-262) | charmcraft | merged | Merged PR introducing get_command_environment() to build container command environments with CHARMCRAFT_MANAGED_MODE=1 and proxy settings. Added a reviewer-requested test filtering random environment variables. Approved and passed CI. | |
| #95 providers: add `create_environment` method | rockcraft | merged | Merged the addition of a create_environment method to the providers module. The method supports clean_project_environment and aligns with snapcraft and charmcraft implementations. Approved by one reviewer and passed CI checks. | |
| #3932 providers: refactor `launched_environment()` | snapcraft | merged | Merged refactoring of launched_environment() to remove snapcraft-specific logic and align with rockcraft. Implemented standardized base translation for craft-providers. Approved and merged following successful CI checks. | |
| #410 providers: introduce clean_project_environments() (CRAFT-314) | charmcraft | merged | Merged to introduce clean_project_environments(), providing an interface for an upcoming clean command that removes all environments for a given project. Approved by two reviewers, adding 106 lines across two files. |