Please support custom stores
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Celso Providelo |
Bug Description
I had to validate a snap from a custom store today. When doing this, I got:
$ snapcraft validate custom custom-kernel=3
Getting details for custom-kernel
Snap 'custom-kernel' was not found in the 'stable' channel.
because snapcraft is only looking into the default store.
As a quick hack I added:
diff --git a/snapcraft/
index c57626e..5a329ba 100644
--- a/snapcraft/
+++ b/snapcraft/
@@ -361,6 +361,9 @@ class SnapIndexClient
}
if arch:
+ if os.getenv(
+ headers[
+
params = {
and with that I was able to validate my snap:
$ SNAPCRAFT_
Changed in snapcraft: | |
status: | New → In Progress |
assignee: | nobody → Celso Providelo (cprov) |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
importance: | Undecided → Wishlist |
milestone: | none → 2.24 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
Proposed fix in https:/ /github. com/snapcore/ snapcraft/ pull/981