garage/src
Quentin Dufour cd5fa90c68
All checks were successful
continuous-integration/drone/push Build is passing
Configure structopt to report the right version
By default, structopt reports the value provided by
the env var CARGO_PKG_VERSION, feeded by Cargo when reading
Cargo.toml. However for Garage we use a versioning based on git,
so we often report a version that is behind the real version.
In this commit, we create garage_util::version::garage() that
reports the right version and configure all structopt subcommands
to call this function instead of using the env var.
2022-08-29 17:54:03 +02:00
..
api Fix Content-Type headers for {admin,k2v} errors and admin responses 2022-05-25 17:09:33 +02:00
block First implementation of K2V (#293) 2022-05-10 13:16:57 +02:00
garage Configure structopt to report the right version 2022-08-29 17:54:03 +02:00
k2v-client K2V client improvements (#307) 2022-05-24 12:48:05 +02:00
model First version of admin API (#298) 2022-05-24 12:16:39 +02:00
rpc Configure structopt to report the right version 2022-08-29 17:54:03 +02:00
table First implementation of K2V (#293) 2022-05-10 13:16:57 +02:00
util Configure structopt to report the right version 2022-08-29 17:54:03 +02:00
web First version of admin API (#298) 2022-05-24 12:16:39 +02:00