Skip to content

Fix handling of symlinks in repo#315

Merged
Flamefire merged 5 commits intomasterfrom
fix-symlink-usage
Feb 6, 2026
Merged

Fix handling of symlinks in repo#315
Flamefire merged 5 commits intomasterfrom
fix-symlink-usage

Conversation

@Flamefire
Copy link
Collaborator

Test that handling symlinks on CI works.

Then fix the scripts as necessary.

Fixes #314

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (040b2ba) to head (fb5bec1).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #315   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           23        23           
  Branches        10        10           
=========================================
  Hits            23        23           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 040b2ba...fb5bec1. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Flamefire Flamefire marked this pull request as ready for review February 5, 2026 08:24
@Flamefire Flamefire marked this pull request as draft February 5, 2026 12:54
@Flamefire Flamefire force-pushed the fix-symlink-usage branch 5 times, most recently from df902b0 to a62d6b3 Compare February 5, 2026 15:22
Test that handling symlinks on CI works.
See #314
Copying a relative symlink may fail if it is copied before its target,
e.g. `src/symlink.test -> test/test2.hpp` (`src` is ordered before `test`):
>  cannot create symbolic link 'libs/boost-ci/src/symlink.test': No such file or directory

Cygwin allows relaxing the security checks against the link target, see
https://df.tips/t/topic/2628
@Flamefire Flamefire marked this pull request as ready for review February 6, 2026 11:34
"Redirecting" the copy through tar avoids creating symlinks to (yet) non-existing files.

Fixes #314
@Flamefire Flamefire merged commit 5973a71 into master Feb 6, 2026
118 of 120 checks passed
@Flamefire Flamefire deleted the fix-symlink-usage branch February 6, 2026 13:24
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.

Symlink breaks windows cmake, and MINGW builds

1 participant