← Back to issue list

Fallback once to `snap download` if snap not found in global store

View original Github issue

Metadata

Project
craft-parts
Number
#1490
Type
issue
State
open
Author
soumyaDghosh
Labels
Created
2026-03-07 14:26:30+00:00
Updated
2026-03-07 14:27:13+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done `snap install` can only install snaps from the global store, but if the snap is not listed in the global store, then a retry should be done with `snap download`, because the snap might be in a dedicated snap store, and those credentials might be set in the environment. If the command returns `snap not found` then, the credentials are not at all set. If it returns 404, then the store url is set, but the snap is not accessible with the given credential. ### Why it needs to get done This will help for private snap development process or cases, where the snap is not in the global store, or are even set as private. The current setup, makes it necessary to make a snap public to be able to use it.

Evaluation history

No evaluation history available.