Skip to content

[FR] .bazelignore should support wildcard prefix #7093

@or-shachar

Description

@or-shachar

Description of the feature request:

Currently .bazelignore supports only full relative path prefix without any wildcards

I have many node_modules subfolders in my repo that I want to ignore.
With .gitignore I'd just need to put: node_modules and it will be ignored by git.
With .bazelignore I need to specify each folder by it's full relative path from workspace root.

I suggest to adjust behavior to the way .gitignore and save our users the trouble of collecting all folders.

What operating system are you running Bazel on?

We tested it on linux with bazel 0.20.0 and 0.21.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.type: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions