lifecycle: remove lxd support for bases
Metadata
Current evaluation
Merged. Removes LXD support for bases from the lifecycle module, deleting ~2,500 lines across 31 files. LXD support will return as a dedicated build provider class since cleanbuild and containerbuilds lack proper environments. Approved and merged.
Suggested action: —
No scores available.
Issue body
cleanbuild and containerbuilds have not moved on to proper build environments.
Support for LXD is slated to come back in the form of a build provider
inherited class.
Projects not using bases should be able to continue building using cleanbuild
or lxd as a build environment setting.
LP: #1796980
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Removes LXD support for bases from the lifecycle module, deleting ~2,500 lines across 31 files. LXD support will return as a dedicated build provider class since cleanbuild and containerbuilds lack proper environments. Approved and merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged removal of LXD support for bases in the lifecycle module. Cleanbuild and containerbuilds remain for non-base projects, with LXD support planned to return as a dedicated build provider class. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged removal of LXD support for bases in the lifecycle module. LXD support will return as a dedicated build provider class. Projects not using bases retain cleanbuild or lxd environment options. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2089 many: remove support for remote lxd per project containers | snapcraft | merged | Merged removal of remote LXD per-project container support due to poor user experience, recommending cleanbuild instead. Environment detection was future-proofed. Approved, passed CI, and modified 13 files. |