← Back to issue list

Implement a passthrough feature

View original Github issue

Metadata

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

Current evaluation

Passthrough for new snapd keywords shipped in PR #2053 (commit f9b75a974, 'meta: implement passthrough of properties to snap.yaml'), later softened by #2091 and scrubbed for snap.yaml in #2914.

Resolution: closed resolved

Reason: The feature requested was implemented by merged PR canonical/snapcraft#2053 (commit f9b75a974), which added `passthrough` keys so snapcraft.yaml properties could be forwarded to snap.yaml for experimental snapd features like timers and layouts. Follow-ups included #2091 (softened the warning) and #2914 (scrub app passthrough from snap.yaml).

Evaluated by: mr-cal-bot

No scores available.

Issue body

To experiment with new keywords showing up in snapd Enabling use of (but not solving): - [timers support missing in snapcraft](https://bugs.launchpad.net/snapcraft/+bug/1754641) - [layouts](https://bugs.launchpad.net/snapcraft/+bug/1754639)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Passthrough for new snapd keywords shipped in PR #2053 (commit f9b75a974, 'meta: implement passthrough of properties to snap.yaml'), later softened by #2091 and scrubbed for snap.yaml in #2914.
stealth/space-bunny-alpha — closed resolved Passthrough was implemented in canonical/snapcraft#2053 and merged as f9b75a974, forwarding snapcraft.yaml properties into snap.yaml for new snapd keywords.
stealth/space-bunny-alpha — closed resolved Passthrough metadata was implemented in canonical/snapcraft#2053 (commit f9b75a974), forwarding snapcraft.yaml properties to snap.yaml for newer snapd keywords.
stealth/space-bunny-alpha — closed resolved Passthrough metadata was implemented in canonical/snapcraft#2053 (commit f9b75a974), allowing snapcraft.yaml properties to be forwarded to snap.yaml and enabling newer snapd keywords.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The passthrough feature request for snapd timers and layouts was abandoned, likely superseded by native tooling support.
qwen/qwen3.6-35b-a3b — — Closed without implementation. Abandoned as native timers and layouts support were later added to snapcraft, superseding the need for this passthrough feature.
qwen/qwen3.6-35b-a3b — — Abandoned without implementation. Superseded by native support for timers and layouts in snapcraft.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation or discussion. The passthrough feature for snapd timers and layouts was abandoned.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft#2053 (confidence 95%)

    PR titled 'meta: implement passthrough of properties to snap.yaml', commit f9b75a974, closes the passthrough feature request.

  • Related To: snapcraft#2091 (confidence 80%)

    Follow-up PR softening the warning emitted when using passthrough.

  • Related To: snapcraft#2914 (confidence 70%)

    Later change ensuring Application passthrough is scrubbed for snap.yaml, reflecting passthrough's experimental/deprecated status.

Related issues

Issue Project State Summary Similarity
#1862197 passthrough field being added to snap.yaml snapcraft (launchpad) closed App-level `passthrough` keys were copied verbatim into the generated meta/snap.yaml, triggering manual review on store builds. Fixed by merged PR snapcore/snapcraft#2914 (commit da9508fd3), released in snapcraft 3.10; passthrough is now dropped from snap.yaml.
79%
#2053 meta: implement pass-through of properties to snap.yaml snapcraft merged Merged #2053 as f9b75a974, adding global and app-local passthrough metadata, ambiguity checks, and warnings for unvalidated snap.yaml properties.
76%