build & pack: add and use default ubuntu 20.04 bases configuration (CRAFT-266)
Metadata
Current evaluation
Closed by author to rework proposed changes adding default Ubuntu 20.04 bases configuration, updating pack commands, and removing legacy formats. Not merged.
Suggested action: —
No scores available.
Issue body
- Add a default base of Ubuntu 20.04 to match the behavior of the
strict snap which always reports as Ubuntu 20.04. Upcoming work
will enable the use of `bases:` configuration in the charmcraft.yaml
to override this.
- Update pack command for bundles to use default bases configuration
as well.
- Remove legacy charm name format as it will no longer be used.
- Remove legacy manifest bases support as it will no longer be used.
Update associated unit tests.
Note that there is no deprecation warning for the use of default
bases, this will be added in a follow up PR.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed by author to rework proposed changes adding default Ubuntu 20.04 bases configuration, updating pack commands, and removing legacy formats. Not merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Proposed default Ubuntu 20.04 bases configuration, pack command updates, and legacy code removal were abandoned for rework. The changes were not merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed by author for rework. Proposed adding a default Ubuntu 20.04 base configuration, updating the pack command, and removing legacy charm name and manifest bases support. Not merged. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #414 config/build: set default bases configuration with DNs (CRAFT-265, CRAFT-266) | charmcraft | merged | 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. |