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
Ignore _build
#4230
Ignore _build
#4230
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clearly the part for recursive-pin is what we want... not completely sure about the rest.
Especially in the case of assume_built
, we'd want to keep the artefacts no ?
not (OpamStd.String.starts_with ~prefix:"." basename) | ||
not (base_dir = OpamFilename.Base.of_string OpamSwitch.external_dirname || | ||
base_dir = OpamFilename.Base.of_string "_build" || | ||
OpamStd.String.starts_with ~prefix:"." basename) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might consider anything starting with _
at this point... what do you think ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, it will be better to have a list of exclusion folders/patterns, checked. I planned to keep that for rec pin rewriting.
and in the case of "file pin", it would be much cleaner, but we should make sure it corresponds to what the users of file-pin expect (it'll probably increase build times, and dune should be capable of handling any discrepancies) |
We don't need the build artefacts in opam source, |
On syncing (
assume-built
) and for opam file lookup (recursive
)fix #4195