← Back to issue list

feat: upload snaps with components

View original Github issue

Metadata

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

Current evaluation

Merged in #4701 via commit 686b4e308, adding snapcraft upload --component support for uploading snaps with components and fixing #4687.

Resolution: closed resolved

Reason: PR #4701 was approved and merged as commit 686b4e308. It implements repeatable --component options and component-aware Store uploads.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- This PR allows uploading snaps with components to the snap store. The UX is: ``` snapcraft upload <snap-file> --component <component-name>=<component-file> --component <component-name>=<component-file> ... ``` Fixes #4687 (CRAFT-2626)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #4701 via commit 686b4e308, adding snapcraft upload --component support for uploading snaps with components and fixing #4687.
stealth/space-bunny-alpha — closed resolved Merged #4701 in commit 686b4e308, adding snapcraft upload --component <name>=<file> support for Store uploads. The feature explicitly fixes #4687.
qwen/qwen3.6-35b-a3b — — Merged, implementing CLI support to upload snaps with components using the --component flag. Approved by two reviewers, passed CI, and resolved issue #4687.
qwen3.6-35b-a3b-mtp-q6 — — Merged feature adding CLI support to upload snaps with components via the --component flag. Resolves issue #4687. Achieved 98.4% patch coverage and passed all lint and test checks.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#4687 (confidence 100%)

    PR #4701 explicitly states that it fixes the component-upload issue.

Related issues

Issue Project State Summary Similarity
#4687 Add support for uploading components snapcraft closed Component upload support was merged in canonical/snapcraft#4701 via commit 686b4e308, adding upload --component handling, validation, and Store uploads with components.
82%