← Back to issue list

config/build: set default bases configuration with DNs (CRAFT-265, CRAFT-266)

View original Github issue

Metadata

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

Current evaluation

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.

Resolution: closed resolved

Reason: PR charmcraft#414 was approved and merged as commit 3bfa45c0, implementing the documented bases defaults and deprecations.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged charmcraft#414, defaulting builds to Ubuntu 20.04 for the host architecture, ending legacy builds and adding DN02/DN03 deprecation notices.
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.

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 unmerged for rework; the Ubuntu 20.04 default-bases changes were reworked in charmcraft#414 and merged in 921dd85d (implementation: 3bfa45c0).
77%
#655 Enforce deprecation DN03: Bases configuration is now required charmcraft closed DN03 was enforced by requiring charm bases in configuration; the change was merged in canonical/charmcraft#791 via commit 9c52a73a.
72%
#791 Enforced DN03: the 'bases' is now mandatory for charms in the config (CRAFT-785). charmcraft merged Merged PR canonical/charmcraft#791 (9c52a73a), enforcing DN03 so charm configs require bases and updating affected tests; fixes #655.
71%