← Back to issue list

Don't allow `build-base` on stable bases

View original Github issue

Metadata

Project
charmcraft
Number
#1733
Type
issue
State
open
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Feature request to reject build-base on stable bases in platforms charms, plus documentation. Created by maintainer 776 days ago, no labels, no maintainer response beyond Jira bot. Code still allows build-base on stable bases; not implemented.

Suggested action: needs triage

Reason: The issue was created by maintainer lengau but has no labels, no assignee, and no maintainer response beyond the Jira sync bot (CRAFT-3920). The code in PlatformCharm._validate_dev_base_needs_build_base only enforces build-base for devel bases but does not reject it on stable bases, confirming the feature is unimplemented. Needs a maintainer to decide whether to implement or close.

Impact: 25 Quick Win: 17.5 Staleness: 70 Complexity: 30 Confidence: 78 Support Request: 10

Issue body

### What needs to get done On a `platforms` charm, don't allow `build-base` to be set if the `base` is a known stable base. This needs to include documentation about how to use build-base. See: https://github.com/canonical/charmcraft/pull/2080/files#r1919338151 ### Why it needs to get done The build base is only relevant if we can't build on the given base.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 17.5
Staleness: 70
Complexity: 30
Confidence: 78
Support Request: 10
needs triage Feature request to reject build-base on stable bases in platforms charms, plus documentation. Created by maintainer 776 days ago, no labels, no maintainer response beyond Jira bot. Code still allows build-base on stable bases; not implemented.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 50
Confidence: 85
Support Request: 10
needs triage Feature request to restrict build-base on stable bases for platforms charms and update documentation. Unlabelled, inactive for over a year, awaiting maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 30
Confidence: 80
Support Request: 10
needs triage Request to prevent setting build-base on stable bases for platforms charms, including documentation updates. Issue remains unlabelled and inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 20
Confidence: 85
Support Request: 0
close stale Request to prevent setting build-base on stable bases. Unlabelled and author is a maintainer, but has seen no progress or maintainer engagement in over two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 75
Support Request: 10
close stale Prevent setting build-base on stable bases for platforms charms, as it is only needed when the target base cannot be built on. Requires documentation. Open, inactive for 304 days, lacks labels, awaiting triage and assignment.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#2080 (confidence 85%)

    Issue body explicitly references PR #2080 review comment for documentation context on build-base usage.

Related issues

Issue Project State Summary Similarity
#915 Enforce that the build and run base are the same* base craft-application open Feature request to enforce build-base must match base in the Project model, with defined exceptions (bare, devel, legacy overrides). Filed by maintainer, 1 comment, no labels, no assignee, inactive ~11 months. Code still lacks this enforcement.
71%