← Back to issue list

Base logic for metadata setters set-

View original Github issue

Metadata

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

Current evaluation

Closed without a recorded implementation; equivalent lifecycle scriptlets later landed in #1618, #2002, #2045, #2049 and #2052.

Resolution: closed stale

Reason: The issue was closed with no comments or linked closing change, so it was stale rather than demonstrably resolved at closure. Later merged PRs independently delivered the equivalent build, command, pull, stage and prime scriptlet support.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Estimate: 4 days We currently have three scriptlets that cover the build step only: prepare, build, and install. We want scriptlets around all lifecycle steps: pull, build, stage, and prime. Note that introducing an install step is not part of this roadmap. There are some complications here that I want to point out. The stage and prime steps are completely handled by the core right now. As soon as we change that and provide the ability to override them, we must account for the possibility that files in stage will be changed from what they were in install, etc. Which means the stage dir must flow to the prime dir, which it does not do today (the file list is retrieved from stage, but the files themselves come from the parts’ install dirs). Note that the stanzas for pull and build can be completed without such a redesign.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed without a recorded implementation; equivalent lifecycle scriptlets later landed in #1618, #2002, #2045, #2049 and #2052.
stealth/space-bunny-alpha — closed stale Lifecycle-scriptlet roadmap closed without documented follow-up; later PRs added override-stage and override-prime support.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The proposed lifecycle scriptlets were abandoned or superseded by later architectural changes, evidenced by zero comments and a multi-year closure period.
qwen/qwen3.6-35b-a3b — — Abandoned or superseded. The proposal to add metadata setters for pull, build, stage, and prime lifecycle steps received no discussion or implementation. The issue was closed without resolution or code changes.
qwen/qwen3.6-35b-a3b — — Abandoned without implementation. The proposed lifecycle scriptlets for pull, build, stage, and prime were closed due to lack of engagement and unresolved stage-to-prime file flow complications.
qwen3.6-35b-a3b-mtp-q6 — — Abandoned due to inactivity. The proposal to add lifecycle scriptlets for pull, build, stage, and prime steps, along with metadata setter logic, was never implemented. Architectural changes and newer approaches superseded this roadmap.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft#2045 (confidence 99%)

    Commit 56c16cbc5 added the override-pull scriptlet.

  • Likely Fixed By: snapcraft#2049 (confidence 99%)

    Commit c5ca9ef87 added the override-stage scriptlet.

  • Likely Fixed By: snapcraft#2052 (confidence 99%)

    Commit 15119aa7e added the override-prime scriptlet.

  • Likely Fixed By: snapcraft#2002 (confidence 98%)

    Commit bbca282fa added the snapcraftctl command for scriptlets.

  • Likely Fixed By: snapcraft#1618 (confidence 90%)

    Commit 4355d3ac1 added scriptlets to the build state.

Related issues

No related issues found above the similarity threshold.