← Back to issue list

Move Permissions definition in rockcraft schema to top scope

View original Github issue

Metadata

Project
rockcraft
Number
#460
Type
pull request
State
merged
Author
linostar
Labels
Created
Updated
Closed

Current evaluation

Merged a fix relocating the Permissions definition in rockcraft's schema.json to the top-level scope, correcting validation errors. Approved by two reviewers, passed CI, and integrated. A follow-up PR will implement automated schema validation.

Suggested action:

No scores available.

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- This is to fix an issue in Rockcraft's schema.json, because `Permissions` needs to moved to the top scope `definitions` instead of being located inside `Part`'s definitions.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a fix relocating the Permissions definition in rockcraft's schema.json to the top-level scope, correcting validation errors. Approved by two reviewers, passed CI, and integrated. A follow-up PR will implement automated schema validation.
qwen3.6-35b-a3b-mtp-q6 Merged a fix relocating the Permissions definition from the Part scope to the top-level definitions in rockcraft/schema.json. This resolves schema validation errors. Automated schema testing will be implemented in a follow-up PR.
qwen3.6-35b-a3b-mtp-q6 Merged a schema fix moving the Permissions definition from the Part scope to the top-level definitions scope in rockcraft/schema.json, resolving a validation issue. Automated validation will follow in a separate PR.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1057 fix(schema): allow extensions field in rockcraft.yaml rockcraft merged Merged a schema-only update adding the extensions field to rockcraft.yaml, resolving IDE validation error #922. Approved by two reviewers, rebased on main, and merged without runtime impact.
73%
#471 Allow additionalProperties under "parts/plugin" in rockcraft schema rockcraft merged Merged. Updates the Rockcraft schema to allow additional properties under the plugin field, preventing false validation errors for valid configurations. Validation is deferred to Rockcraft. Approved by two reviewers and merged following schema regeneration.
72%