From f79900709d250edd322adfddeca09a4499a4a9b8 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 09:22:47 +0200 Subject: [PATCH 01/20] former-v0.16.0 --- Cargo.toml | 2 +- module/core/former/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9bae29e730..fafe1df33a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -200,7 +200,7 @@ path = "module/core/for_each" default-features = false [workspace.dependencies.former] -version = "~0.15.0" +version = "~0.16.0" path = "module/core/former" default-features = false diff --git a/module/core/former/Cargo.toml b/module/core/former/Cargo.toml index 648cb1bb3b..cf6e7e15f5 100644 --- a/module/core/former/Cargo.toml +++ b/module/core/former/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "former" -version = "0.15.0" +version = "0.16.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From fcf7a13c87ccec8ab76b4a39c020327e9e92799d Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:09:47 +0200 Subject: [PATCH 02/20] style --- module/core/for_each/tests/inc/for_each_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/core/for_each/tests/inc/for_each_test.rs b/module/core/for_each/tests/inc/for_each_test.rs index f9acf2f003..6180d743a9 100644 --- a/module/core/for_each/tests/inc/for_each_test.rs +++ b/module/core/for_each/tests/inc/for_each_test.rs @@ -590,7 +590,7 @@ tests_impls! macro_rules! test_with { ( - $( $Arg : tt )* + $( $Arg:tt )* ) => {{ GOT += stringify!( $( $Arg )* ); From 98bb33d1cef3bde91fb99bb7a8cb0b23c06cd2de Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:34:14 +0200 Subject: [PATCH 03/20] publishing --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index fafe1df33a..9bae29e730 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -200,7 +200,7 @@ path = "module/core/for_each" default-features = false [workspace.dependencies.former] -version = "~0.16.0" +version = "~0.15.0" path = "module/core/former" default-features = false From e45863dd43ebb4578583c206aae08ad17a3f83d3 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:36:06 +0200 Subject: [PATCH 04/20] publish --- module/core/former/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/core/former/Cargo.toml b/module/core/former/Cargo.toml index cf6e7e15f5..648cb1bb3b 100644 --- a/module/core/former/Cargo.toml +++ b/module/core/former/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "former" -version = "0.16.0" +version = "0.15.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From 45645638f2f5c2929a6ebcf9bef724856cca3fa5 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:39:58 +0200 Subject: [PATCH 05/20] derive_tools_meta-v0.17.0 --- Cargo.toml | 2 +- module/core/derive_tools_meta/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9bae29e730..950c6d8591 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -118,7 +118,7 @@ default-features = false features = [ "enabled" ] [workspace.dependencies.derive_tools_meta] -version = "~0.16.0" +version = "~0.17.0" path = "module/core/derive_tools_meta" default-features = false features = [ "enabled" ] diff --git a/module/core/derive_tools_meta/Cargo.toml b/module/core/derive_tools_meta/Cargo.toml index 721c656948..7a3048a953 100644 --- a/module/core/derive_tools_meta/Cargo.toml +++ b/module/core/derive_tools_meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "derive_tools_meta" -version = "0.16.0" +version = "0.17.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From fec9b0ff389e30717dfc2a1f4f0a0fc872ef92c4 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:40:07 +0200 Subject: [PATCH 06/20] clone_dyn_meta-v0.15.0 --- Cargo.toml | 2 +- module/core/clone_dyn_meta/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 950c6d8591..4633c88dde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -158,7 +158,7 @@ default-features = false features = [ "enabled" ] [workspace.dependencies.clone_dyn_meta] -version = "~0.14.0" +version = "~0.15.0" path = "module/core/clone_dyn_meta" features = [ "enabled" ] diff --git a/module/core/clone_dyn_meta/Cargo.toml b/module/core/clone_dyn_meta/Cargo.toml index f252f7b6ea..07177a0234 100644 --- a/module/core/clone_dyn_meta/Cargo.toml +++ b/module/core/clone_dyn_meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clone_dyn_meta" -version = "0.14.0" +version = "0.15.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From 532b663688bc4ac8a411b0a08b950206e17dbc7f Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:40:21 +0200 Subject: [PATCH 07/20] clone_dyn-v0.15.0 --- Cargo.toml | 2 +- module/core/clone_dyn/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4633c88dde..5099a9053a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -152,7 +152,7 @@ default-features = false features = [ "enabled" ] [workspace.dependencies.clone_dyn] -version = "~0.14.0" +version = "~0.15.0" path = "module/core/clone_dyn" default-features = false features = [ "enabled" ] diff --git a/module/core/clone_dyn/Cargo.toml b/module/core/clone_dyn/Cargo.toml index 3775af0101..dedc84a1d5 100644 --- a/module/core/clone_dyn/Cargo.toml +++ b/module/core/clone_dyn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clone_dyn" -version = "0.14.0" +version = "0.15.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From 2f629d961a7af605f4819ada462da127a0de822d Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:40:35 +0200 Subject: [PATCH 08/20] variadic_from-v0.13.0 --- Cargo.toml | 2 +- module/core/variadic_from/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5099a9053a..985e9e884f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -146,7 +146,7 @@ path = "module/alias/fundamental_data_type" default-features = false [workspace.dependencies.variadic_from] -version = "~0.12.0" +version = "~0.13.0" path = "module/core/variadic_from" default-features = false features = [ "enabled" ] diff --git a/module/core/variadic_from/Cargo.toml b/module/core/variadic_from/Cargo.toml index e2c90a8fbe..3d1514bced 100644 --- a/module/core/variadic_from/Cargo.toml +++ b/module/core/variadic_from/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "variadic_from" -version = "0.12.0" +version = "0.13.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From 4263fc0b365df100f232a38aa9c43f63f0391430 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:40:53 +0200 Subject: [PATCH 09/20] derive_tools-v0.20.0 --- Cargo.toml | 2 +- module/core/derive_tools/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 985e9e884f..6a37fcc71a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -112,7 +112,7 @@ default-features = false ## derive [workspace.dependencies.derive_tools] -version = "~0.19.0" +version = "~0.20.0" path = "module/core/derive_tools" default-features = false features = [ "enabled" ] diff --git a/module/core/derive_tools/Cargo.toml b/module/core/derive_tools/Cargo.toml index bf6f4db08b..cdf5b512d4 100644 --- a/module/core/derive_tools/Cargo.toml +++ b/module/core/derive_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "derive_tools" -version = "0.19.0" +version = "0.20.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From c21d6009e0e8d7503e9d51d0ffab8538104add3c Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:41:09 +0200 Subject: [PATCH 10/20] mod_interface_meta-v0.17.0 --- Cargo.toml | 2 +- module/core/mod_interface_meta/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6a37fcc71a..b6ab49d706 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -224,7 +224,7 @@ path = "module/core/mod_interface" default-features = false [workspace.dependencies.mod_interface_meta] -version = "~0.16.0" +version = "~0.17.0" path = "module/core/mod_interface_meta" default-features = false diff --git a/module/core/mod_interface_meta/Cargo.toml b/module/core/mod_interface_meta/Cargo.toml index b1475448c7..550f3b9984 100644 --- a/module/core/mod_interface_meta/Cargo.toml +++ b/module/core/mod_interface_meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mod_interface_meta" -version = "0.16.0" +version = "0.17.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From 34c286010006f7bd18ffeecc112f2f562468f139 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:41:23 +0200 Subject: [PATCH 11/20] mod_interface-v0.17.0 --- Cargo.toml | 2 +- module/core/mod_interface/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b6ab49d706..27a9a33731 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -219,7 +219,7 @@ version = "~0.6.0" path = "module/core/impls_index_meta" [workspace.dependencies.mod_interface] -version = "~0.16.0" +version = "~0.17.0" path = "module/core/mod_interface" default-features = false diff --git a/module/core/mod_interface/Cargo.toml b/module/core/mod_interface/Cargo.toml index c54a92d077..86db3f8446 100644 --- a/module/core/mod_interface/Cargo.toml +++ b/module/core/mod_interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mod_interface" -version = "0.16.0" +version = "0.17.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From 9ac8d6935563a83a993c805dd0f7e5192f93c30e Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:56:31 +0200 Subject: [PATCH 12/20] proper_path_tools-v0.4.0 --- Cargo.toml | 2 +- module/core/proper_path_tools/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 27a9a33731..64378cbff5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -337,7 +337,7 @@ path = "module/alias/file_tools" default-features = false [workspace.dependencies.proper_path_tools] -version = "~0.3.0" +version = "~0.4.0" path = "module/core/proper_path_tools" default-features = false diff --git a/module/core/proper_path_tools/Cargo.toml b/module/core/proper_path_tools/Cargo.toml index 13d9daa464..a9ae0e8b24 100644 --- a/module/core/proper_path_tools/Cargo.toml +++ b/module/core/proper_path_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proper_path_tools" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From b54e2350f96b062074489bc43b491adfc3381ea3 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:56:43 +0200 Subject: [PATCH 13/20] crates_tools-v0.8.0 --- Cargo.toml | 2 +- module/move/crates_tools/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 64378cbff5..78cc0084cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -441,7 +441,7 @@ version = "~0.4.0" path = "module/move/deterministic_rand" [workspace.dependencies.crates_tools] -version = "~0.7.0" +version = "~0.8.0" path = "module/move/crates_tools" diff --git a/module/move/crates_tools/Cargo.toml b/module/move/crates_tools/Cargo.toml index ad135063dd..d6b77678b2 100644 --- a/module/move/crates_tools/Cargo.toml +++ b/module/move/crates_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "crates_tools" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From beb522137aa1ee87c0b79a4d46f95f22250d6fae Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:56:51 +0200 Subject: [PATCH 14/20] error_tools-v0.12.0 --- Cargo.toml | 2 +- module/core/error_tools/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 78cc0084cd..a38949370d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -304,7 +304,7 @@ default-features = false ## error [workspace.dependencies.error_tools] -version = "~0.11.0" +version = "~0.12.0" path = "module/core/error_tools" default-features = false diff --git a/module/core/error_tools/Cargo.toml b/module/core/error_tools/Cargo.toml index 7fe9629d40..2ef98cce7d 100644 --- a/module/core/error_tools/Cargo.toml +++ b/module/core/error_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "error_tools" -version = "0.11.0" +version = "0.12.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From a62552cad09667e7ad6710c3ea0590a103ac74d4 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:57:02 +0200 Subject: [PATCH 15/20] former-v0.16.0 --- Cargo.toml | 2 +- module/core/former/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a38949370d..912f2cdd60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -200,7 +200,7 @@ path = "module/core/for_each" default-features = false [workspace.dependencies.former] -version = "~0.15.0" +version = "~0.16.0" path = "module/core/former" default-features = false diff --git a/module/core/former/Cargo.toml b/module/core/former/Cargo.toml index 648cb1bb3b..cf6e7e15f5 100644 --- a/module/core/former/Cargo.toml +++ b/module/core/former/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "former" -version = "0.15.0" +version = "0.16.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From dc54f6d79e3caa860ae8e03eab56a0441fb68a48 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:57:17 +0200 Subject: [PATCH 16/20] process_tools-v0.3.0 --- Cargo.toml | 2 +- module/core/process_tools/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 912f2cdd60..dd91c7d609 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -345,7 +345,7 @@ default-features = false ## process tools [workspace.dependencies.process_tools] -version = "~0.2.0" +version = "~0.3.0" path = "module/core/process_tools" default-features = false diff --git a/module/core/process_tools/Cargo.toml b/module/core/process_tools/Cargo.toml index 4e762860e9..7f31dceaa1 100644 --- a/module/core/process_tools/Cargo.toml +++ b/module/core/process_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "process_tools" -version = "0.2.0" +version = "0.3.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From e61756a228a5e6ea1a549a114167f13f008d6ede Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:57:30 +0200 Subject: [PATCH 17/20] strs_tools-v0.11.0 --- Cargo.toml | 2 +- module/core/strs_tools/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dd91c7d609..94aa005085 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -316,7 +316,7 @@ path = "module/alias/werror" ## string tools [workspace.dependencies.strs_tools] -version = "~0.10.0" +version = "~0.11.0" path = "module/core/strs_tools" default-features = false diff --git a/module/core/strs_tools/Cargo.toml b/module/core/strs_tools/Cargo.toml index 9400b608d9..6f04f509a0 100644 --- a/module/core/strs_tools/Cargo.toml +++ b/module/core/strs_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "strs_tools" -version = "0.10.0" +version = "0.11.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From cdec26f5e71f22b33cfea83bdeae7efe8b8b80eb Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:57:46 +0200 Subject: [PATCH 18/20] wca-v0.15.0 --- Cargo.toml | 2 +- module/move/wca/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 94aa005085..7e974b5ffc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -387,7 +387,7 @@ default-features = false ## ca [workspace.dependencies.wca] -version = "~0.14.0" +version = "~0.15.0" path = "module/move/wca" diff --git a/module/move/wca/Cargo.toml b/module/move/wca/Cargo.toml index 2680acb71a..9c418b4e7d 100644 --- a/module/move/wca/Cargo.toml +++ b/module/move/wca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wca" -version = "0.14.0" +version = "0.15.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From 625ece8ed71127f39f890ce233f34fb64c9d6f84 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 26 Mar 2024 11:58:42 +0200 Subject: [PATCH 19/20] willbe-v0.9.0 --- Cargo.toml | 2 +- module/move/willbe/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7e974b5ffc..b1594b7e6a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -401,7 +401,7 @@ path = "module/move/wcensor" ## willbe [workspace.dependencies.willbe] -version = "~0.8.0" +version = "~0.9.0" path = "module/move/willbe" diff --git a/module/move/willbe/Cargo.toml b/module/move/willbe/Cargo.toml index 502ee9c3b9..3ceeabea66 100644 --- a/module/move/willbe/Cargo.toml +++ b/module/move/willbe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "willbe" -version = "0.8.0" +version = "0.9.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", From b006a598c9c1f22e7d997e56d06829eff390e877 Mon Sep 17 00:00:00 2001 From: SRetip Date: Tue, 26 Mar 2024 12:16:51 +0200 Subject: [PATCH 20/20] ready --- module/move/willbe/src/command/publish.rs | 6 +++++- module/move/willbe/src/command/test.rs | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/module/move/willbe/src/command/publish.rs b/module/move/willbe/src/command/publish.rs index 68f83df6bf..2da426a841 100644 --- a/module/move/willbe/src/command/publish.rs +++ b/module/move/willbe/src/command/publish.rs @@ -2,6 +2,7 @@ mod private { use crate::*; + use colored::Colorize; use wca::{ Args, Props }; use wtools::error::Result; @@ -33,7 +34,10 @@ mod private if dry && report.packages.iter().find( |( _, p )| p.publish_required ).is_some() { - println!( "To apply plan, call the command `will .publish {} dry:0 {}`", args_line, prop_line ) + let args = if args_line.is_empty() { String::new() } else { format!(" {}", args_line) }; + let prop = if prop_line.is_empty() { String::new() } else { format!(" {}", prop_line) }; + let line = format!("will .publish{}{} dry:0", args, prop); + println!("To apply plan, call the command `{}`", line.blue()); // qqq : for Petro : for Bohdan : bad. should be exact command with exact parameters } diff --git a/module/move/willbe/src/command/test.rs b/module/move/willbe/src/command/test.rs index 8146bc8ab2..d06f749a68 100644 --- a/module/move/willbe/src/command/test.rs +++ b/module/move/willbe/src/command/test.rs @@ -5,6 +5,7 @@ mod private use std::collections::HashSet; use std::path::PathBuf; + use colored::Colorize; use wca:: { Args, @@ -110,7 +111,10 @@ mod private { if dry { - print!( "You can execute the plan with 'will .test {} dry:0 {}'.", args_line.trim(), prop_line.trim() ); + let args = if args_line.is_empty() { String::new() } else { format!(" {}", args_line) }; + let prop = if prop_line.is_empty() { String::new() } else { format!(" {}", prop_line) }; + let line = format!("will .publish{}{} dry:0", args, prop); + println!("To apply plan, call the command `{}`", line.blue()); } else {