Create partitions for components
Metadata
Current evaluation
Component partition support was added by merged PR #4493 (commit 070c7e995), enabling partitions for component projects and covering the requested behavior.
Resolution: closed resolved
Reason: The issue was marked completed via merged PR #4493. That PR conditionally enabled craft-parts partitions for component projects, added component lifecycle partition support, and landed in commit 070c7e995.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
In `snapcraft/parts/lifecycle.py`, snapcraft should:
- get the list of components from the `Project` model
- create a list of partitions
- pass the partitions to the `LifecycleManager`
A new spread test should verify that partitions exist in the file tree and files can be organized into a component’s partition.
### Why it needs to get done
To support components in snapcraft
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Component partition support was added by merged PR #4493 (commit 070c7e995), enabling partitions for component projects and covering the requested behavior. | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented by merged PR #4493 ("feat(lifecycle): conditionally enable partitions"): partitions derived from project components are now passed to PartsLifecycle/LifecycleManager, with core24 feature flagging and spread test coverage. | |
| stealth/space-bunny-alpha | — | closed resolved | Component partitions were added to the lifecycle manager and covered by spread tests. PR #4493 merged and completed #4465. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented component partition creation in snapcraft's lifecycle manager. Completed and merged via pull request #4493, adding lifecycle logic and spread tests to verify partition organization. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented component partition creation in snapcraft's lifecycle manager and added spread tests. Resolved and merged via pull request #4493. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented component partition creation in snapcraft/parts/lifecycle.py and added verification tests. Resolved and closed via merged pull request #4493. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Component partition creation and lifecycle manager integration implemented. Spread tests added to verify file organization. Resolved and merged via pull request #4493. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#4493
(confidence 100%)
Merged PR #4493 explicitly fixed #4465 and added the partition implementation.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4463 Enable craft-parts partitions feature | snapcraft | closed | Partitions support landed in merged PR #4493 (commit 070c7e995), enabling partition-backed component lifecycle data and completing #4463. | |
| #4493 feat(lifecycle): conditionally enable partitions | snapcraft | merged | Merged PR #4493 enabled partitions for devel/core24+ projects with components, added component lifecycle variables, and fixed #4463 and #4465; it replaced #4487. | |
| #4649 Add support for components in core24 | snapcraft | closed | Core24 component support was delivered: merged PR #4700 (commit 070c7e995, 'feat: partitions for core24') implemented components/partitions for core24, closing #4649. |