canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
5 stars 7 forks source link

feat(lifecycle): get pull assets and primed stage packages #240

Closed cmatsuoka closed 4 months ago

cmatsuoka commented 4 months ago

Add methods to the lifecycle service to retrieve the list of pull assets and primed stage packages from a given part. These can be used to generate manifests of processed content.

Signed-off-by: Claudio Matsuoka claudio.matsuoka@canonical.com


cmatsuoka commented 4 months ago

This is being tested with Snapcraft in https://github.com/canonical/snapcraft/pull/4611.

cmatsuoka commented 4 months ago

This looks fine but the snapcraft test branch for this PR is failing (it looks like a missing import is preventing the tests from running).

Snapcraft test branch updated (it was missing a commit) and fixed.

cmatsuoka commented 4 months ago

Rebased on main.