Block overlay usage with `bare` bases
Metadata
Current evaluation
Validation to reject overlays with bare bases was implemented and merged in pull request #301, resolving the mutual exclusivity conflict.
Suggested action: —
No scores available.
Issue body
### What needs to get done
If a project has `bare` base and either `overlay-script` or `overlay-packages`, we should fail as early as possible.
------
Ideally we should fail during project validation, but we would need a craft-parts-provided way of determining whether a project is using overlays (so that we don't keep all that logic in Rockcraft itself).
### Why it needs to get done
The two features are essentially mutually exclusive: the overlays are a way to configure the base system, and the `bare` base is about not having a base system at all.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Validation to reject overlays with bare bases was implemented and merged in pull request #301, resolving the mutual exclusivity conflict. | |
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
27.0
Staleness:
70
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | Feature request to fail early when a project uses a bare base with overlay-script or overlay-packages. Implemented in merged PR #301; last comment (2023-09-20) asks if it can be closed. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
92
Complexity:
20
Confidence:
85
Support Request:
0
|
close stale | Request to fail validation when using overlay features with bare bases, as they are mutually exclusive. Unresolved for over 3 years with a maintainer asking if it can be closed. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
92
Complexity:
25
Confidence:
85
Support Request:
5
|
close stale | Request to add validation preventing incompatible use of bare bases with overlay features. Currently inactive for over a year with a maintainer asking if it can be closed. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
30
Confidence:
70
Support Request:
10
|
close stale | Block overlay scripts and packages with bare bases due to mutual exclusivity. Requires a craft-parts method to detect overlays for early validation. Issue remains open, with a maintainer recently asking if it can be closed. |
Update history
| Date | Change |
|---|---|
| closed |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #301 project: block overlay usage with "bare" bases | rockcraft | merged | Blocked overlay usage with bare bases. Merged after two approvals, closing issue #284. Added 42 lines and removed 4 across six files. A reviewer asked about layer stack behavior, but the change was integrated as intended. | |
| #136 `base: bare` + `overlay_packages` = unhelpful error message | rockcraft | open | base: bare + overlay_packages produced an unhelpful 'No such file or directory: apt-get' error. Fixed: project validation now blocks overlays on bare bases with a clear message. |