← Back to issue list

parts: copy kernel.yaml and gadget.yaml

View original Github issue

Metadata

Project
snapcraft
Number
#3742
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged implementation copying kernel.yaml and gadget.yaml into the meta directory for respective snap types. Approved by maintainer, passed CI checks, and resolved CRAFT-1072.

Suggested action:

No scores available.

Issue body

If the snap type is gadget, then the project root gadget.yaml must be copied into meta/gadget.yaml. If the snap type is kernel, then the project root kernel.yaml can be copied into meta/kernel.yaml Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [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`? ----- CRAFT-1072

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged implementation copying kernel.yaml and gadget.yaml into the meta directory for respective snap types. Approved by maintainer, passed CI checks, and resolved CRAFT-1072.
qwen3.6-35b-a3b-mtp-q6 Merged. Automatically copies kernel.yaml and gadget.yaml to their respective meta directories during snap build, resolving CRAFT-1072.
qwen3.6-35b-a3b-mtp-q6 Merged. Automatically copies kernel.yaml and gadget.yaml to their respective meta/ directories during snap assembly. Resolves CRAFT-1072 and passes all linting and unit tests.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#6369 feat: mediate creation of gadget.yaml and kernel.yaml snapcraft merged Merged. Implements a new packaging API to generate gadget.yaml and kernel.yaml, skipping repacks when contents are unchanged. Approved by two reviewers and passed CI checks prior to integration.
75%
#4982 Support `kernel.yaml` similar to `gadget.yaml` snapcraft open Request to support kernel.yaml as a snap metadata file moved to meta/ by Snapcraft. Core feature implemented via PR #3464 and #6369; remaining gadget.yaml location work tracked in #4344. Inactive 461 days.
72%
#6357 Mediate metadata creation for gadget and kernel snaps snapcraft open Feature request to mediate gadget.yaml and kernel.yaml creation via craft-application 7.1.0 API. The feature has been implemented and merged in PR #6369.
71%