← Back to issue list

config: add short-form bases support (CRAFT-11)

View original Github issue

Metadata

Project
charmcraft
Number
#341
Type
pull request
State
merged
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds short-form bases support to configuration, automatically expanding them to equivalent long-form build-on and run-on settings. Resolves CRAFT-11.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#339 config: introduce long-form bases support charmcraft merged Merged to introduce long-form bases keyword support in configuration. Approved by two reviewers, the update implements the long-form syntax while deferring short-form support for a later release.
82%
#390 build/pack: add support for bases in managed mode (CRAFT-131) charmcraft merged Merged changes adding bases support for managed mode in build/pack. Introduces a bases module, extends configuration validation with warnings, and updates run() to return built charms. Approved by two reviewers and merged.
73%
#383 commands/build: charm file name format support for bases (CRAFT-66) charmcraft merged Merged following approval by three reviewers. Introduces charm file name format support for bases configuration, preserving the existing format as a legacy runtime path. Includes corresponding tests. (+98/-1 lines, 2 files changed)
72%
#399 Implement support for Bases in Store layer (CRAFT-298) charmcraft merged Merged implementation of Bases support in the Store layer (CRAFT-298). Approved by two reviewers with passing CI checks. Updates three files (+114/-49 lines) to enable future status command functionality.
70%
#946 feat: enable interim bases rockcraft merged Merged after review and CI approval. Enabled interim bases by updating craft-application metadata to support plucky and questing, and added corresponding tests. Updated 17 files with 78 additions and 24 deletions.
70%
#1248 feat(extensions): add basic support charmcraft merged Merged to resolve issue #1238, adding basic extension support. Approved by two reviewers, apply_extensions now runs in unmarshal after base expansion to support unified charmcraft.yaml formats, requiring double base expansion if extensions modify bases. (+750/-3 lines, 10 files)
70%