config/build: set default bases configuration with DNs (CRAFT-265, CRAFT-266)
Metadata
Current evaluation
Merged after two reviewer approvals. Updates default bases configuration to Ubuntu 20.04, ending legacy builds. Introduces deprecation notices DN02 and DN03 for missing or outdated charmcraft.yaml files and adds a test fixture to reset deprecation state.
Suggested action: —
No scores available.
Issue body
Set the default bases configuration to Ubuntu 20.04 for the host's
architecture. This will effectively end legacy builds.
Add DN02 to deprecate projects without charmcraft.yaml.
Add DN03 to deprecate projects with bases configuration.
Add reset_deprecation_notices() autouse fixture to reset global value
found in deprecations module.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after two reviewer approvals. Updates default bases configuration to Ubuntu 20.04, ending legacy builds. Introduces deprecation notices DN02 and DN03 for missing or outdated charmcraft.yaml files and adds a test fixture to reset deprecation state. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Sets default bases configuration to Ubuntu 20.04, ending legacy builds. Adds deprecation notices DN02 and DN03 for missing or existing bases configurations, plus a test fixture to reset deprecation state globally. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged by cjp256. Configures default bases to Ubuntu 20.04, ending legacy builds. Adds deprecation notices DN02 and DN03 for missing or legacy charmcraft.yaml setups. Includes a test fixture to reset deprecation state. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #389 build & pack: add and use default ubuntu 20.04 bases configuration (CRAFT-266) | charmcraft | closed | Closed by author to rework proposed changes adding default Ubuntu 20.04 bases configuration, updating pack commands, and removing legacy formats. Not merged. | |
| #791 Enforced DN03: the 'bases' is now mandatory for charms in the config (CRAFT-785). | charmcraft | merged | Merged. Enforced mandatory 'bases' field in charm configuration per DN03 (CRAFT-785), resolving #655. Updated config and tests to include bases or switched test types to bundle. Approved by one reviewer and passed CI. | |
| #415 init command: populate default charmcraft.yaml (CRAFT-330) | charmcraft | merged | Merged. Adds default charmcraft.yaml generation to the init command, setting type charm and Ubuntu 20.04 bases. Approved by two reviewers and merged after PR #414 enabled integration tests. |