← 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 as 46987fbb7, adding snap manifest generation from lifecycle build info, including pulled assets, primed stage packages, the original project file, and optional image JSON.

Resolution: closed resolved

Reason: PR #4611 was approved and merged as commit 46987fbb7, implementing snap/manifest.yaml generation for the core24 lifecycle.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged as 46987fbb7, adding snap manifest generation from lifecycle build info, including pulled assets, primed stage packages, the original project file, and optional image JSON.
stealth/space-bunny-alpha — closed resolved Merged PR #4611 added lifecycle snap-manifest generation from build information, including pull assets, primed stage packages, the project file, and optional image JSON.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#4611 (46987fbb7), adding lifecycle-generated snap manifests with build/image metadata and the original project file.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#4611 (46987fbb7), adding snap-manifest generation from lifecycle build information and optional image JSON.
stealth/space-bunny-alpha — closed resolved Merged PR #4611 as commit 46987fbb7, generating snap manifests from lifecycle build information with pull assets, primed stage packages, and the original project file.
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.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#4618 (confidence 95%)

    Merged as e426d07a3; standardized core24 manifest generation on SNAPCRAFT_BUILD_INFO and removed legacy options.

  • Related To: canonical/snapcraft#4661 (confidence 90%)

    Merged as 16127c502; corrected manifest-generation tests to use the prime directory.

Related issues

Issue Project State Summary Similarity
#240 feat(lifecycle): get pull assets and primed stage packages craft-application merged Merged PR #240 in commit b52f221f, adding lifecycle methods to retrieve pull assets and primed stage packages for manifest generation.
74%