schema: remove the deprecated snap keyword for bases
Metadata
Current evaluation
Merged into master, the schema no longer uses the deprecated snap keyword for bases, replacing it with prime. Approved by two reviewers, passed CI, and increased coverage by 0.04%.
Suggested action: —
No scores available.
Issue body
The prime keyword has been in use long enough.
LP: #1794855
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged into master, the schema no longer uses the deprecated snap keyword for bases, replacing it with prime. Approved by two reviewers, passed CI, and increased coverage by 0.04%. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master, removing the deprecated snap keyword for bases from the schema per Launchpad bug #1794855. Coverage increased by 0.04% following a minor test timeout fix. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master, removing the deprecated snap keyword for bases from the schema per LP #1794855. The change increased coverage by 0.04% and finalized the deprecation. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1006 schema: replace `snap` filter with `prime` filter. | snapcraft | merged | Merged. Replaces the deprecated snap filter with prime in the schema. Prevents simultaneous use, adds deprecation warnings, and includes unit tests. Approved and passed CI. Resolves Launchpad bug 1627781. | |
| #2626 schema: remove support for os when using bases | snapcraft | merged | Successfully merged pull request removing os type support from the schema when using bases, as base support supersedes it. Approved by reviewer, passed CI checks, and integrated. | |
| #2609 schema: allow 'snapd' snap type | snapcraft | merged | Merged to allow the 'snapd' snap type in the schema. Approved by one reviewer, passed CI checks, and modified three files. | |
| #1282 parts: remove the deprecated snap keyword from the internal parts representation | snapcraft | merged | Merged into master. Removed the deprecated snap keyword from the internal parts representation. Requires PR #1278. Approved by one reviewer with negligible coverage impact. | |
| #2689 schema: build-base support for the snapd type | snapcraft | merged | Merged into master. Implements build-base keyword support for the snapd snap type, enabling its construction. Approved by reviewer, passed CI, and updated four files. |