← Back to issue list

project: make build-base optional, defaults to base (CRAFT-590)

View original Github issue

Metadata

Project
rockcraft
Number
#13
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #13 via commit 7ac8e01e (merge ff694dcd), making build-base optional and defaulting it to base when omitted.

Resolution: closed resolved

Reason: The approved change was merged through PR #13 as commit 7ac8e01e, with merge commit ff694dcd, implementing the requested default behavior.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Change the `build-base` attribute to be optional in rockcraft.yaml. If not specified, default to the value set in `base`. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [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 PR #13 via commit 7ac8e01e (merge ff694dcd), making build-base optional and defaulting it to base when omitted.
stealth/space-bunny-alpha — closed resolved Merged in #13 (CRAFT-590): build-base is now optional in rockcraft.yaml and defaults to base when omitted.
qwen/qwen3.6-35b-a3b — — Merged after review and CI checks, making the build-base attribute in rockcraft.yaml optional and defaulting to base when unspecified. Implementation spans three files with 42 additions and 8 deletions.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Made the build-base attribute optional in rockcraft.yaml, defaulting to the base value when unspecified. Resolves CRAFT-590.

Update history

No update history recorded yet.

Related work

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

    Follow-up PR removed the now-redundant build-base entry from the tutorial.

Related issues

Issue Project State Summary Similarity
#4505 chore: remove deprecated parameter `build-base` snapcraft merged PR #4505 merged as 4aa5f63cb, dropping the deprecated build_base arg passed to craft-providers to silence its deprecation warning; the same cleanup had already landed on main via PR #4204 (d77b51466).
74%
#3729 parts: handle build base snapcraft merged Merged PR #3729 in commit 47f236f74, making parts honor declared build-base and fall back to the package name for base-type projects.
74%
#598 feat: allow for multi-base builds craft-application merged Merged as d81c39a7; allowed bases in platform entries so applications can implement multi-base build plans, fixing #569 (CRAFT-3719).
74%
#4204 providers: remove deprecated `build_base` parameter snapcraft merged Merged PR #4204 via commit d77b51446, removing the deprecated build_base argument from craft-providers launched_environment() calls.
74%
#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.
73%
#255 provider: deprecate build_base craft-providers merged Merged PR #255 (2495ae8), shifting OS/version selection to base_configuration, adding alias helpers, and making build_base ineffective; the parameter was later removed in 2.0.0.
73%