Proto commits in livegrep/livegrep

These 21 commits are when the Protocol Buffers files have changed:

Commit:033fa0e
Author:Wolfgang Frisch
Committer:GitHub

Add ignore_symlinks option (default off) (#382)

The documentation is generated from this commit.

Commit:ffafce8
Author:Clint Harrison
Committer:GitHub

Support queries with multiple path: terms (#380) * Upgrade abseil for Clang 15 (macOS Sonoma) compatibility macOS Sonoma brought along a new Xcode version, which broke some things. We need to pick up https://github.com/abseil/abseil-cpp/issues/1201 * Move to hedron_compile_commands, add vscode/gopls settings * Update proto to support multiple path/-paths * Support multiple paths in backend * Parse multiple file: ops in the web server * Add C++ version to .bazelrc.ci

Commit:74f2499
Author:Rodrigo Silva Mendoza
Committer:GitHub

allow github-live-reindex to generate config file for file viewer (#310) The switch in 8c639ff5f1b7e3916ed1c480eeab6bc50c4f8c73 to use the protobuf config files made it so that the config file written by github-live-reindex stored repoitories under `repos` instead of `repositories` as google/protobuf does not support custom json tags in structs. Did the easy thing and normalized every instance of IndexConfig/IndexSpec to use `repositories`, instead of `repos` in some places and `repositories` in others. also add file view/repository browser section to readme and add graceful failure handling if url_pattern is not present for repos in config file

Commit:73213f2
Author:Nelson Elhage

livegrep-github-reindex: chain to livegrep-fetch-reindex This lets us drop to a single copy of the cloning code. In order to make this work, we add a new clone_options field to the config proto in order to side-channel the information we need.

Commit:ba39a0d
Author:Kevin Lin

total_time field, populated during search RPC

Commit:1f1f48b
Author:Kevin Lin

Add repeated string labels field

Commit:0d2ac2c
Author:Kevin Lin
Committer:Kevin Lin

index_name and index_time in search results

Commit:0601274
Author:Kevin Lin
Committer:Kevin Lin

context_lines in search request

Commit:f7ad298
Author:Kartikaya Gupta
Committer:Kartikaya Gupta

Add a flag to include submodules when walking the tree. The flag, when set to true, will treat submodules as though they are just regular files inside the parent repo. The submodule is indexed at the revision that the parent repo points to. Fixes livegrep/livegrep#216

Commit:056b339
Author:Nelson Elhage

Use protobuf for parsing configuration Instead of json-c and a bunch of custom code. This removes a dependency and lets us point to a .proto file as the definition of the configuration for docs

Commit:52be098
Author:Nelson Elhage

implement filename-only search in backend

Commit:8861dfa
Author:Josiah Boning
Committer:Josiah Boning

Extend search RPC to also match filenames

Commit:1cf9f5c
Author:Josiah Boning
Committer:Josiah Boning

Add rudimentary stats reporting - Create a /debug/stats route - Include index creation time in Info RPC result - Report index age as a stat

Commit:ca728c7
Author:Josiah Boning
Committer:Josiah Boning

Add Reload RPC to reinitialize codesearch backend This shuts down the grpc server and starts everything up again. Intended to be called after a new index has been created on disk, to begin serving from it. To avoid leaking memory on every reload, this change also releases allocated memory where necessary. `valgrind --tool=memcheck --leak-check=full` reported no leaks or errors during some cursory searches and reloads.

Commit:a0ff852
Author:Ted Wang

Add a new "max_matches" field in queries This is a soft-limit that can be set in the front end. The backend still respects the hard-limit set by the user on the command line.

Commit:ddd4696
Author:Nelson Elhage
Committer:Nelson Elhage

Bump protobuf+go deps

Commit:fe77e9a
Author:Nelson Elhage

Bump protobuf+go deps

Commit:0cdf8e6
Author:Nelson Elhage

Initial tag support

Commit:21d881f
Author:Nelson Elhage
Committer:Nelson Elhage

[wip] proto server

Commit:0672411
Author:Nelson Elhage

initial proto compilation

Commit:21d71de
Author:Nelson Elhage
Committer:Nelson Elhage

Add honeycomb