docs: add 'Platform grammar' reference
Metadata
Current evaluation
Merged in #213 via commit 11fee3f, adding platform-grammar and for-statement docs with Craft Grammar 2.3.0 features enabled after PR #207 merged.
Resolution: closed resolved
Reason: PR #213 was merged as commit 11fee3f after approval, with all CI checks passing. Maintainer @upils linked the merged PR #207 as the dependency update allowing Craft Grammar 2.3.0 documentation to be enabled.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you followed the guidelines for contributing?
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [X] Have you successfully run `make lint && make test`?
---
Document the `for` statement. I included some bits that we can uncomment when Imagecraft incorporates Craft Grammar 2.3.0, which includes the `any` platform and `for-else` statements.
I also added an example that isn't app-agnostic, but addresses what will be a common use of `for` statements in Imagecraft. If we think this is too far off (or just unwanted here), I can remove it.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in #213 via commit 11fee3f, adding platform-grammar and for-statement docs with Craft Grammar 2.3.0 features enabled after PR #207 merged. | |
| stealth/space-bunny-alpha | — | closed resolved | Docs PR merged as commit 11fee3f, adding docs/reference/platform-grammar.rst (+252 lines) documenting `for` platform statements, including Craft Grammar 2.3.0 bits uncommented after craft-parts 2.23.0 landed in #207. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #213 via commit 11fee3f, adding platform grammar and for-statement documentation, including Craft Grammar 2.3.0 features enabled by #207. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged documentation for the for statement and platform grammar. Approved by three reviewers and passed all CI checks. Includes placeholders for Craft Grammar 2.3.0 features, now enabled following PR 207. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged documentation for the platform grammar for statement. Commented-out sections for Craft Grammar 2.3.0 features were enabled after PR 207 merged. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/imagecraft#207
(confidence 99%)
Merged dependency update cited by the maintainer as enabling the Craft Grammar 2.3.0-specific sections.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #83 docs(changelog): add 2.0.3 | craft-grammar | merged | Merged documentation update #83 via commit cce4a39, adding five lines documenting craft-grammar version 2.0.3 in the changelog. | |
| #2590 docs: add platform naming rules | charmcraft | merged | PR #2590 by lengau was approved by two reviewers and merged into main as commit 3313a280, adding craft-application's platform naming rules to docs/reference/platforms.rst (docs-only, +49/-13). | |
| #6092 docs(reference): add platform naming rules | snapcraft | merged | Merged platform naming rules into the reference docs and bumped craft-application; the related lint fix was handled in canonical/craft-application#1023 (commit 83c5b7d4e). |