← Back to issue list

Document post-prime and pack steps

View original Github issue

Metadata

Project
snapcraft
Number
#4989
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Documentation
Created
Updated
Closed
—

Current evaluation

Triaged documentation gap remains: the parts lifecycle page omits post-prime processing and does not explain metadata and asset generation or the full pack behavior before snap creation.

Suggested action: keep open

Reason: The issue is explicitly labeled Status: Triaged and Type: Documentation, identifies the target page, and gives concrete examples. The current lifecycle document still describes pack only as packaging the prime directory, while lifecycle.py performs plugin fixes, patch-elf processing, metadata generation, linting, packing, and component packaging; no resolving change was found. The sole comment only records the creation of internal ticket CRAFT-3266 and provides no resolution.

Evaluated by: mr-cal-bot

Impact: 35 Quick Win: 17 Complexity: 40 Confidence: 92 Actionability: 80

Issue body

### What needs to get done The parts lifecycle explanation doc should cover what happens during post-prime and pack, such as the generating metadata and copying assets. ### Why it needs to get done Snapcraft makes many modifications to the prime directory before packing. These are not documented and it not clear to users what Snapcraft is doing prior to calling `snap pack`. source: https://forum.snapcraft.io/t/snap-is-unusable-due-to-bad-permissions/41498/3

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 35
Quick Win: 17
Complexity: 40
Confidence: 92
Actionability: 80
keep open Triaged documentation gap remains: the parts lifecycle page omits post-prime processing and does not explain metadata and asset generation or the full pack behavior before snap creation.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 19
Complexity: 20
Confidence: 80
Actionability: 80
keep open Documentation gap: the parts lifecycle doc does not explain post-prime and pack steps, including metadata generation and asset copying that Snapcraft performs on the prime directory before snap pack.
qwen/qwen3.8-27b
Impact: 35
Quick Win: 23
Staleness: 55
Complexity: 35
Confidence: 78
Support Request: 5
keep open Documentation request to explain post-prime and pack lifecycle steps (metadata generation, asset copying) in the parts lifecycle doc. Triaged by maintainer, linked to internal ticket CRAFT-3266, but no doc update has landed yet.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 20
Confidence: 85
Support Request: 10
keep open Documentation issue requesting explanation of post-prime and pack lifecycle steps in Snapcraft. Triaged, linked to internal ticket, awaiting documentation update.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 15
Confidence: 80
Support Request: 10
keep open Request to document post-prime and pack lifecycle steps in Snapcraft to clarify metadata generation and asset copying. Currently triaged and awaiting documentation work.

Update history

No update history recorded yet.

Related work

  • Related To: warthogs#CRAFT-3266 (confidence 100%)

    The autogenerated issue-sync comment explicitly says this internal ticket was created for the feedback.

Related issues

No related issues found above the similarity threshold.