← Back to issue list

feat: organize files from build

View original Github issue

Metadata

Project
craft-parts
Number
#1535
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged following reviewer approval, adding support for organizing files from a part's build directory via the (build) pseudo-partition and improving trailing slash destination handling. Resolves #1521.

Suggested action:

No scores available.

Issue body

Add support for organizing files directly from a part’s build directory via the `(build)` pseudo-partition. Files cannot be organized into the build directory. Also improve destination handling for trailing slashes so non-existing `.../` destinations are treated as directories and created. Fixes #1521 CRAFT-5071 - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged following reviewer approval, adding support for organizing files from a part's build directory via the (build) pseudo-partition and improving trailing slash destination handling. Resolves #1521.
qwen3.6-35b-a3b-mtp-q6 Merged pull request adding build pseudo-partition support to organize files from build directories, improving trailing slash handling, and reserving the build partition name with tests. Resolves #1521 and CRAFT-5071.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1598 feat(organize): support build pseudo-partition source craft-parts merged Merged PR adding (build) as a source-only pseudo-partition for organize. Enables copying build artifacts to install partitions without moving originals. Approved by two reviewers, passed tests, and merged.
79%
#1592 Refactor and integrate organize from build craft-parts closed Implemented in PR #1598 (commit cc02958b). The organize_files function now accepts build as a source partition, copying files to destinations instead of moving them. This resolves the regression and removes the need for a separate Craft Parts branch.
74%
#1254 feat: allow parts to organize to overlay craft-parts merged Merged. Introduces an overlay target for file organization, moving part build files to the mounted overlay stack. Approved by three reviewers and passed all CI checks. Documentation will be added later when the base creation feature is complete.
73%
#689 fix(organize): use the part's install directories craft-parts merged Merged fix for organize_files() which incorrectly used relative paths, organizing files in cwd instead of base_dir. The function now accepts the part's install directories directly. Approved by two reviewers and passed CI.
71%