remote-build: introduce --launchpad-snapcraft-channel option
Metadata
Current evaluation
Closed without merging. Reviewers requested changing the default channel to stable and replacing the CLI flag with an environment variable for developer use. The author agreed to implement the environment variable approach in a new PR.
Suggested action: —
No scores available.
Issue body
It may be useful to configure Launchpad to use a specific
snapcraft channel. This commit changes the default from "edge"
to "stable", and allows the user to configure it.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without merging. Reviewers requested changing the default channel to stable and replacing the CLI flag with an environment variable for developer use. The author agreed to implement the environment variable approach in a new PR. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and superseded. Maintainers requested an env var instead of a CLI flag. The author will implement channel configuration via SNAPCRAFT_BUILD_ENVIRONMENT_CHANNEL_SNAPCRAFT with a stable default in a follow-up PR. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to master with a CLI flag to set the Launchpad snapcraft channel to stable. The author later implemented the feature via an environment variable instead, opening a new PR to supersede this change. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6384 remote-build: set snapcraft's channel in the build recipe | snapcraft | open | Enhancement to set Snapcraft's channel in remote build recipes and expose an environment variable for channel selection. Triaged, from maintainer, 23 days old. | |
| #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. | |
| #344 remote build: provide a way to set application snap channel | craft-application | open | Enhancement to add an environment variable or option so remote builds can specify which snap channel (e.g. edge) to use for the application snap in Launchpad build recipes. Triaged by maintainer; not yet implemented. | |
| #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. |