oci: fix handling of symlink subdirs
Metadata
Current evaluation
Merged fix to correctly include symlinked subdirectories in Rockcraft OCI tar archives. Contributor implemented the change, reviewer added tests, and the pull request was approved and merged, resolving issue #208.
Suggested action: —
No scores available.
Issue body
When Rockcraft creates the tar archive from the priming area, subdirs symlinks are skipped from archive.
Solution is to add subdirs when they are symlinks.
Fix #208
- [] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix to correctly include symlinked subdirectories in Rockcraft OCI tar archives. Contributor implemented the change, reviewer added tests, and the pull request was approved and merged, resolving issue #208. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix for Rockcraft skipping symlink subdirectories during tar archive creation from the priming area. The change adds logic to include these symlinks, resolving issue #208. Tests were added and the PR was approved. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix for OCI tar archive creation that previously skipped symlink subdirectories. Updated archive logic to include symlinked subdirs, resolving issue #208. Reviewer added tests and approved the changes. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #200 oci: fix handling of subdirs in usrmerge | rockcraft | merged | Merged fix for OCI payload handling where subdirectories were incorrectly placed in symlinked parent directories instead of their targets. Resolved plugin failures for directories like lib/. Approved by reviewers and passed CI checks. | |
| #204 oci: handle duplicate directories because of usrmerge | rockcraft | merged | Merged. Resolves CRAFT-1634 and issue #203 by handling usrmerge duplicate directories in OCI payloads. The fix verifies matching attributes before merging directories into a single layer entry and raises errors for conflicts. Approved, passed CI, and modified six files. | |
| #1314 fix: do not collide on "similar" symlinks between overlay and install dir | craft-parts | merged | Merged a fix for symlink collisions between overlay and install directories. The author refactored paths_collide for Rockcraft compatibility. All CI checks passed, reviews were approved, and the change resolved issue #1293. |