← Back to issue list

project: add basic rockcraft.yaml parsing and validation (CRAFT-584)

View original Github issue

Metadata

Project
rockcraft
Number
#6
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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 after approval and passing CI checks. Extracts project file loading into a dedicated function with tests, modifying four files with 89 additions and 19 deletions.
83%
#400 fix(docs): make sure we can build the example rockcraft.yaml rockcraft merged Merged to resolve issue #399. Added a spread test validating the example rockcraft.yaml build process for documentation. Approved by three reviewers and passed all CI checks.
76%
#1056 docs: clean up 'rockcraft.yaml' rockcraft merged Merged documentation cleanup for rockcraft.yaml. Updates include upgrading pydantic-kitbash to v0.1.1, removing unnecessary module declarations, and normalizing field order. Approved by two reviewers and merged despite unrelated snap-test failures.
75%
#1041 docs: generate 'rockcraft.yaml' with kitbash rockcraft merged Merged documentation update generating rockcraft.yaml via kitbash. Changes fixed broken links, added configuration keys beyond Snapcraft, and passed CI checks following reviewer approval.
74%
#1093 feat(snap): add rockcraft.json to the snap rockcraft merged Merged a pull request adding rockcraft.json to the snap. Requested by the Rocks team, this enables users to validate rockcraft.yaml against their installed version and check supported bases. Approved by two reviewers and passed CI checks.
73%
#57 feat(rockcraft): support --ignore=unmaintained craft-actions merged Merged following approval from three reviewers and successful CI checks. Introduces the --ignore=unmaintained flag to rockcraft, resolving issue #52. The update modifies 9 files with 179 additions and 17 deletions.
73%
#289 docs: expand rockcraft.yaml reference rockcraft merged Merged after three reviewers approved, the PR reorganized the documentation reference section and expanded the rockcraft.yaml reference guide, modifying 7 files.
73%
#150 docs: add contributing file rockcraft merged Merged Rockcraft contribution guidelines. Added 17 lines to one file, approved by one reviewer, and completed with zero unresolved comments or CI failures.
73%
#3 parts: add parts support (CRAFT-27) rockcraft merged Merged after approval. Integrates craft-parts to add initial parts processing support to Rockcraft. Changes span 11 files with 375 additions and 6 deletions. Zero unresolved comments and passing CI checks.
72%
#1082 fix: reference slug path in for rockcraft.yaml #2 rockcraft merged Merged a one-line fix correcting an incorrect documentation URL in CLI error messages. The change updates the reference path in rockcraft.yaml error prompts to the proper slug path. CI checks passed and reviewers approved before merging.
72%