config: add short-form bases support (CRAFT-11)
Metadata
Current evaluation
Merged #341, adding short-form base support so a base string expands to matching build-on and run-on entries.
Resolution: closed resolved
Reason: PR #341 was merged as merge commit b76170f9. Implementation commit f858beaa adds short-to-long base expansion and tests.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Support short-form bases, where a base implies the long-form
base configuration equivalent of:
```
- build-on: [<base>]
run-on: [<base>]
```
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #341, adding short-form base support so a base string expands to matching build-on and run-on entries. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged CRAFT-11, adding short-form base support: a string base expands to equivalent build-on and run-on configuration. Approved by two reviewers. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged charmcraft PR #341 for CRAFT-11, adding short-form bases that implicitly configure build-on and run-on with the same base. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged: Added short-form bases support to configuration, resolving CRAFT-11. Approved by two reviewers, the change adds 130 lines across two files to allow bases to imply their long-form build-on/run-on equivalents. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implements short-form bases support in configuration, automatically expanding short base names to their equivalent long-form build-on and run-on settings. Resolves CRAFT-11. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/charmcraft#339
(confidence 90%)
Earlier merged PR introduced the long-form bases configuration that short-form entries expand into.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #339 config: introduce long-form bases support | charmcraft | merged | Merged PR #339 via 9af3b121 (implementation 79cd72ca), adding long-form bases configuration; short-form support was deferred. | |
| #299 [WIP] charmcraft config: introduce support for bases keyword | charmcraft | closed | Abandoned WIP; bases support landed separately through merged PRs #339 (9af3b121) and #341 (b76170f9), covering long- and short-form configurations. | |
| #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). | |
| #3631 parts: add early base parsing (CRAFT-766) | snapcraft | merged | Merged in 228fb6d63; PR #3631 added early project YAML base parsing for lifecycle commands, selecting new handlers for core22 and legacy handlers for other bases. | |
| #383 commands/build: charm file name format support for bases (CRAFT-66) | charmcraft | merged | Merged PR #383 (commit 951f6aaa; merge 1c839909) added bases-aware charm filename formatting and tests, retaining the legacy runtime path pending default-bases configuration. | |
| #390 build/pack: add support for bases in managed mode (CRAFT-131) | charmcraft | merged | Merged #390 via eac93bba (implementation d080cf67), adding managed-mode bases support to build/pack, host/base matching diagnostics, validation, and list-based build results. |