Proto commits in Debian/dcs

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

Commit:4c01efa
Author:Michael Stapelberg

parse regexp as literal via the API instead of the \Q ... \E syntax The syntax doesn’t work when the search query contains \E, for example the search query \ENDPROC, because the implementation looks for the first \E it finds: https://cs.opensource.google/go/go/+/refs/tags/go1.19.3:src/regexp/syntax/parse.go;l=1037;drc=645abfe529dc325e16daa17210640c2907d1c17a fixes https://github.com/Debian/dcs/issues/118

The documentation is generated from this commit.

Commit:326b2a4
Author:Michael Stapelberg

gRPC: implement Results method

Commit:5017aa4
Author:Michael Stapelberg
Committer:Michael Stapelberg

OpenAPI (/api), gRPC API and key management (/apikeys) related to https://github.com/Debian/dcs/issues/89

Commit:685d9b5
Author:Michael Stapelberg
Committer:Michael Stapelberg

literal: rewrite only query term, not keyword (server-side) fixes #98

Commit:ff904a3
Author:Michael Stapelberg
Committer:Michael Stapelberg

get rid of dcs-index-backend (merged into dcs-source-backend)

Commit:cb485de
Author:Michael Stapelberg
Committer:Michael Stapelberg

remove vendor for the time being Let’s revisit dependencies when vgo is experimentally available in Go 1.11.

Commit:4b7312a
Author:Michael Stapelberg
Committer:Michael Stapelberg

port dcs-feeder to gRPC

Commit:394cdee
Author:Michael Stapelberg
Committer:Michael Stapelberg

localdcs: refactor, convert package-importer and dcs-web to gRPC dcs-localdcs now brings up the stack on free ports (listening on localhost:0) by default. Instead of polling HTTP for healthiness, we now use gRPC’s WithBlock() option to achieve the same effect. Also generate a certificate which is valid for localhost’s IP addresses, as dcs-web will now listen on TLS (for port-sharing with gRPC; deployment options with nginx haven’t been evaluated so far).

Commit:929096f
Author:Michael Stapelberg
Committer:Michael Stapelberg

split proto directory into sourcebackendpb and indexbackendpb This is required for introducing packageimporterpb.

Commit:06ae2a9
Author:Michael Stapelberg
Committer:Michael Stapelberg

add basic end-to-end test The test compares the total number of search results for the query “i3Font”, which is only a very basic validation, but better than nothing.

Commit:6ad6b77
Author:Michael Stapelberg

Turn Files into a streaming RPC, reduce maximum message size limit For queries which have many files with potential results (e.g. “main”, matching any file containing the two trigrams “mai” and “ain”), the Files message would grow to hundreds of megabytes in size.

Commit:7ddd97b
Author:Michael Stapelberg

Update vendor/ for the last commit

Commit:2d0b72d
Author:Michael Stapelberg
Committer:Michael Stapelberg

Switch from godep to github.com/golang/dep Update vendored deps while at it.

Commit:ba17047
Author:Michael Stapelberg

Migrate the source backend to gRPC as well. fixes #8

Commit:f0533a6
Author:Michael Stapelberg
Committer:Michael Stapelberg

Move index-backend to gRPC see #8