blank version should not be allowed in snapcraft.yaml
Metadata
Current evaluation
Merged after two approvals. Prevents blank versions in snapcraft.yaml, addressing part of bug LP #1660076. Minor flake8 test failures were noted but did not block integration. Full validation for empty version strings remains pending.
Suggested action: —
No scores available.
Issue body
This change fixes part of LP: [#1660076](https://bugs.launchpad.net/snapcraft/+bug/1660076)
It is still pending to raise an error when the version is empty: `version: `.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after two approvals. Prevents blank versions in snapcraft.yaml, addressing part of bug LP #1660076. Minor flake8 test failures were noted but did not block integration. Full validation for empty version strings remains pending. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after fixing flake8 linting errors. The change blocks blank version fields in snapcraft.yaml, partially resolving Launchpad bug #1660076. Validation for explicitly empty version strings remains pending. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to prevent blank versions in snapcraft.yaml, partially resolving LP #1660076. The change was accepted and integrated despite initial static test failures noted by a maintainer. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3325 snapcraftctl: add checks for empty string for set-version & set-grade | snapcraft | merged | Merged validation checks for empty strings in snapcraftctl set-version and set-grade. Empty inputs previously caused cryptic metadata errors. The change now explicitly rejects invalid values with clear error messages. Approved and merged. |