← Back to issue list

feat: add component metadata for hooks

View original Github issue

Metadata

Project
snapcraft
Number
#4703
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

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.

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 `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- Support metadata for component hooks. This includes the project definition and the output in the component's `meta/component.yaml` file. Built on #4701, so only the last 3 commits are relevant. Fixes #4570 (CRAFT-2463)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged after PR #4701 landed. Adds component metadata for hooks and updates meta/component.yaml output. Fixes #4570. Target branch switched to main, with integration test failures deferred until external review tools update.
qwen3.6-35b-a3b-mtp-q6 Merged to main after PR #4701. Adds component hook metadata and meta/component.yaml output, fixing #4570. Maintainer adjusted spread tests for review-tools updates and core24 snap constraints.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4722 feat: package component hooks for core22 snapcraft merged Merged to enable packaging of component hooks for core22. Implementation was completed in #4717; this change activates the feature. Approved by two reviewers, passed CI, and modified four files.
72%
#4503 feat(meta): generate metadata for components snapcraft merged 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.
70%