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

Resolve Symbolic Links in Groovy Folder in Debug Mode #210

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

IntegerLimit
Copy link
Contributor

This PR properly resolves Symbolic Links when searching through the groovy folder to find scripts. This means that sub folders and individual files of the groovy folder can now be symlinked (postInit folder or folders inside postInit, etc.), rather than having the whole groovy folder required to be symlinked beforehand.

This results in potential improvements for developers.

This might introduce cases where recursive symlinks cause an infinite walk, which could be controlled with a limit on directory search, but given the rarity of such a case, and potential issues directory search limits could introduce, this has not been directly added in this PR.

@IntegerLimit IntegerLimit changed the title Resolve Symbolic Links when Finding Scripts Resolve Symbolic Links in Groovy Folder in Debug Mode Aug 14, 2024
@IntegerLimit
Copy link
Contributor Author

Change: Only followed in Debug Mode.

@brachy84 brachy84 merged commit 5f87d4b into CleanroomMC:master Aug 16, 2024
@brachy84 brachy84 added enhancement New feature or request sandbox For internal changes to the sandbox labels Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sandbox For internal changes to the sandbox
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants