Symlinks to directories in local sources aren't pulled as symlinks
Metadata
Current evaluation
Merged PR #1081 (commit baeec1045) fixed local source handling to preserve directory symlinks instead of replacing them with directories.
Resolution: closed resolved
Reason: Maintainer ~kyrofa linked the resolution to merged PR #1081, committed as baeec1045, which preserves directory symlinks in local sources.
Evaluated by: mr-cal-bot
No scores available.
Issue body
A local source containing a symlink to a directory, once pulled, gets that symlink turned into a directory. The local source should preserve symlinks.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1081 (commit baeec1045) fixed local source handling to preserve directory symlinks instead of replacing them with directories. | |
| stealth/space-bunny-alpha | — | closed resolved | Directory symlinks in local sources are now preserved instead of converted to directories, fixed by merged PR snapcore/snapcraft#1081 (commit baeec1045). | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR canonical/snapcraft#1081 (commit baeec1045), preserving directory symlinks when pulling local sources instead of replacing them with directories. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Local sources incorrectly converted directory symlinks into actual directories during pull operations. No fix was implemented or merged, indicating the report was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. Local sources fail to preserve directory symlinks during pull operations. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#1081
(confidence 100%)
Merged fix explicitly preserves symlinks to directories and fixes LP #1659653.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1081 local source: preserve symlinks to directories. | snapcraft | merged | Merged PR #1081 as baeec1045, preserving directory symlinks in local sources instead of replacing them with directories; fixes LP #1659653. | |
| #377 Correct local source pulling | snapcraft | merged | Merged PR #377 corrected symlink-aware local source checks, preventing cleanup failures and allowing local sources to be pulled twice without an "is a symlink" error. | |
| #83 Don't follow symlinks when provisioning the build | snapcraft | merged | Merged PR #83 (branch local_source_copy_fix) via merge commit 7071da3ea, change commit 503e9b2b7, stopping source copy from following symlinks during build provisioning and fixing the local-source build failure. | |
| #1558446 Pulling local sources is rather broken | snapcraft (launchpad) | closed | Local source pull bug fixed by ubuntu-core/snapcraft PR #377 (commit eb6ad38ab "Correct local source pulling", merged as 8b4a18d9b), which inverts the isdir/rmdir checks so symlinked local sources are removed rather than raising. |