← Back to issue list

feat: add a utility function that determines whether a part has slices

View original Github issue

Metadata

Project
craft-parts
Number
#637
Type
pull request
State
closed
Author
linostar
Labels
Created
Updated
Closed

Current evaluation

Closed in favor of PR #904. The utility function to detect part slices was superseded by an alternative implementation. Review feedback was incorporated, but the changes were ultimately consolidated into the referenced pull request.

Suggested action:

No scores available.

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- A utility function is needed in rockcraft to determine whether parts has slices in them. Instead of implementing such a function in rockcraft, it is better to implement it in craft-parts instead.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed in favor of PR #904. The utility function to detect part slices was superseded by an alternative implementation. Review feedback was incorporated, but the changes were ultimately consolidated into the referenced pull request.
qwen3.6-35b-a3b-mtp-q6 Closed and superseded by PR #904. The proposed utility function to detect slices in parts was abandoned in favor of an alternative implementation.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#914 feat: add funcs part_has_slices and part_has_chisel_as_build_snap craft-parts merged Merged part_has_slices and part_has_chisel_as_build_snap to check part data for slices and chisel in build-snaps. Approved by two reviewers and passed CI, the +29/-1 change aids Rockcraft by avoiding PartSpec conversions.
72%
#1717 feat(part): add build-slices model craft-parts closed Merged the addition of a build-slices Part property listing Chisel slices for the build root. The change introduces a new feature flag and validation logic. Approved by a reviewer and passed all CI checks.
71%