← Back to issue list

Make source grammar-powered

View original Github issue

Metadata

Project
snapcraft
Number
#1687
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1817 added grammar support for strings and made source grammar-powered in commit 574cd766d, resolving #1687.

Resolution: closed resolved

Reason: PR canonical/snapcraft#1817 was merged as commit 574cd766d, adding generic grammar processing for string values and applying it to source.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Estimate: 1 day Snapcraft currently has a grammar that allows for behavior to change based on, for example, the host architecture. The use of this grammar is slowly making its way across the snapcraft.yaml. Currently the only items supported are lists (e.g. stage-packages and build-packages). Adding support for strings is required to support further expansion (e.g. making the source key grammar-powered).

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1817 added grammar support for strings and made source grammar-powered in commit 574cd766d, resolving #1687.
stealth/space-bunny-alpha — closed resolved Implemented by merged PR #1817 (commit 574cd766d), which added generic grammar processing for string values and enabled it for the source key, closing #1687 and #1686.
stealth/space-bunny-alpha — closed resolved Implemented by merged PR #1817, which added grammar support for strings and made the source key grammar-powered, resolving #1687.
stealth/space-bunny-alpha — closed resolved Implemented by merged PR #1817 (574cd766d), adding string grammar support and making the source key grammar-powered, closing #1687.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to extend Snapcraft's grammar system to support strings for the source key was abandoned due to prolonged inactivity and zero comments.
qwen/qwen3.6-35b-a3b — — Closed without implementation due to prolonged inactivity. Grammar support for the source key was abandoned or superseded by later updates.
qwen/qwen3.6-35b-a3b — — The enhancement to make the source key grammar-powered was closed without implementation or discussion. No pull requests or resolution details were provided, indicating the request was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The request to extend Snapcraft's grammar system to support strings for the source key was abandoned or superseded by subsequent architecture updates. No pull requests or commits were created.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#1817 (confidence 100%)

    The merged PR implemented string grammar support and resolved issue #1687.

Related issues

Issue Project State Summary Similarity
#1817 grammar: support strings snapcraft merged Merged PR #1817 in commit 574cd766d, adding generic grammar processing for string values and enabling it for source, resolving #1686 and #1687.
80%
#1686 Support strings in grammar snapcraft closed String grammar support landed in merged PR #1817 (574cd766d), enabling grammar-powered source fields and resolving the original request.
75%