← Back to issue list

[WIP] charmcraft config: introduce support for bases keyword

View original Github issue

Metadata

Project
charmcraft
Number
#299
Type
pull request
State
closed
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

Charmcraft bases keyword support was closed without merging. The branch was abandoned with twelve unresolved review comments and pending unit tests, leaving the feature unimplemented.

Suggested action:

No scores available.

Issue body

- Support short-form syntax where a base without 'build-on' or 'run-on' implies build_on=base coupled with run_on=base. - Support long-form syntax where explicit build-on and run-on lists are used to support any configuration combination. - Support combined lists, where a short-form base item will be expanded into the long-form equivalent. Note that this does not include unit testing for errors. There is a fair bit of other work to be done to improve error handling. Note that this does not automatically set any implied architecture in the Config, though an empty list of architectures would imply the default (host's) is to be used. Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Charmcraft bases keyword support was closed without merging. The branch was abandoned with twelve unresolved review comments and pending unit tests, leaving the feature unimplemented.
qwen3.6-35b-a3b-mtp-q6 Closed without merging. The change added short, long, and combined syntax for the charmcraft bases keyword but remained a work in progress. Lack of unit tests and error handling resulted in abandonment.
qwen3.6-35b-a3b-mtp-q6 Implementing short, long, and combined bases keyword syntax for charmcraft config was abandoned. The work-in-progress pull request closed without merging, unit tests, or addressing noted error handling gaps.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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)
74%
#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.
72%
#411 build: pack charm in provided environment when using bases (CRAFT-313) charmcraft merged Merged implementation for packing charms in provided environments per bases configuration (CRAFT-313). Approved by two reviewers, modifying two files (+175/-30). Future work will add verbose and quiet mode flag support.
72%
#2523 [WIP] understand spread tests related to charm base charmcraft closed Abandoned and closed without merging. Marked as experimental work-in-progress on spread tests for charm base with explicit instructions not to merge. No reviews or comments were received.
70%