← Back to issue list

providers: install rockcraft snap via craft-providers API

View original Github issue

Metadata

Project
rockcraft
Number
#71
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged as f31183b7, refactoring provider setup to install the Rockcraft snap through the craft-providers API without functional changes.

Resolution: closed resolved

Reason: PR #71 was approved and merged as commit f31183b7, moving snap installation inside providers to the new craft-providers API with no intended functional change.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Use the new `craft-providers` API to install snaps inside a provider. No functional changes. (CRAFT-1347)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as f31183b7, refactoring provider setup to install the Rockcraft snap through the craft-providers API without functional changes.
stealth/space-bunny-alpha — closed resolved Merged #71 in commit f31183b7, refactoring provider setup to install the Rockcraft snap through craft-providers; behavior remained unchanged.
stealth/space-bunny-alpha — closed resolved Merged PR canonical/rockcraft#71 (commit f31183b7) by mr-cal: provider setup now installs the rockcraft snap via the craft-providers API (CRAFT-1347), a pure refactor with no functional changes.
stealth/space-bunny-alpha — closed resolved Merged canonical/rockcraft#71, refactoring provider setup to install the rockcraft snap through the craft-providers API with no functional changes.
qwen/qwen3.6-35b-a3b — — Merged a refactor updating snapcraft to install the rockcraft snap via the new craft-providers API. The change modifies six files with no functional impact, passed CI checks, and received approval.
qwen3.6-35b-a3b-mtp-q6 — — Merged update to install snaps inside providers using the new craft-providers API. The change introduces no functional differences and resolves CRAFT-1347.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3933 providers: install snaps and packages via craft-providers API snapcraft merged Merged PR #3933 (commit 929a26fd6) reworked snapcraft/providers to install snaps and packages via the craft-providers API instead of bespoke code (CRAFT-1281, CRAFT-1283).
81%
#120 providers: use new craft-providers interface rockcraft merged Merged as 3f887b70: replaced Rockcraft's local provider classes with craft-providers and moved providers.py.
78%
#891 (internal) Install snap via craft-providers API (CRAFT-1277) charmcraft merged Merged PR #891 as commit 456601ff, switching Charmcraft snap installation to the craft-providers API and completing CRAFT-1277.
77%
#1019 build: update craft-providers rockcraft merged Merged PR canonical/rockcraft#1019 (commit 841f7432, "build: update craft-providers"), a 3-line dependency bump to craft-providers that fixed "EOL devel" base errors in spread tests; snap-tests failures were confirmed expected.
76%
#104 requirements: update craft-providers to v1.5.1 rockcraft merged PR #104 (commit b3c4044e) merged, bumping craft-providers 1.5.0 -> 1.5.1 in 3 files, picking up the upstream fix for the "cannot resolve prerequisite assertion: account" error when injecting rockcraft's snap (affecting ROCK revision 309).
76%
#3940 providers: move `get_provider()` to providers.py snapcraft merged Merged PR #3940 by mr-cal moved get_provider() into snapcraft/providers.py (squash commit 2acdd89b6), a CRAFT-1409 refactor mirroring canonical/rockcraft#92, part of a series of provider/lifecycle function moves.
75%
#164 dependencies: update craft-providers to 1.6.2 rockcraft merged Merged in rockcraft#164 via commit 9696779b, upgrading craft-providers to 1.6.2 to disable automatic snap refreshes inside build instances.
73%
#24 requirements: update craft-providers rockcraft merged Merged canonical/rockcraft#24 via commit 33d0b2b7, updating craft-providers to 1.2.0 for significantly faster build-instance warm starts.
72%
#403 build(deps): bump craft-providers to 1.19.2 rockcraft merged Merged PR #403 (commit 4da091b6) bumped craft-providers to 1.19.2 in Rockcraft's frozen requirements, adopting base-v3 to fix LXD instances created with craft-providers 1.16.0 failing to start.
71%
#3943 providers: use new craft-providers interface snapcraft merged Merged into snapcraft main as commit 2980d145c: removed in-tree Provider/LXDProvider/MultipassProvider classes in favour of craft-providers, and moved snapcraft/providers/providers.py to snapcraft/providers.py (+65/-1173).
71%