← Back to issue list

remote-build: introduce --launchpad-snapcraft-channel option

View original Github issue

Metadata

Project
snapcraft
Number
#2933
Type
pull request
State
closed
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged; PR #2938 superseded the CLI-toggle approach by making remote builds default to Snapcraft's stable channel, merged as 534ee1c1f.

Resolution: closed superseded

Reason: Maintainers directed the author to drop the CLI option, default to stable, and handle an environment-variable override separately. Follow-up PR #2938 implemented the stable default and was merged in commit 534ee1c1f.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed superseded Closed unmerged; PR #2938 superseded the CLI-toggle approach by making remote builds default to Snapcraft's stable channel, merged as 534ee1c1f.
stealth/space-bunny-alpha — closed superseded Closed #2933 unmerged after review redirected the proposal to a stable default and SNAPCRAFT_BUILD_ENVIRONMENT_CHANNEL_SNAPCRAFT; the author promised a follow-up PR.
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.

Update history

No update history recorded yet.

Related work

  • Superseded By: snapcraft#2938 (confidence 99%)

    Merged follow-up implementing the reviewed stable-channel default.

Related issues

Issue Project State Summary Similarity
#3600 remote build: use channel defaults (CRAFT-568) snapcraft merged Merged #3600, removing hardcoded snapcraft/core18 channel overrides so Launchpad can select remote-build channel defaults (implementation c095b34fe; merge 638239855).
82%
#6384 remote-build: set snapcraft's channel in the build recipe snapcraft open Remote-builder should pin Snapcraft's own channel in the Launchpad recipe (e.g. 8.x/stable) and expose an env var override; triaged as enhancement with internal ticket SNAPCRAFT-1397, pending upstream craft-application support.
80%
#3648 cli: reintroduce remote-build and promote to snapcraft help snapcraft merged Merged PR #3648 (commit 8dc1ac016), restoring remote-build and promote in Snapcraft's main CLI help for Launchpad bug #1943244.
78%
#344 remote build: provide a way to set application snap channel craft-application open Triaged enhancement remains open: Launchpad remote builds lack user-facing application snap channel selection, and downstream Snapcraft and Charmcraft work depends on this plumbing.
75%
#2938 remote build: default to snapcraft's stable channel snapcraft merged Merged #2938 in commit 534ee1c1f, adding coverage that snap.requestBuilds() defaults to Snapcraft's stable channel.
74%
#1706 Remote build: allow the user to specify a charmcraft channel and default to the charmcraft snap channel charmcraft open Feature request (maintainer-filed, internal ticket CRAFT-3132): let remote-build users pick the charmcraft snap channel via CLI, defaulting to the locally installed snap's tracking channel. Still open, blocked on craft-application#344.
73%
#1599578 Snapcraft cloudbuild snapcraft (launchpad) closed Remote building was implemented by merged PR canonical/snapcraft#1121 (commit 834c24bb6), adding cleanbuild --remote for LXD hosts; PR #2500 later added Launchpad remote builds.
72%
#2500 cli: add remote build snapcraft merged Merged PR #2500 added a CLI remote-build command that submits source trees to Launchpad and retrieves built snaps or error logs.
71%
#1950867 remote-build: Support passing --enable-experimental-extensions & options in general snapcraft (launchpad) open Valid request for remote-build to forward Snapcraft options, blocked on Launchpad API support; the original core20-specific use case is now obsolete.
71%
#2265 build providers: allow snapcraft channel selection snapcraft merged Merged build-provider Snapcraft channel selection for non-host-injected early testing, with a user warning, in commit 6a3d2d3cd (#2265).
70%