bazel-contrib / target-determinator

Determines which Bazel targets were affected between two git commits.
Apache License 2.0
144 stars 22 forks source link

Canonicalise labels #53

Closed illicitonion closed 1 year ago

illicitonion commented 1 year ago

Bazel 6 changed how starlark stringifies labels, which means that parsing the output of --starlark:expr cqueries doesn't compare equally with parsing the output of regular cqueries.

This papers over the differences.

This isn't actually used in the current codebase, but will be used in #47

Works around https://github.com/bazelbuild/bazel/issues/17864