diff --git a/Cargo.toml b/Cargo.toml index 91ac34b2..58aa4546 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,13 @@ members = [ "crates/*", "plugins/*", ] +resolver = "2" + +[workspace.package] +authors = ["MrPicklePinosaur", "nithinmuthukumar"] +categories = ["command-line-interface", "command-line-utilities", "development-tools"] +edition = "2021" +homepage = "https://mrpicklepinosaur.github.io/shrs/" +keywords = ["shrs", "shell", "posix", "unix"] +license = "MIT OR Apache-2.0" +repository = "https://github.com/MrPicklePinosaur/shrs" diff --git a/crates/shrs/Cargo.toml b/crates/shrs/Cargo.toml index 04b975df..3ad35b46 100644 --- a/crates/shrs/Cargo.toml +++ b/crates/shrs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shrs" -version = "0.0.1" +version = "0.0.2" edition = "2021" license = "MIT OR Apache-2.0" authors = ["MrPicklePinosaur"] @@ -30,10 +30,10 @@ anyhow = "1" lazy_static = "1.4" log = "0.4" -shrs_core = { path = "../shrs_core", version = "0.0.1-dev" } -shrs_line = { path = "../shrs_line", version = "0.0.1-dev" } -shrs_lang = { path = "../shrs_lang", version = "0.0.1-dev" } -shrs_job = { path = "../shrs_job", version = "0.0.1-dev" } +shrs_core = { path = "../shrs_core", version = "0.0.2" } +shrs_line = { path = "../shrs_line", version = "0.0.2" } +shrs_lang = { path = "../shrs_lang", version = "0.0.2" } +shrs_job = { path = "../shrs_job", version = "0.0.2" } serde = { version = "1", features = ["derive"], optional = true } diff --git a/crates/shrs_core/Cargo.toml b/crates/shrs_core/Cargo.toml index 5b314124..9823fe2d 100644 --- a/crates/shrs_core/Cargo.toml +++ b/crates/shrs_core/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "shrs_core" -version = "0.0.1-dev" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "modular library to build your own shell in rust" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [features] default = ["serde"] @@ -22,8 +26,8 @@ dirs = "5" anymap = "1.0.0-beta.2" multimap = "0.9" -shrs_job = { path = "../shrs_job", version = "0.0.1-dev" } -shrs_utils = { path = "../shrs_utils", version = "0.0.1-dev" } +shrs_job = { path = "../shrs_job", version = "0.0.2" } +shrs_utils = { path = "../shrs_utils", version = "0.0.2" } pino_deref = "0.1" diff --git a/crates/shrs_job/Cargo.toml b/crates/shrs_job/Cargo.toml index a2efc4c6..4535f990 100644 --- a/crates/shrs_job/Cargo.toml +++ b/crates/shrs_job/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "shrs_job" -version = "0.0.1-dev" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "utilities for managing jobs and processes" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]} diff --git a/crates/shrs_lang/Cargo.toml b/crates/shrs_lang/Cargo.toml index 4f754c8d..f58e8e27 100644 --- a/crates/shrs_lang/Cargo.toml +++ b/crates/shrs_lang/Cargo.toml @@ -1,16 +1,20 @@ [package] name = "shrs_lang" -version = "0.0.1-dev" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "parser and lexer for shrs posix shell" -repository = "https://github.com/MrPicklePinosaur/shrs" build = "build.rs" +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true + [dependencies] -shrs_core = { path = "../shrs_core", version = "0.0.1-dev" } -shrs_job = { path = "../shrs_job", version = "0.0.1-dev" } +shrs_core = { path = "../shrs_core", version = "0.0.2" } +shrs_job = { path = "../shrs_job", version = "0.0.2" } lalrpop-util = { version = "0.19.8", features = ["lexer"] } regex = "1" nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]} diff --git a/crates/shrs_line/Cargo.toml b/crates/shrs_line/Cargo.toml index a4d372cf..e69ba70e 100644 --- a/crates/shrs_line/Cargo.toml +++ b/crates/shrs_line/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "shrs_line" -version = "0.0.1-dev" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "readline implementation" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] crossterm = {version = "0.26", features = ["bracketed-paste"]} @@ -17,8 +21,8 @@ arboard = "3.2.0" anyhow = "1" thiserror = "1" -shrs_core = { path = "../shrs_core", version = "0.0.1-dev" } -shrs_vi = { path = "../shrs_vi", version = "0.0.1-dev" } -shrs_utils = { path = "../shrs_utils", version = "0.0.1-dev" } -shrs_lang = {path = "../shrs_lang", version = "0.0.1-dev" } +shrs_core = { path = "../shrs_core", version = "0.0.2" } +shrs_vi = { path = "../shrs_vi", version = "0.0.2" } +shrs_utils = { path = "../shrs_utils", version = "0.0.2" } +shrs_lang = {path = "../shrs_lang", version = "0.0.2" } # shrs_core = { path = "../shrs_utils" } diff --git a/crates/shrs_utils/Cargo.toml b/crates/shrs_utils/Cargo.toml index 79af4f56..62940c01 100644 --- a/crates/shrs_utils/Cargo.toml +++ b/crates/shrs_utils/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "shrs_utils" -version = "0.0.1-dev" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] -description = "common utilities for shrs" -repository = "https://github.com/MrPicklePinosaur/shrs" +version = "0.0.2" +description = "utilities for shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] crossterm = "0.26" diff --git a/crates/shrs_vi/Cargo.toml b/crates/shrs_vi/Cargo.toml index d25e4521..60326f06 100644 --- a/crates/shrs_vi/Cargo.toml +++ b/crates/shrs_vi/Cargo.toml @@ -1,13 +1,17 @@ [package] name = "shrs_vi" -version = "0.0.1-dev" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "parser for vi like commands" -repository = "https://github.com/MrPicklePinosaur/shrs" build = "build.rs" +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true + [dependencies] lalrpop-util = { version = "0.19.8", features = ["lexer"] } regex = "1" diff --git a/design/release_process.md b/design/release_process.md new file mode 100644 index 00000000..be295f4c --- /dev/null +++ b/design/release_process.md @@ -0,0 +1,8 @@ + +# Release Workflow + +The version of all packages in the workspace should be bumped after a release. +The officially supported plugins in `plugins/` should also follow the entire +projects version. All packages, without exception have their version bumped, +regardless if the crate actually had any meaniful update between the last +release. diff --git a/plugins/shrs_autocd/Cargo.toml b/plugins/shrs_autocd/Cargo.toml index f110274e..496d408c 100644 --- a/plugins/shrs_autocd/Cargo.toml +++ b/plugins/shrs_autocd/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "shrs_autocd" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "implement autocd feature present in many shells" -homepage = "https://mrpicklepinosaur.github.io/shrs/" -categories = ["command-line-interface", "command-line-utilities", "development-tools"] -keywords = ["shrs", "shell", "posix", "unix"] readme = "README.md" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1" } +shrs = { path = "../../crates/shrs", version = "0.0.2" } diff --git a/plugins/shrs_cd_stack/Cargo.toml b/plugins/shrs_cd_stack/Cargo.toml index 85632d86..0859118b 100644 --- a/plugins/shrs_cd_stack/Cargo.toml +++ b/plugins/shrs_cd_stack/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "shrs_cd_stack" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "maintain stack of past working directories" -homepage = "https://mrpicklepinosaur.github.io/shrs/" -categories = ["command-line-interface", "command-line-utilities", "development-tools"] -keywords = ["shrs", "shell", "posix", "unix"] readme = "README.md" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1" } +shrs = { path = "../../crates/shrs", version = "0.0.2" } diff --git a/plugins/shrs_cd_tools/Cargo.toml b/plugins/shrs_cd_tools/Cargo.toml index 6afd58dd..1ac27304 100644 --- a/plugins/shrs_cd_tools/Cargo.toml +++ b/plugins/shrs_cd_tools/Cargo.toml @@ -1,14 +1,18 @@ [package] name = "shrs_cd_tools" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "Variety of utilities for running commands conditionally on directory change" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1-dev" } +shrs = { path = "../../crates/shrs", version = "0.0.2" } derive_builder = "0.12" anymap = "0.12" diff --git a/plugins/shrs_command_timer/Cargo.toml b/plugins/shrs_command_timer/Cargo.toml index c48a8c03..2c8e8944 100644 --- a/plugins/shrs_command_timer/Cargo.toml +++ b/plugins/shrs_command_timer/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "shrs_command_timer" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "shrs plugin to time how long the previous command took to run" -homepage = "https://mrpicklepinosaur.github.io/shrs/" -categories = ["command-line-interface", "command-line-utilities", "development-tools"] -keywords = ["shrs", "shell", "posix", "unix"] readme = "README.md" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1" } +shrs = { path = "../../crates/shrs", version = "0.0.2" } diff --git a/plugins/shrs_derive_completion/Cargo.toml b/plugins/shrs_derive_completion/Cargo.toml index cbf5a512..02294c8e 100644 --- a/plugins/shrs_derive_completion/Cargo.toml +++ b/plugins/shrs_derive_completion/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "shrs_derive_completion" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "Specify shell completions from derive macro" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [lib] proc-macro = true @@ -15,7 +19,7 @@ name = "tests" path = "tests/test.rs" [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1" } +shrs = { path = "../../crates/shrs", version = "0.0.2" } derive_builder = "0.12" diff --git a/plugins/shrs_file_logger/Cargo.toml b/plugins/shrs_file_logger/Cargo.toml index 051a2898..c7c49afd 100644 --- a/plugins/shrs_file_logger/Cargo.toml +++ b/plugins/shrs_file_logger/Cargo.toml @@ -1,18 +1,19 @@ [package] name = "shrs_file_logger" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] -description = "generate debug logs for shrs" -homepage = "https://mrpicklepinosaur.github.io/shrs/" -categories = ["command-line-interface", "command-line-utilities", "development-tools"] -keywords = ["shrs", "shell", "posix", "unix"] +version = "0.0.2" +description = "" readme = "README.md" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1" } +shrs = { path = "../../crates/shrs", version = "0.0.2" } log4rs = { version = "1.2" } log = { version = "0.4" } diff --git a/plugins/shrs_lang_options/Cargo.toml b/plugins/shrs_lang_options/Cargo.toml index aec6bd41..ec4d0664 100644 --- a/plugins/shrs_lang_options/Cargo.toml +++ b/plugins/shrs_lang_options/Cargo.toml @@ -1,17 +1,18 @@ [package] name = "shrs_lang_options" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["nithinmuthukumar"] -description = "nushell command language for shrs" -homepage = "https://mrpicklepinosaur.github.io/shrs/" -categories = ["command-line-interface", "command-line-utilities", "development-tools"] -keywords = ["shrs", "shell", "posix", "unix"] +version = "0.0.2" +description = "" readme = "README.md" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1" } -shrs_mux = {path = "../shrs_mux/", version = "0.0.1"} +shrs = { path = "../../crates/shrs", version = "0.0.2" } +shrs_mux = {path = "../shrs_mux/", version = "0.0.2"} diff --git a/plugins/shrs_mux/Cargo.toml b/plugins/shrs_mux/Cargo.toml index 9ffb4732..44832041 100644 --- a/plugins/shrs_mux/Cargo.toml +++ b/plugins/shrs_mux/Cargo.toml @@ -1,16 +1,17 @@ [package] name = "shrs_mux" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] -description = "nushell command language for shrs" -homepage = "https://mrpicklepinosaur.github.io/shrs/" -categories = ["command-line-interface", "command-line-utilities", "development-tools"] -keywords = ["shrs", "shell", "posix", "unix"] +version = "0.0.2" +description = "" readme = "README.md" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1" } +shrs = { path = "../../crates/shrs", version = "0.0.2" } clap = { version = "4.1", features = ["derive"] } diff --git a/plugins/shrs_output_capture/Cargo.toml b/plugins/shrs_output_capture/Cargo.toml index ce079cca..98fe1991 100644 --- a/plugins/shrs_output_capture/Cargo.toml +++ b/plugins/shrs_output_capture/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "shrs_output_capture" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "Capture the previous stdout and stderr output" -homepage = "https://mrpicklepinosaur.github.io/shrs/" -categories = ["command-line-interface", "command-line-utilities", "development-tools"] -keywords = ["shrs", "shell", "posix", "unix"] readme = "README.md" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1" } +shrs = { path = "../../crates/shrs", version = "0.0.2" } diff --git a/plugins/shrs_run_context/Cargo.toml b/plugins/shrs_run_context/Cargo.toml index 30f9b73e..1c5d47d4 100644 --- a/plugins/shrs_run_context/Cargo.toml +++ b/plugins/shrs_run_context/Cargo.toml @@ -1,14 +1,18 @@ [package] name = "shrs_run_context" -version = "0.0.1" -edition = "2021" -license = "MIT OR Apache-2.0" -authors = ["MrPicklePinosaur"] +version = "0.0.2" description = "Save and load run context" -repository = "https://github.com/MrPicklePinosaur/shrs" + +authors.workspace = true +categories.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -shrs = { path = "../../crates/shrs", version = "0.0.1", features = ["serde"] } +shrs = { path = "../../crates/shrs", version = "0.0.2", features = ["serde"] } clap = { version = "4.1", features = ["derive"] } ron = { version = "0.8" } diff --git a/shrs_example/Cargo.toml b/shrs_example/Cargo.toml index 2d834a87..897b8cdc 100644 --- a/shrs_example/Cargo.toml +++ b/shrs_example/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shrs_example" -version = "0.0.1" +version = "0.0.2" edition = "2021" license = "MIT OR Apache-2.0" authors = ["MrPicklePinosaur"] @@ -9,14 +9,14 @@ repository = "https://github.com/MrPicklePinosaur/shrs" build = "build.rs" [dependencies] -shrs = { path = "../crates/shrs", version = "0.0.1" } -shrs_output_capture = { path = "../plugins/shrs_output_capture", version = "0.0.1" } -shrs_cd_tools = { path = "../plugins/shrs_cd_tools", version = "0.0.1" } -shrs_command_timer = { path = "../plugins/shrs_command_timer", version = "0.0.1" } -shrs_run_context = { path = "../plugins/shrs_run_context", version = "0.0.1" } -shrs_mux = { path = "../plugins/shrs_mux", version = "0.0.1" } -shrs_cd_stack = { path = "../plugins/shrs_cd_stack", version = "0.0.1" } -shrs_file_logger = { path = "../plugins/shrs_file_logger", version = "0.0.1" } +shrs = { path = "../crates/shrs", version = "0.0.2" } +shrs_output_capture = { path = "../plugins/shrs_output_capture", version = "0.0.2" } +shrs_cd_tools = { path = "../plugins/shrs_cd_tools", version = "0.0.2" } +shrs_command_timer = { path = "../plugins/shrs_command_timer", version = "0.0.2" } +shrs_run_context = { path = "../plugins/shrs_run_context", version = "0.0.2" } +shrs_mux = { path = "../plugins/shrs_mux", version = "0.0.2" } +shrs_cd_stack = { path = "../plugins/shrs_cd_stack", version = "0.0.2" } +shrs_file_logger = { path = "../plugins/shrs_file_logger", version = "0.0.2" } dirs = "5" anyhow = "1"