build & pack: add and use default ubuntu 20.04 bases configuration (CRAFT-266)
Metadata
Current evaluation
Closed unmerged for rework; the Ubuntu 20.04 default-bases changes were reworked in charmcraft#414 and merged in 921dd85d (implementation: 3bfa45c0).
Resolution: closed superseded
Reason: Maintainer cjp256 closed #389 to rework it. Replacement charmcraft#414 was merged in 921dd85d, with commit 3bfa45c0 implementing the default Ubuntu 20.04 bases and deprecation notices.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged for rework; the Ubuntu 20.04 default-bases changes were reworked in charmcraft#414 and merged in 921dd85d (implementation: 3bfa45c0). | |
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged to rework the Ubuntu 20.04 default-bases changes; replacement charmcraft#414 was merged in commit 921dd85d. | |
| 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. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/charmcraft#414
(confidence 100%)
Merged replacement PR that delivered the reworked default-bases behavior.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #414 config/build: set default bases configuration with DNs (CRAFT-265, CRAFT-266) | charmcraft | merged | Merged charmcraft#414 in commit 3bfa45c0, defaulting builds to Ubuntu 20.04 for the host architecture, ending legacy builds, and adding DN02/DN03 deprecation notices. | |
| #411 build: pack charm in provided environment when using bases (CRAFT-313) | charmcraft | merged | Merged PR #411 (CRAFT-313) to pack each viable bases configuration in its provided build environment; merge commit 523c6fb0. | |
| #415 init command: populate default charmcraft.yaml (CRAFT-330) | charmcraft | merged | Merged in charmcraft#415 via commit a4c2eab5, adding default charmcraft.yaml generation with type charm and Ubuntu 20.04 bases. | |
| #742 Provide 22.04 as a building base | charmcraft | closed | Ubuntu 22.04 added as a Charmcraft build base via PR #776, merged as commit 04c91c1e ("Support 22.04 base") once the Craft Providers blocker was resolved; maintainer closed the issue as fixed. |