← Back to issue list

feat!: allow promoting from edge channels with --yes

View original Github issue

Metadata

Project
snapcraft
Number
#5984
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged #5984 as commit 1b669ec44, allowing promote --yes from edge channels in Snapcraft 9 and resolving #5958, #5945, #4439, and #4312.

Resolution: closed resolved

Reason: PR #5984 was approved and merged as commit 1b669ec44. It removes the edge-channel restriction for promote --yes and was included in Snapcraft 9.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Previously, users couldn't use promote releases with `--yes` from an edge channel. This restriction has been dropped. Users are responsible for wielding `--yes` responsibly. This is part of Snapcraft 9, because some CI workflows could be dependent on this safety net. Fixes https://github.com/canonical/snapcraft/issues/5958 Fixes https://github.com/canonical/snapcraft/issues/5945 Fixes https://github.com/canonical/snapcraft/issues/4439 Fixes https://github.com/canonical/snapcraft/issues/4312 (SNAPCRAFT-1270) --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [x] I've added or updated any relevant documentation. - [x] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #5984 as commit 1b669ec44, allowing promote --yes from edge channels in Snapcraft 9 and resolving #5958, #5945, #4439, and #4312.
stealth/space-bunny-alpha — closed resolved Merged (commit 1b669ec44): dropped the edge-channel restriction on `promote --yes` in Snapcraft 9 (SNAPCRAFT-1270), closing #5958, #5945, #4439 and #4312.
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#5984 (1b669ec44), removing the edge-channel restriction on promote --yes in Snapcraft 9 and fixing #5958, #5945, #4439, and #4312.
qwen/qwen3.6-35b-a3b — — Merged the feature allowing release promotions from edge channels with the --yes flag. The previous safety restriction was removed for Snapcraft 9, placing responsibility on users. Resolves multiple related tracking issues.
qwen3.6-35b-a3b-mtp-q6 — — Merged a feature allowing promote releases with --yes from edge channels, removing a previous safety restriction. This Snapcraft 9 update resolves multiple related issues and shifts responsibility for safe usage to users.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#5945 snapcraft promote doesn't work when using the `--yes` flag. snapcraft closed Fixed by merged PR #5984 (commit 1b669ec44), which removed the edge-channel restriction so `snapcraft promote --from-channel edge --to-channel beta --yes` now works. Shipped in Snapcraft 9.0.
84%
#3185 cli: allow promoting from edge without --yes snapcraft merged Merged PR #3185, allowing CLI promotions from the edge channel without requiring --yes; merged as commit 131c99fd9.
81%
#5958 Remove restriction for promoting edge releases with `--yes` snapcraft closed Snapcraft 9 removed the restriction on promoting edge releases with --yes via merged PR #5984 (commit 1b669ec44).
78%
#4312 failed when promote snap using option: --yes snapcraft closed Closed as a duplicate of #5945; the replacement was fixed by merged PR #5984 (commit 1b669ec44), enabling promote --yes from edge in Snapcraft 9.0.
74%
#4439 failed when promote snap using option: --yes snapcraft closed Closed as a duplicate of #5945; merged PR #5984 (1b669ec44) fixed `promote --yes` for edge-to-beta promotion in Snapcraft 9.0.
74%
#1855688 snapcraft promote fails with <track>/edge snapcraft (launchpad) closed CLI promotion from edge was enabled by merged PR #3185 (commit 131c99fd9), removing the restriction that forced users to use the web UI.
71%