project: method to return snaps to install
Metadata
Current evaluation
Merged PR #3816 as commit 372fbd040, moving install-snap discovery into Project and filtering content snaps already supplied by build-snaps.
Resolution: closed resolved
Reason: PR #3816 was merged into main as commit 372fbd040. It added the project method and build-snap content filtering described for CRAFT-1112.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- moved it away from lifecycle
- added support to not install content snaps if a build-snap provides it
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-1112
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3816 as commit 372fbd040, moving install-snap discovery into Project and filtering content snaps already supplied by build-snaps. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as snapcore/snapcraft#3816 (commit 372fbd040), adding a project method to return required install snaps, moved from lifecycle, with build-snap content-snap filtering. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged into main. Adds a method to return snaps to install, moving logic from the lifecycle module and skipping content snaps when a build-snap provides them. Approved, passed CI, and merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. The change relocates the snap installation method from the lifecycle module and adds logic to skip content snap installation when a build-snap provides the same content. Achieved 100% diff coverage. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1518 project: introduce build-snaps | snapcraft | merged | Merged PR #1518 as commit 69dceb848, adding a project-level and part-level `build-snaps` keyword with advanced grammar support (+902/-10, 24 files). Implements the design in snapcraft#1442; the feature remains in current snapcraft. |