Skip to content

Commit

Permalink
Make versioning work and tag 1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
htejun committed Oct 13, 2020
1 parent 71729c0 commit b87c409
Show file tree
Hide file tree
Showing 11 changed files with 579 additions and 578 deletions.
1,128 changes: 563 additions & 565 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion rd-agent-intf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates
[package]
name = "rd-agent-intf"
version = "0.1.0"
version = "1.0.0"
authors = ["Tejun Heo <[email protected]>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions rd-agent-intf/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ impl JsonSave for Args {}
impl JsonArgs for Args {
fn match_cmdline() -> clap::ArgMatches<'static> {
clap::App::new("rd-agent")
.version("0.1")
.author("Tejun Heo <[email protected]>")
.version(env!("CARGO_PKG_VERSION"))
.author(env!("CARGO_PKG_AUTHORS"))
.about(HELP_BODY)
.args_from_usage(&ARGS_STR)
.setting(clap::AppSettings::UnifiedHelpMessage)
Expand Down
2 changes: 1 addition & 1 deletion rd-agent/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates
[package]
name = "rd-agent"
version = "0.1.0"
version = "1.0.0"
authors = ["Tejun Heo <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion rd-hashd-intf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates
[package]
name = "rd-hashd-intf"
version = "0.1.0"
version = "1.0.0"
authors = ["Tejun Heo <[email protected]>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions rd-hashd-intf/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ impl JsonSave for Args {
impl JsonArgs for Args {
fn match_cmdline() -> ArgMatches<'static> {
App::new("rd-hashd")
.version("0.1")
.author("Tejun Heo <[email protected]>")
.version(env!("CARGO_PKG_VERSION"))
.author(env!("CARGO_PKG_AUTHORS"))
.about(HELP_BODY)
.args_from_usage(&ARGS_STR)
.setting(AppSettings::UnifiedHelpMessage)
Expand Down
2 changes: 1 addition & 1 deletion rd-hashd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates
[package]
name = "rd-hashd"
version = "0.1.0"
version = "1.0.0"
authors = ["Tejun Heo <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion resctl-demo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates
[package]
name = "resctl-demo"
version = "0.1.0"
version = "1.0.0"
authors = ["Tejun Heo <[email protected]>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions resctl-demo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ fn touch_units() {

fn main() {
let matches = clap::App::new("resctl-demo")
.version("0.1")
.author("Tejun Heo <[email protected]>")
.version(env!("CARGO_PKG_VERSION"))
.author(env!("CARGO_PKG_AUTHORS"))
.about("Facebook Resource Control Demo")
.args_from_usage(&ARGS_STR)
.setting(clap::AppSettings::UnifiedHelpMessage)
Expand Down
5 changes: 4 additions & 1 deletion resctl-demo/src/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,10 @@ pub fn status_layout_factory() -> impl View {
.child(TextView::new("").with_name("status-workload-A"))
.child(TextView::new("").with_name("status-workload-B")),
)
.title("Facebook Resource Control Demo - 'q': quit")
.title(format!(
"Facebook Resource Control Demo v{} - 'q': quit",
env!("CARGO_PKG_VERSION")
))
.resized(
SizeConstraint::Fixed(layout.status.x),
SizeConstraint::Fixed(layout.status.y),
Expand Down
2 changes: 1 addition & 1 deletion util/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "util"
version = "0.1.0"
version = "1.0.0"
authors = ["Tejun Heo <[email protected]>"]
edition = "2018"

Expand Down

0 comments on commit b87c409

Please sign in to comment.