-
Notifications
You must be signed in to change notification settings - Fork 414
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
jbuild-ignore not respected when there's a nested symlink #228
Comments
Hmm, so the The reason jbuilder looks inside ignored folders is that it is sometimes the case that one ignores a folder but still depends on files inside it, so jbuilder must still setup copy rules for all files inside ignored folders. This is used for instance to sandbox an external build system, and this is used in jbuilder itself for blackbox testing. We should probably not follow symlinks when scanning the build system, it just seems simpler. |
I'm running into a related issue: In my case the
I'd say ignoring a folder should imply not looking into it. In my case I the workaround is to simply build in the source directory. |
Some people rely on symlinking to replace pinning as part of their workflow. Seems like this would break things for them. |
I was beaten by this, because for some tests, I had a huge remote (over ADSL link) shared folder mounted as a jbuild-ignored sub-directory. I would find ridiculous/overkill to add a jbuild-really-ignore file. The fact that |
Now that we setup rules lazily, we can scan the file system lazily as well. This way jbuilder will only look inside ignored directories if it needs to. |
Directory structure
in this case, jbuilder clearly does a ton of traversing, because it takes 15s to complete
If instead of a symlink,
bs-plaftorm
is copied into thenode_modules
directory, then there's no problem.It's weird to me that jbuilder would be looking inside of an ignored folder, and behavior would differ based on the contents
The text was updated successfully, but these errors were encountered: