← Back to issue list

Please add support for advanced grammar in stage

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1948465
Type
issue
State
open
Author
~xnox
Labels
Created
Updated
Closed

Current evaluation

Feature request to allow advanced grammar (try:/on $arch) in the stage directive, avoiding override-build workarounds. Open since 2020 with zero comments or labels; grammar support has since expanded to all part keywords, so applicability needs verification.

Suggested action: needs triage

Reason: No maintainer has ever responded, labelled, or assigned this 1774-day-old request, so it remains untriaged. However, the repo now depends on craft-grammar>=2.3.0 and a changelog entry says 'Extend advanced grammar for all part keywords', which may already cover stage — a maintainer should verify whether the request is implemented before closing or keeping it open.

Impact: 35 Quick Win: 21.0 Staleness: 85 Complexity: 40 Confidence: 55 Support Request: 20

Issue body

Please add support for advanced grammar in stage I would love to have `try:` and `on $arch` support, currently have to do override-build instead.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 21.0
Staleness: 85
Complexity: 40
Confidence: 55
Support Request: 20
needs triage Feature request to allow advanced grammar (try:/on $arch) in the stage directive, avoiding override-build workarounds. Open since 2020 with zero comments or labels; grammar support has since expanded to all part keywords, so applicability needs verification.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 75
Support Request: 10
needs triage Feature request to add try: and on $arch conditional syntax to the stage directive. Unlabeled, zero maintainer comments, inactive for over four years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 10
needs triage Feature request to add try: and on arch grammar support to the stage command. Unlabelled, no maintainer comments, and inactive for over 4 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 75
Support Request: 10
close stale Request to add try: and on $arch syntax to the stage directive. Unlabelled, zero maintainer comments, inactive for over 4 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 85
Support Request: 10
close stale Request to add try: and on $arch syntax support to the stage grammar. Currently requires workarounds like override-build. Open, inactive for over a month, awaiting triage and assignment.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1948464 Please add support for advanced grammar in organize snapcraft (launchpad) open Feature request to allow advanced grammar (try:/on $arch) in the organize part property, so arch-specific file mappings can be declared instead of using override-build. No maintainer response or labels; open ~5 years.
83%
#1949980 Please add support for advanced grammar in build-base / base snapcraft (launchpad) closed Closed without implementation. The request for advanced grammar support in build-base/base received no comments or fixes, indicating it was abandoned.
71%
#985 Support Snapcraft advanced grammar in plugin parameters? craft-application open Feature request to support advanced grammar (on/to/else) in plugin parameters like cmake-parameters for arch-specific build flags. Triaged by maintainers in Jan 2026, confirmed valid but requiring extra work; no progress since.
71%
#1831752 Missing grammar for conditional configflags on/to architecture snapcraft (launchpad) open Feature request to add per-architecture conditional grammar support for configflags in snapcraft parts, matching existing build-packages/stage-packages grammar. Open 7+ years with no labels, no maintainer response, and zero comments; unassessed.
70%