← Back to issue list

Parameterized builds are required for snapcraft build

View original Launchpad issue

Metadata

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

Current evaluation

Request for user-defined build parameters that can select a part's Git branch; it remains open, unlabelled, and untriaged with no maintainer response.

Suggested action: needs triage

Reason: The reporter gives a concrete use case—building the same snap against different Git branches—but does not propose command syntax, configuration semantics, or a concrete recipe, and the issue has no labels or maintainer comments. The current lifecycle parser exposes predefined options such as --build-for, while the current build-plan implementation is architecture-oriented, so supporting general parameters would require maintainers to define scope, propagation through build environments, and compatibility behavior.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 6 Complexity: 68 Confidence: 87 Actionability: 47

Issue body

HI, I need to have parameterized builds for snapcraft. Our snap pulls another git source as a part. I need to have ability to build the snap with different branches for that part. I prefer to have a parameter which can be used internally to build the repo. For more details. https://forum.snapcraft.io/t/snapcraft-build-environment/18626/4 Thanks Muthiah

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 6
Complexity: 68
Confidence: 87
Actionability: 47
needs triage Request for user-defined build parameters that can select a part's Git branch; it remains open, unlabelled, and untriaged with no maintainer response.
qwen/qwen3.6-35b-a3b
Impact: 40
Quick Win: 12
Complexity: 50
Confidence: 60
Actionability: 60
needs triage Feature request for parameterized builds in snapcraft to allow passing custom parameters at build time, such as different git branches for parts.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 9
Staleness: 95
Complexity: 55
Confidence: 65
Support Request: 30
close stale Feature request from 2018 to add parameterized builds to snapcraft so a git-source part can be built from different branches via a build parameter. No labels, no comments, no maintainer response in ~6 years; largely addressable today via environment variable substitution in snapcraft.yaml.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 35
Confidence: 85
Support Request: 50
close stale Request for parameterized build support in snapcraft to allow dynamic git branch selection for snap parts. Unanswered for over five years with no maintainer interaction or labels.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 85
close not a bug Feature request for parameterized snapcraft builds to support different git branches. Open for over 6 years with no maintainer response or activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 85
close not a bug Feature request for parameterized snapcraft builds to pull different git branches. Unlabelled, no maintainer comments, inactive for over 5 years.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.