-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(version): unified version display
'version-info' module is used to display version uniformely for all binaries. Resolves: ER1-239
- Loading branch information
1 parent
b37f898
commit af597b2
Showing
16 changed files
with
45 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ members = [ | |
"sysfs", | ||
"composer", | ||
"spdk-rs", | ||
"utils/mayastor-dependencies/version-info", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
authors = ["Jeffry Molanus <[email protected]>"] | ||
edition = "2018" | ||
name = "mayastor" | ||
description = "Mayastor" | ||
version = "1.0.0" | ||
default-run = "mayastor-client" | ||
build = "build.rs" | ||
|
@@ -51,7 +52,6 @@ crossbeam-sync = "0.0.0" | |
env_logger = "0.9.0" | ||
function_name = "0.2.0" | ||
futures = "0.3.16" | ||
git-version = "0.3.5" | ||
http = "0.2.4" | ||
io-uring = "0.5.1" | ||
ioctl-gen = "0.1.1" | ||
|
@@ -88,6 +88,7 @@ dns-lookup = "1.0.8" | |
mbus_api = { path = "../mbus-api" } | ||
etcd-client = "0.7.1" | ||
parking_lot = "0.11.1" | ||
version-info = { path = "../utils/mayastor-dependencies/version-info" } | ||
|
||
|
||
[dependencies.rpc] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,11 @@ extern crate clap; | |
use clap::App; | ||
|
||
use mayastor::bdev::util::uring; | ||
use version_info::version_info_str; | ||
|
||
fn main() { | ||
let _matches = App::new("io_uring support") | ||
.version("0.1.0") | ||
let _matches = App::new("Detect io_uring support") | ||
.version(version_info_str!()) | ||
.author("Jonathan Teh <[email protected]>") | ||
.about("Determines io_uring support") | ||
.get_matches(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ let | |
"rpc" | ||
"spdk-rs" | ||
"sysfs" | ||
"utils" | ||
]; | ||
buildProps = rec { | ||
name = "mayastor"; | ||
|
Submodule mayastor-dependencies
added at
bced30