← Back to issue list

feat(lifecycle): generate snap manifest

View original Github issue

Metadata

Project
snapcraft
Number
#4611
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged. Implements snap manifest generation triggered by build info environment variables, capturing pull assets, primed stage packages, and the project file. Approved by two reviewers, passed CI, and changed 16 files.

Suggested action:

No scores available.

Issue body

If `SNAPCRAFT_BUILD_INFO` is set, retrieve package information from the parts lifecycle and create a manifest containing the pull assets and primed stage packages. Also add a copy of the original project file. If `SNAPCRAFT_IMAGE_INFO` is set, add the provided json data to the snap manifest. - [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/)? - [ ] Have you successfully run `tox run -m lint`? - [ ] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. Implements snap manifest generation triggered by build info environment variables, capturing pull assets, primed stage packages, and the project file. Approved by two reviewers, passed CI, and changed 16 files.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds snap manifest generation when SNAPCRAFT_BUILD_INFO or SNAPCRAFT_IMAGE_INFO is set. Captures pull assets, primed stage packages, and the original project file. Codecov reported 91% patch coverage prior to merge.
qwen3.6-35b-a3b-mtp-q6 Merged to generate a snap manifest from lifecycle and image info. Captures pull assets, primed stage packages, and the original project file. Codecov reported 91% patch coverage with minor missing lines.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#240 feat(lifecycle): get pull assets and primed stage packages craft-application merged Added lifecycle service methods to retrieve pull assets and primed stage packages for manifest generation. Merged after approval, passing CI, and rebasing on main.
76%
#4589 feat(lifecycle): add deprecated snap command snapcraft merged Merged after two approvals and passing CI. Adds a deprecated snap command to the lifecycle module. Reviewers requested fixture simplifications and rebasing, which were implemented before final merge.
72%
#237 feat(lifecycle): always track stage packages craft-application merged Merged to always track stage packages in the lifecycle. Approved by three reviewers with zero unresolved comments. The single-line change was validated for compatibility with craft-application-based Snapcraft.
72%