Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix traversal of dirs containing troublesome softlinks #1718

Merged
merged 5 commits into from
Aug 7, 2024

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Jul 12, 2024

This is bugfix/refactor with no behavior changes. Several operations that look for files in subdirectories would bomb in the presence of recursive/broken links.

A new crate (den) with consistent behavior for softlinks across Unixes/Windows should simplify Alire's own code moving forward. We were previously assuming that Windows doesn't support softlinks (and both GNAT.OS_Lib and GNATCOLL still do), but this is not true for recent Windows versions with developer mode enabled (which is the case of GitHub runners).

@mosteo mosteo force-pushed the fix/traversal branch 13 times, most recently from ff5b674 to 577a9db Compare July 16, 2024 15:27
@mosteo mosteo force-pushed the fix/traversal branch 10 times, most recently from 850e4c4 to 479fc19 Compare July 23, 2024 15:38
commit 7d8b2cc
Author: Alejandro R. Mosteo <[email protected]>
Date:   Fri Aug 2 09:53:22 2024 +0200

    Debug trouble with relative path finder

commit 0951457
Author: Alejandro R. Mosteo <[email protected]>
Date:   Thu Aug 1 22:32:48 2024 +0200

    Use simpler relative path from Den

commit 76417fa
Author: Alejandro R. Mosteo <[email protected]>
Date:   Thu Aug 1 22:32:09 2024 +0200

    Revert "Try with gprbuild<24"

    This reverts commit b6ca84e.

commit f6e0a96
Author: Alejandro R. Mosteo <[email protected]>
Date:   Thu Aug 1 00:04:00 2024 +0200

    Repair find relative part output

commit 6ad595f
Author: Alejandro R. Mosteo <[email protected]>
Date:   Wed Jul 31 23:28:48 2024 +0200

    Flush testsuite output at start

commit a52e555
Author: Alejandro R. Mosteo <[email protected]>
Date:   Wed Jul 31 18:18:44 2024 +0200

    Fix damaged test

commit b6ca84e
Author: Alejandro R. Mosteo <[email protected]>
Date:   Wed Jul 31 14:16:11 2024 +0200

    Try with gprbuild<24

commit 5000210
Author: Alejandro R. Mosteo <[email protected]>
Date:   Wed Jul 31 14:04:07 2024 +0200

    Show GNAT/GPRBUILD versions prior to testsuite run
@mosteo mosteo marked this pull request as ready for review August 5, 2024 10:01
@mosteo mosteo requested a review from Fabien-Chouteau August 5, 2024 10:01
@mosteo mosteo merged commit 6668490 into alire-project:master Aug 7, 2024
25 checks passed
@mosteo mosteo deleted the fix/traversal branch August 7, 2024 15:01
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