← Back to issue list

cli: migrate upload and release to new channel-map

View original Github issue

Metadata

Project
snapcraft
Number
#3145
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Migrated CLI upload and release commands to the new channel-map. Approved by a reviewer, passed CI checks, and merged into master with a net reduction of 9 lines across 5 files.

Suggested action:

No scores available.

Issue body

Signed-off-by: Sergio Schvezov <sergio.schvezov@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 Migrated CLI upload and release commands to the new channel-map. Approved by a reviewer, passed CI checks, and merged into master with a net reduction of 9 lines across 5 files.
qwen3.6-35b-a3b-mtp-q6 Merged into master, migrating CLI upload and release commands to a new channel-map. Resolves bug #1816861. Modified files maintain 100% coverage.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Migrates CLI upload and release commands to the new channel-map structure. Achieved 100% diff coverage and was approved by the maintainer author.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3143 cli: migrate close to use the new channel map snapcraft merged Merged migration of the close CLI command to the new channel map. Fixed a bug where channels were incorrectly shown as open due to missing progressive release awareness. Simplified tests, added a TODO for upload logic, and passed CI checks.
83%
#3008 cli: use the channel-map api for status snapcraft merged Merged into main branch. Updates the CLI status command to use the channel-map API, introduces the --experimental-progressive-delivery flag, and fixes the channel-map schema. The author dismissed a CI spread failure as unrelated to the changes.
75%
#2777 cli: pass channels None when not doing a push --release snapcraft merged Merged after approval and passing CI. Updates the CLI to pass channels as None when not executing a push --release command. Changes span two files with 10 additions and 9 deletions.
70%