← Back to issue list

Missing grammar for conditional configflags on/to architecture

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1831752
Type
issue
State
open
Author
~fnordahl
Labels
—
Created
Updated
Closed
—

Current evaluation

Architecture-conditional configflags remain unsupported for plugin-specific part keys; this old, untriaged proposal has only an author follow-up and no maintainer response.

Suggested action: needs triage

Reason: The current grammar processor explicitly handles source, build-environment, build/stage packages and snaps, but not configflags; the 8.2.0 release notes also state that advanced grammar was extended to all part keywords except plugin-specific keywords. The issue has no labels or maintainer response, and its core configflags request is clearly demonstrated, while the proposed multiple-architecture and build-environment extensions are not fully specified.

Evaluated by: mr-cal-bot

Impact: 43 Quick Win: 14 Complexity: 58 Confidence: 93 Actionability: 77

Issue body

Creating a snap that will support many architectures require conditional ``configflags``. The grammar available for ``build-packages`` and ``stage-packages`` would be nice to also have for ``configflags``. (A side note is that the existing support for build/stage-packages could grow the ability to list multiple architectures so you don't have to repeat entries that are true for multiple archs) Mock-up that matches existing grammar for build/stage-packages: parts: qemu: plugin: autotools configflags: - on amd64: - --enable-xen - on i386: - --enable-xen Even better: parts: qemu: plugin: autotools configflags: ? - all : - "--enable-something-everywhere" ? - amd64 - i386 : - "--enable-xen"

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 43
Quick Win: 14
Complexity: 58
Confidence: 93
Actionability: 77
needs triage Architecture-conditional configflags remain unsupported for plugin-specific part keys; this old, untriaged proposal has only an author follow-up and no maintainer response.
stealth/space-bunny-alpha
Impact: 49
Quick Win: 10
Complexity: 64
Confidence: 86
Actionability: 56
needs triage Request for architecture-conditional configflags remains untriaged; a related architecture-grammar PR was closed unmerged over compatibility and deprecation concerns.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 16
Complexity: 50
Confidence: 85
Actionability: 72
needs triage Requests architecture-conditional on/to grammar for plugin configflags in multi-architecture snaps. It remains open and untriaged, with no current implementation evidenced in the grammar-key list.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 20
Staleness: 95
Complexity: 50
Confidence: 55
Support Request: 15
needs triage 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.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 65
Confidence: 90
Support Request: 10
close stale Request to add architecture-conditional grammar for configflags in snapcraft, mirroring build-packages. Unlabelled, no maintainer interaction, inactive for ~7 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 90
Support Request: 10
close stale Feature request to add architecture-conditional grammar for configflags, mirroring build/stage-packages syntax. Unaddressed for ~7 years with zero maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 90
Support Request: 10
close stale Request to add architecture-conditional grammar for configflags in snapcraft, similar to build/stage-packages. Issue is completely inactive for over 7 years with no maintainer response.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.