Tinder / bazel-diff

Performs Bazel Target Diffing between two revisions in Git, allowing for Test Target Selection and Selective Building
Other
397 stars 59 forks source link

Filter targets #135

Closed bazaglia closed 2 years ago

bazaglia commented 2 years ago

I see the avoid_query functionality (#26, #28) that allows targets to not be included in the set of targets generated by bazel-diff doesn't exist in the latest release.

I have a use case that I believe to be very usual: I'm specifying the targets that bazel-diff generates to bazel test and I don't want Docker-related targets to be built since it's gonna take way too much time.

tinder-maxwellelliott commented 2 years ago

Hello @bazaglia,

Can't you take the resulting targets and then perform another query to figure out the final desired set? This is exactly what we do internally