Skip to content

Copies as alternative to Symlinks #350

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

sningo
Copy link

@sningo sningo commented Feb 28, 2025

Symlinking is a great option, especially on Linux. However, on Windows, creating symlinks often requires administrative privileges. To address this, this PR introduces a copies option as an alternative. While less performant, it provides a reliable solution. Some users may even prefer this approach, as copied dependencies can be versioned, making it easier to review PRs that include library changes.

@jacebrowning
Copy link
Owner

jacebrowning commented Mar 1, 2025

Thanks for the suggestion! Would you consider making this a fallback for links if permissions are denied? I'm not sure I want to add another parameter for this right now.

@sningo
Copy link
Author

sningo commented Mar 1, 2025

Thank you for checking. Actually not as an automatic fallback or so, but as another option. In our Team we've been using copies for a while. Apart from the windows reason, there was also the requirement to have all the certification critical code in one repo. Thanks to the copies we could still have the generic code in an external repo, making it easier to be used in others.

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