project: add basic rockcraft.yaml parsing and validation (CRAFT-584)
Metadata
Current evaluation
Merged in rockcraft PR #6 (88c9d529), adding rockcraft.yaml parsing and parts validation, renaming tag to version, and switching output from .oci.tar to .rock.
Resolution: closed resolved
Reason: PR #6 was approved and merged as commit 88c9d529. The merged change adds pre-build project parsing and validation plus the documented field and output-suffix updates.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Add a rockcraft.yaml parser that can also validate parts. This allows
the application to stop before running build providers if the parts
validation fails.
Also renamed the `tag` field to `version`, and changed the output image
file suffix to `.rock instead of `.oci.tar`.
Co-authored-by: Chris Patterson <chris.patterson@canonical.com>
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in rockcraft PR #6 (88c9d529), adding rockcraft.yaml parsing and parts validation, renaming tag to version, and switching output from .oci.tar to .rock. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/rockcraft#6 via 88c9d529, adding rockcraft.yaml parsing and parts validation, renaming tag to version, and changing the output suffix to .rock. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes adding rockcraft.yaml parsing and validation to halt builds on invalid parts. Renamed the tag field to version and updated the output image suffix to .rock. Approved and passed CI across seven files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged by cmatsuoka, adding rockcraft.yaml parsing and validation to halt builds on invalid parts. Renamed tag to version and changed output suffix to .rock. Resolves CRAFT-584. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #8 project: add rockcraft.yaml load function (CRAFT-586) | rockcraft | merged | Merged PR #8 added a dedicated rockcraft.yaml loader with tests; merge commit 3cf2d6fa contains implementation commit 85981d00. | |
| #372 Merge `rockcraft` | craft-application | merged | PR #372 merged into the temporary 2.x branch, adding reviewed rockcraft work and commit ccfe498d's corrected craft-cli/craft-parts constraints for the planned 2.9.0 release. | |
| #1056 docs: clean up 'rockcraft.yaml' | rockcraft | merged | Merged PR #1056 as commit 32d800b9, upgrading pydantic-kitbash to v0.1.1 and cleaning rockcraft.yaml docs by removing redundant modules and normalizing field order. | |
| #289 docs: expand rockcraft.yaml reference | rockcraft | merged | Merged into main via commit 654c9c01, reorganizing reference docs and expanding the rockcraft.yaml configuration reference across seven files. | |
| #1093 feat(snap): add rockcraft.json to the snap | rockcraft | merged | Merged PR #1093 in commit e16322cf, adding schema/rockcraft.json to the snap for project validation and base discovery; shipped in Rockcraft 1.17. | |
| #474 feat: build Rockcraft rock | rockcraft | closed | PR adding rockcraft.yaml to pack Rockcraft itself as a rock (plus a GHCR workflow) was closed unmerged by author cjdcordeiro; no rockcraft.yaml commit landed in rockcraft. |