feat(meta): generate metadata for components
Metadata
Current evaluation
Merged implementation generating component metadata to prime/component/<name>/meta/component.yaml. Resolves #4466. Includes 425 additions and 12 deletions across 10 files, approved by two reviewers, and passed all CI checks and tests.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint`?
- [x] Have you successfully run `pytest tests/unit`?
-----
Generate metadata for components and write the metadata to `prime/component/<component-name>/meta/component.yaml`.
Fixes #4466
(CRAFT-2312)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation generating component metadata to prime/component/<name>/meta/component.yaml. Resolves #4466. Includes 425 additions and 12 deletions across 10 files, approved by two reviewers, and passed all CI checks and tests. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation for generating component metadata, writing output to prime/component/<component-name>/meta/component.yaml. Resolves issue #4466. Test coverage covers all modified lines. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation generating component metadata to prime/component/<name>/meta/component.yaml. Resolves #4466, passes linting and unit tests with full code coverage. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4466 Generate metadata for components | snapcraft | closed | Implemented automatic generation of meta/component.yaml files during the post-prime step. The feature was completed and merged via pull request #4503. | |
| #4703 feat: add component metadata for hooks | snapcraft | merged | Merged after approval and passing CI checks. Adds project definition and output for component hooks in meta/component.yaml, resolving issue #4570. Built on PR #4701 and rebased to main. |