← Back to issue list

project: support build-base and allow 'bare' bases

View original Github issue

Metadata

Project
rockcraft
Number
#36
Type
pull request
State
merged
Author
cjdcordeiro
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: PR #36 was merged into main as commit 5a27aca4. It delivered build-base and bare-base support, and corrected the regression reported in #39 via d1a5f04cd7ad477e8d5e056228360b97afcea28b.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Adds support for the `build-base` property in the rockcraft.yaml input file, allowing to have a ROCK base (including `bare`) which can be different from the environment used to build the ROCK's content `ubuntu:22.04` is also supported now. - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged to main as 5a27aca4: rockcraft.yaml gained the build-base key, 'bare' bases, and ubuntu:22.04 support; the bare-base regression from #39 was fixed in follow-up commit d1a5f04c.
stealth/space-bunny-alpha — closed resolved Merged into main in #36 (commit 5a27aca4), adding build-base support, bare bases, and Ubuntu 22.04; the bare-base regression reported in #39 was corrected in d1a5f04c.
qwen/qwen3.6-35b-a3b — — Merged. Adds build-base property support to rockcraft.yaml, enabling bare bases and ubuntu:22.04. Resolved review comments, fixed a bare base bug, removed a mistaken diff change, and addressed documentation conflicts prior to merge.
qwen3.6-35b-a3b-mtp-q6 — — Added build-base support to rockcraft.yaml, enabling bare bases and ubuntu:22.04. Merged after resolving a bare base bug via PR #36 and addressing review feedback, including removing an erroneous diff and noting documentation conflicts.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/rockcraft#39 (confidence 99%)

    Reported a rebuild regression caused by bare-base support; its original umoci initialization failure was fixed in d1a5f04c.

Related issues

Issue Project State Summary Similarity
#247 bases: refactor buildd to ubuntu craft-providers merged Merged PR #247 as de2d42e, replacing Buildd-specific base handling with Ubuntu-specific modules and preparing base dispatch for additional OS support.
78%
#322 feat: support 26.04 as a build-base imagecraft merged Merged PR #322 via commit be019b2, adding Ubuntu 26.04 as a supported build-base while leaving existing defaults unchanged.
78%
#20 bases: introduce Buildd bases with support for 16.04, 18.04, and 20.04 craft-providers merged Merged PR #20 by cjp256 landed as commit d6fae94, introducing Buildd bases (16.04/18.04/20.04) with deadline checks, os compatibility validation, and a FakeExecutor test fixture; follow-up work continued in PRs #24, #25, #26.
76%
#2728 Base bare snapcraft merged Merged support for the bare Snap base in commit 7aa576658 ("project: support for base bare"), enabling projects to use base: bare.
76%
#1020 feat(project): add ubuntu@26.04 as a 'devel' base rockcraft merged Merged PR #1020 (commit 0c9f3558) added ubuntu@26.04 as a 'devel' base across 13 project, test and config files; the base was later stabilized in #1200 after #1074 temporarily dropped it from valid build-base options.
75%
#776 Support 22.04 base. charmcraft merged Merged PR #776 added Ubuntu 22.04 base support via commit ee130636; merge commit 04c91c1e brought it into main.
75%
#108 Provide 22.04 as a building base craft-providers closed Ubuntu 22.04 (Jammy) buildd base support was added by merged PR #100 (commit d6fcdab, merge 1cabea7); PR #156 later added tests for the images.
74%
#876 feat(ProjectService): make check_supported_base work with bare base craft-application merged Merged as commit 68bdfc6c (PR #876): ProjectService.check_supported_base now handles bare bases via project.effective_base. Builds on merged PR #874; all CI passed, 3 approvals.
74%
#15 bases: introduce abstract Base and buildd implementation craft-providers closed Split into smaller changes: the abstract Base landed through merged PR #18 (commit a355b7e), while the oversized Base/buildd PR #15 was closed.
74%
#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.
73%