bazel
bazel copied to clipboard
Bazel's git_repository and new_git_repository is not compatible with the latest Git version
The git version on Bazel CI's Windows VMs has just been upgraded, and some integration tests for git_repository/new_git_repository is failing: https://storage.googleapis.com/bazel-untrusted-buildkite-artifacts/01851af9-6e76-4a64-9f5f-4abd2a74d22d/src%5Ctest%5Cshell%5Cbazel%5Cgit_repository_test%5Ctest_attempts%5Cattempt_1.log
Error in fail: error running 'git submodule update --init --checkout --force' while working with @outer_planets:
Submodule 'pluto' (C:/b/2uczrvoj/execroot/io_bazel/_tmp/ed1461f2c2fd61eb714263949496bed9/repos/pluto) registered for path 'pluto'
Cloning into 'C:/b/2uczrvoj/execroot/io_bazel/_tmp/ed1461f2c2fd61eb714263949496bed9/root/zqbtua63/external/outer_planets/pluto'...
fatal: transport 'file' not allowed
Root cause is this Git update: https://lore.kernel.org/lkml/[email protected]/, but we need to somehow fix those integration tests and git_repository/new_git_repository rules.