← Back to issue list

Support for root packages for core24

View original Github issue

Metadata

Project
snapcraft
Number
#4605
Type
issue
State
closed
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Fixed missing logic for bundling root-level build-packages and stage-packages into a part for core24. Resolved via merged pull request #4617, enabling the root-packages spread test to pass.

Suggested action:

No scores available.

Issue body

### What needs to get done In the non Craft Application based snapcraft root level build-packages and stage-packages are bundled into a part before being passed to Craft Parts. This logic is missing in the new Craft Application based Snapcraft ### Why it needs to get done Implement the similar logic to https://github.com/canonical/snapcraft/blob/8a9a5c21229f68a5e0daa7c89d609d7d29006477/snapcraft/parts/yaml_utils.py#L186 and its similar unit tests which would allow `tests/spread/core24/root-packages/task.yaml` to pass

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Fixed missing logic for bundling root-level build-packages and stage-packages into a part for core24. Resolved via merged pull request #4617, enabling the root-packages spread test to pass.
qwen/qwen3.6-35b-a3b Implemented missing logic to bundle root-level build and stage packages into a part for core24. Fixed and merged in pull request #4617.
qwen/qwen3.6-35b-a3b Added missing root package bundling logic for core24 to the Craft Application based Snapcraft. Fixed by merging pull request #4617, which enables the core24 root-packages test to pass.
qwen3.6-35b-a3b-mtp-q6 Fixed missing root package bundling logic for core24 Craft Application based Snapcraft. Resolution merged in pull request #4617, enabling the core24 root-packages spread test to pass.
qwen3.6-35b-a3b-mtp-q6 Fixed missing core24 root package bundling logic by merging pull request #4617. The change aligns the new Craft Application implementation with existing behavior, allowing the core24 root-packages spread test to pass.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4617 feat(craft-application): support root packages for core24 snapcraft merged Added root-level build-packages and build-snaps support in snapcraft.yaml for core24. Merged after dual review approval, passing CI and coverage checks. Resolves #4605 across three files.
77%
#4754 fix: install gpg and dirmngr in core24 builds snapcraft merged Merged to install gpg and dirmngr in core24 builds, fixing Launchpad dependency errors. The change replicates core22 behavior after bundling failed due to hardcoded paths. Approved by reviewers and passed CI.
71%