← Back to issue list

Generate metadata for components

View original Github issue

Metadata

Project
snapcraft
Number
#4466
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Component metadata generation was completed by merged PR #4503, which writes each component’s meta/component.yaml during priming.

Resolution: closed resolved

Reason: Merged PR canonical/snapcraft#4503 added component metadata generation at prime/component/<name>/meta/component.yaml, and the maintainer confirmed it resolved #4466.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done As a post-prime step, snapcraft should generate a `meta/component.yaml` metadata file for each component. `component.yaml` files should contain the following, collected from the definition in `snapcraft.yaml`: ```yaml component: <snap name>+<component name> type: test summary: ... description: ... version: ... # optional ``` ### Why it needs to get done To support components in snapcraft

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Component metadata generation was completed by merged PR #4503, which writes each component’s meta/component.yaml during priming.
stealth/space-bunny-alpha — closed resolved Component metadata generation was completed by merged PR #4503, which writes each component's meta/component.yaml during priming.
stealth/space-bunny-alpha — closed resolved Component metadata generation was completed via merged PR #4503, producing each component’s meta/component.yaml during priming.
qwen/qwen3.6-35b-a3b — — Implemented automatic generation of meta/component.yaml files during the post-prime step. The feature was completed and merged via pull request #4503.
qwen/qwen3.6-35b-a3b — — Snapcraft component metadata generation was completed via pull request #4503. The maintainer closed the request after the feature was implemented to support components.
qwen/qwen3.6-35b-a3b — — Generated meta/component.yaml metadata for snapcraft components during the post-prime step. The feature was implemented and merged via pull request #4503.
qwen3.6-35b-a3b-mtp-q6 — — Generated meta/component.yaml metadata files for snapcraft components as a post-prime step. Resolved and merged via pull request #4503.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#4503 (confidence 100%)

    Merged implementation that generates component.yaml files and explicitly references issue #4466.

Related issues

Issue Project State Summary Similarity
#4503 feat(meta): generate metadata for components snapcraft merged Merged PR #4503 added component metadata generation at prime/component/<name>/meta/component.yaml, resolving issue #4466 (CRAFT-2312).
82%
#6360 Mediate creation of component metadata snapcraft closed Component metadata generation was moved through craft-application in merged PR #6355, enabling snap repacking when component metadata changes.
72%