feat: add check for unsupported bases
Metadata
Current evaluation
Merged in PR #850 via commit 9fbf7fe9, adding an opt-in unsupported-base packing check with an --allow-unsupported-base override.
Resolution: closed resolved
Reason: PR #850 was approved, passed all CI checks, and merged as commit 9fbf7fe9. Applications can now block packing projects on unsupported bases unless the override is passed.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This adds a check for unsupported bases. If the application opts in, only projects using bases that are currently supported can be packed unless the user passes `--allow-unsupported-base`.
CRAFT-4637
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #850 via commit 9fbf7fe9, adding an opt-in unsupported-base packing check with an --allow-unsupported-base override. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/craft-application#850, adding an opt-in unsupported-base packing check and an --allow-unsupported-base override. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a feature implementing a check for unsupported bases, introducing the --allow-unsupported-base flag to bypass restrictions. Approved by three reviewers with all CI checks passing. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #799 Add an application metadata item for allowing ESM/EOL bases. | craft-application | closed | Resolved by merged PR #850 (commit 9fbf7fe9), adding an opt-in unsupported-base packing check with an --allow-unsupported-base override. | |
| #339 config: introduce long-form bases support | charmcraft | merged | Merged PR #339 via 9af3b121 (implementation 79cd72ca), adding long-form bases configuration; short-form support was deferred. |