← Back to issue list

fix: allow using a snap from the snap store

View original Github issue

Metadata

Project
craft-application
Number
#417
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged a fix defaulting to the stable channel for snap store snaps, enabling channel overrides via the CRAFT_SNAP_CHANNEL environment variable. Approved by reviewers, passed CI, and modified two files.

Suggested action:

No scores available.

Issue body

If the app isn't running from a snap, default to using the stable channel for the snap store snap, with an option to change channels using the CRAFT_SNAP_CHANNEL environment variable. - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a fix defaulting to the stable channel for snap store snaps, enabling channel overrides via the CRAFT_SNAP_CHANNEL environment variable. Approved by reviewers, passed CI, and modified two files.
qwen3.6-35b-a3b-mtp-q6 Merged a fix defaulting to the stable channel for snap store snaps when not running from a snap, with channel overrides configurable via the CRAFT_SNAP_CHANNEL environment variable.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2938 remote build: default to snapcraft's stable channel snapcraft merged Merged following reviewer approval and passing CI. Adds a test confirming snap.requestBuilds() defaults to snapcraft's stable channel. Resolved with minimal changes.
78%
#1404 fix: set store config in separate environment variables. charmcraft merged Merged changes replace the CHARMCRAFT_STORE_CONFIG variable with separate environment variables, aligning configuration with Snapcraft. Approved by one reviewer, passed CI, and updated four files to implement the refactored setup.
72%
#5085 fix: allow parallel installations of signed snapcraft snaps snapcraft merged Merged a fix enabling parallel installations of signed snapcraft snaps, resolving issues #4683 and #4927. Approved by two reviewers, passed CI checks, and integrated.
72%
#3036 travis: use stable channel for building snapcraft snap snapcraft merged Merged a Travis CI config change to build the snapcraft snap from the stable channel. Approved by one reviewer, this update bootstraps the build process to prevent future PRs from breaking snapcraft's CI pipeline.
72%
#3600 remote build: use channel defaults (CRAFT-568) snapcraft merged Merged changes remove hardcoded channel forcing for snapcraft and core18 in remote builds, aligning with snapcraft's core20 transition. Approved and merged with a minimal diff. Launchpad now auto-selects the correct build-base.
72%
#4514 fix: install snapd from edge inside build environments snapcraft merged Merged. Installs snapd from the edge channel in build environments for component builds. Updated spread tests exercise the feature. Temporarily points to craft-providers main to incorporate a hotfix. Approved and passed CI.
72%
#13 fix: deref snap name and s/channel/release/ starflow merged Merged a fix that dereferences the snap name and replaces channel with release. Approved by one reviewer, the minimal change was successfully integrated into the codebase.
72%
#3146 build providers: snap sw to channels if injecting snapcraft merged Merged fix that prevents automatic channel switching to latest/stable when injecting snaps with revision assertions during build provider setup. Approved by reviewer, passed CI, and integrated.
71%
#356 fix(ci): correct conditional for snap publication rockcraft merged Merged a fix correcting an invalid conditional in the GitHub Actions workflow for snap publication. The change resolved an unrecognized SNAPCRAFT_STORE_CREDENTIALS variable reference in snap.yaml. Approved by three reviewers and passed CI checks.
71%