parts: handle build base
Metadata
Current evaluation
Merged PR #3729 in commit 47f236f74, making parts honor declared build-base and fall back to the package name for base-type projects.
Resolution: closed resolved
Reason: PR #3729 was merged via merge commit f4ce3c26b, adding build-base handling so the correct build environment is configured.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Allow projects declaring build-base to set up the correct build
environment. For projects of type base, use the declared build-base
or fall back to the package name if it's not declared.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3729 in commit 47f236f74, making parts honor declared build-base and fall back to the package name for base-type projects. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3729 in commit 47f236f74: parts now honor declared build-base, while base-type parts fall back to the package name. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged into snapcraft/7.0. Implements build-base handling for parts, configuring the correct build environment by using the declared build-base or falling back to the package name for base-type projects. Approved and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into snapcraft/7.0 at commit 269290f. Enables projects declaring build-base to configure the correct build environment, falling back to the package name for base-type projects. Code coverage unchanged. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#2623
(confidence 88%)
Earlier merged PR established build-base support and base-type name detection that this parts integration builds upon.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3769 parts: fix base package cutoff | snapcraft | merged | Merged PR #3769 in commit 25da6a72b, passing the effective build base to the parts processor so stage-package dependencies use the correct cutoff. | |
| #13 project: make build-base optional, defaults to base (CRAFT-590) | rockcraft | merged | Merged PR #13 via commit 7ac8e01e (merge ff694dcd), making build-base optional and defaulting it to base when omitted. | |
| #36 project: support build-base and allow 'bare' bases | rockcraft | merged | Merged in #36 as commit 5a27aca4, adding build-base, bare bases, and Ubuntu 22.04 support; follow-up commit d1a5f04c corrected a bare-base rebuild bug. |