You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support ignoring of files and directories for external repository workspaces #9080
P2We'll consider working on this in future. (Assignee optional)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.type: feature request
Context: this idea was born during the discussion of Always-dirty repository rules proposal for solving the problems of work with managed directories in rules_nodejs.
(The proposal itself was declined)
Problem: inside the directories, symlinked by the custom repository rules, there are some BUILD files, which need to be ignored.
Repository rule will provide the alternative BUILD files description for targets inside the corresponding directories.
One of the approaches might be using .bazelignore file inside the external repository.
We need to create the design and implement it.
Sorry for the late rely.
I did some investigation on this before I went to vacation. It doesn't seem to be a trivial change, we need some time to work out a proper solution.
BTW, Bazel 1.0 is already cut, so this won't make it into 1.0.
P2We'll consider working on this in future. (Assignee optional)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.type: feature request
Activity
irengrig commentedon Aug 5, 2019
/cc @laurentlb @meteorcloudy @alexeagle @gregmagolan
meteorcloudy commentedon Aug 14, 2019
FYI, @irengrig I'm now working on this ;)
irengrig commentedon Aug 14, 2019
Great!
excavador commentedon Sep 9, 2019
Any updates?
irengrig commentedon Sep 9, 2019
Hi @excavador, @meteorcloudy, who is working on this, is on vacation until 27th of September.
I wonder if you also need to ignore files in external repositories for some other use case then for rules_nodejs?
meteorcloudy commentedon Sep 30, 2019
Sorry for the late rely.
I did some investigation on this before I went to vacation. It doesn't seem to be a trivial change, we need some time to work out a proper solution.
BTW, Bazel 1.0 is already cut, so this won't make it into 1.0.
meteorcloudy commentedon Nov 14, 2019
I found a bug in Bazel while doing the investigation, it will be fixed while we adding
.bazelignoresupport for external repos.Support .bazelignore file for external repo