Skip to content
Snippets Groups Projects
Commit bd9e9d77 authored by Georges Racinet's avatar Georges Racinet
Browse files

RHGitaly: proper version information

It was nice to use the purely stateless `ServerInfo` gRPC method
(at least with the info that HGitaly provides) as a first example
of an implementation using Tonic. Now it's time to provide the
actual information, consistent with the Python implementation.

We're using the `build_const` crate to inject the value at build time.
This is actually importing from the `constants.rs` file in the
relevant  build `out/` directory.

Also the `..Default::default()` syntax (taught us by clippy) allows
to avoid starting from the defaults to mutate a few fields.
parent 9be2e5b3
No related branches found
No related tags found
3 merge requests!151heptapod#743: making 0.36 the new stable,!144RHGitaly: implement CommitService.ListCommitsByOid,!140Bootstrapping RHGitaly
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment