← Back to issue list

utils: add helpers to link or copy files and trees

View original Github issue

Metadata

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

Current evaluation

Merged PR #34 added helpers for linking or copying files and trees, largely ported from Snapcraft; implementation commit: 35207ac6.

Resolution: closed resolved

Reason: PR #34 was merged into main via merge commit 2fadaa2e. It added the requested file and tree link/copy utilities in commit 35207ac6.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Copying or linking files and trees is a frequent operation as we progress through lifecycle steps. Add helpers for such operations. Note: the functions are mostly copies from their snapcraft counterparts and may be revisited/refactored in the future. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #34 added helpers for linking or copying files and trees, largely ported from Snapcraft; implementation commit: 35207ac6.
stealth/space-bunny-alpha — closed resolved Merged in craft-parts#34, adding helpers to link or copy files and trees, largely ported from Snapcraft; implementation commit 35207ac6.
qwen/qwen3.6-35b-a3b — — Merged after approval by two reviewers and passing CI checks. Added utility functions to link or copy files and directories across four files, adapting snapcraft implementations for lifecycle operations.
qwen3.6-35b-a3b-mtp-q6 — — Merged utility functions to copy or link files and directories. Adapted from snapcraft, these helpers streamline lifecycle operations and may be refactored later.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1658155 file_utils.link_or_copy_tree doesn't maintain symlinks to directories snapcraft (launchpad) closed Fixed directory-symlink handling in file_utils.link_or_copy_tree by merging snapcore/snapcraft PR #1063 in commit 7768cd33b.
73%