feat(provider): add snap registration api
Metadata
Current evaluation
Merged addition of a snap registration API enabling providers to install extra snaps before lifecycle execution. Approved by two reviewers, changed three files with 110 additions and one deletion, resolving CRAFT-4174.
Suggested action: —
No scores available.
Issue body
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
Add possibility to add additional snaps to be installed by provider before lifecycle is run.
(CRAFT-4174)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged addition of a snap registration API enabling providers to install extra snaps before lifecycle execution. Approved by two reviewers, changed three files with 110 additions and one deletion, resolving CRAFT-4174. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduces a snap registration API enabling providers to install additional snaps prior to lifecycle execution. Resolves CRAFT-4174. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #997 feat(Provider): inject the base snap | craft-application | merged | Merged. Injects the base snap into the provider alongside the application, eliminating separate downloads. Resolves #952 and CRAFT-4889. Approved by two reviewers with all CI checks passing. | |
| #891 (internal) Install snap via craft-providers API (CRAFT-1277) | charmcraft | merged | Merged changes to install snap via the craft-providers API, resolving CRAFT-1277. Updates six files with a net reduction of 145 lines. Approved by one reviewer with no unresolved comments or CI failures. | |
| #3933 providers: install snaps and packages via craft-providers API | snapcraft | merged | Merged implementation for installing snaps and packages via the craft-providers API. Approved, passed CI, and increased unit test coverage by 0.46 percent across three changed files. |