Expose the build base name in snapcraft.yaml
Metadata
Current evaluation
Feature request to expose the build base name (e.g. core22) as an environment variable in snapcraft.yaml to avoid hardcoding. Triaged and acknowledged by a maintainer who noted a workaround exists but agreed an env var would be better. Inactive for over a year.
Suggested action: keep open
Reason: The issue is triaged (Status: Triaged label) and acknowledged by maintainer mr-cal who agreed an environment variable would be better for base-independent code, though noted a workaround exists. The feature remains unimplemented and relevant, so it should stay open despite inactivity.
Impact:
40
Quick Win:
30.0
Staleness:
75
Complexity:
25
Confidence:
70
Support Request:
10
Issue body
### What needs to get done
I would like to access the build base name (e.g. `core22`) in other sections (e.g. environment and parts) of the `snapcraft.yaml` to avoid hardcoding and duplication.
### Why it needs to get done
I have these two use-cases but I'm sure there are also others:
1. I need to reference the build base in an environment variable
(`OPENSSL_MODULES: /snap/core22/current/usr/lib/x86_64-linux-gnu/ossl-modules-3/`)
2. I need to manually modify a path in a parts `override-build` based on the build base
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
30.0
Staleness:
75
Complexity:
25
Confidence:
70
Support Request:
10
|
keep open | Feature request to expose the build base name (e.g. core22) as an environment variable in snapcraft.yaml to avoid hardcoding. Triaged and acknowledged by a maintainer who noted a workaround exists but agreed an env var would be better. Inactive for over a year. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
80
Complexity:
35
Confidence:
85
Support Request:
5
|
keep open | Feature request to expose the build base name in snapcraft.yaml to avoid hardcoding. Triaged and acknowledged by a maintainer, but inactive for approximately one year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
20
Confidence:
75
Support Request:
10
|
keep open | Enhancement request to expose the build base name in snapcraft.yaml for use in environment variables and parts. Triaged, but inactive for over a year with no implementation. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
40
Confidence:
80
Support Request:
10
|
keep open | Expose the build base name in snapcraft.yaml for use in environment variables and parts, eliminating hardcoded paths. Triaged enhancement tracked as SNAPCRAFT-1187, awaiting implementation. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.