Tags: kythe/kythe
Tags
[fix] Correct source_file inclusion in rust extractor (#6177) Previously, source file entries were polluted in the cache that speeds up directory traversal. Instead of putting only a single directory's source files in the cache, we were entering the source files for (potentially) the entire crate. Fix: only store source files for the current directory, not the whole crate. Test: proved that Fuchsia's corpus has no more errors like "source_file does not have a required_input entry"
indexer/proto: correctly visit oneof (#6161) See https://github.com/protocolbuffers/protobuf/blob/main/docs/implementing_proto3_presence.md#to-iterate-over-all-oneofs for more info. This helps silencing some error within simple proto3 files ``` syntax = "proto3"; package moo; message Bar { ... map<int32, int32> foo = 12; } ``` which would yield ``` file_descriptor_walker.cc:262] Unexpected location vector [] while walking moo.proto ``` before this change. Co-authored-by: Varun Mahajan <varun.mah@gmail.com>
fix(bazel): remove cyclic dependency by removing usage of assign_exte… …rnal_projects_to_separate_corpora config_setting flag (#6146) Usage of assign_external_projects_to_separate_corpora along with select statement is causing a cyclic dependency for Bazel 8. Also not usage of flag assign_external_projects_to_separate_corpora was found hence deprecating the flag. The flag was initially introduced for backward compatibility in https://source.corp.google.com/h/github/kythe/kythe/+/3966e3f7aa790a61645e6babf511f7ae21b78011. Tested by executing bazelisk --bazelrc=$KYTHE_RELEASE_DIR/extractors.bazelrc build //src:bazel which succeeded.
Set safe.directory='*' on `git` call (#6015) This avoids the error: ``` fatal: detected dubious ownership in repository at '/tmp/workspace/gopath/src/golang.org/x/tools' To add an exception for this directory, call: git config --global --add safe.directory /tmp/workspace/gopath/src/golang.org/x/tools ```
PreviousNext