← Back to issue list

feat: add check for unsupported bases

View original Github issue

Metadata

Project
craft-application
Number
#850
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged a feature adding a check for unsupported bases. The change restricts packing to supported bases by default, allowing overrides via the --allow-unsupported-base flag. Resolves CRAFT-4637.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#598 feat: allow for multi-base builds craft-application merged Merged to enable multi-base builds by allowing bases in the platforms entry. Approved by three reviewers, passed CI, and resolves issue #569. Modified four files with 46 additions and 28 deletions.
76%
#4343 feat(remote-build): check base before executing snapcraft merged Merged after reviewer approval and passing CI. Adds base validation before remote-build execution, raising errors for unsupported bases and enabling fallback for core20/core22. Resolves #4318.
72%
#886 fix(check_supported_base): ESM still counts as EOL craft-application merged Merged fix to check_base_is_supported that correctly classifies extended support bases as EOL. Approved by two reviewers with all CI checks passing. Maintainer bypassed a pending review to unblock related work.
72%
#876 feat(ProjectService): make check_supported_base work with bare base craft-application merged Merged update to ProjectService.check_supported_base enabling bare base support. Builds on PR #874, approved by three reviewers, and passed all CI checks. Changes span nine files with 122 additions and 9 deletions.
70%