← Back to issue list

schema: enfore string for versions

View original Github issue

Metadata

Project
snapcraft
Number
#2334
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged #2334 (commit 353804482), enforcing string type for snap versions now that bases require an active transition.

Resolution: closed resolved

Reason: PR #2334 was merged into Snapcraft as commit 353804482, adding schema enforcement that the version field is a string.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Since moving to bases requires an active transition, it is now possible to include string enforcement on the version "string". LP: #1796723 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
stealth/space-bunny-alpha — closed resolved Merged #2334 (commit 353804482), enforcing string type for snap versions now that bases require an active transition.
stealth/space-bunny-alpha — closed resolved Merged as commit 353804482, enforcing string values for version fields across 182 files now that active base transitions are required (LP #1796723).
stealth/space-bunny-alpha — closed resolved Merged snapcore/snapcraft#2334 in commit 353804482, enforcing strings for version values across 182 files to support active base transitions; addresses LP #1796723.
stealth/space-bunny-alpha — closed resolved Merged PR #2334 (commit 353804482) to require string values for version fields, enabling the active bases transition described for LP #1796723.
qwen/qwen3.6-35b-a3b — — Merged after reviewer approval and passing CI. Enforces string type for version fields across the schema to support bases transitions, addressing LP #1796723. The update modifies 182 files to standardize version validation.
qwen3.6-35b-a3b-mtp-q6 — — Merged a schema update enforcing string type for versions to support active base transitions. Authored by maintainer sergiusens, the change was successfully integrated into the codebase.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.