Skip to content

test: symlinks in sources - #13393

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-rlmnnrtsxnkk
Mar 16, 2026
Merged

Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-rlmnnrtsxnkk

Conversation

@Alizter

@Alizter Alizter commented Jan 20, 2026 •

Copy link
Copy Markdown
Collaborator

Some package sources such as Fstar and findlib include directory symlinks. This test reproduces some of the issues that occur in that and similar cases to aid our resolution of the issue in the near future.

Some package sources such as Fstar include directory symlinks. This test
reproduces some of the issues that occur in that and similar cases to
aid our resolution of the issue in the near future.

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter
Alizter merged commit 6b612e8 into ocaml:main Mar 16, 2026
@Alizter
Alizter deleted the push-rlmnnrtsxnkk branch March 16, 2026 10:31
Alizter added a commit that referenced this pull request May 6, 2026
### Housekeeping
This PR fixes the tests in #13393
#9873 will not be fixed, but still a significant step towards fixing
#13678.

### What this PR does

After fetching package sources, add a pass resolving directory symlinks.
As they're not problematic at this stage, file symlinks are left as is.
Broken symlinks are removed silently to preserve existing behaviour.

Note: both `portable_hardlink` and `portable_symlink` work backwards
from what I initially understood, see #13791

Done with the help of @Alizter, so thanks :)
@Alizter Alizter added this to the 3.23.0 milestone Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants