From e58ba94d9796aa347b93e74f3b8ff88f301f0694 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 Jul 2024 08:18:53 +0100 Subject: [PATCH] chore: remove deprecated crates --- Cargo.toml | 8 -------- crates/cli/Cargo.toml | 1 - crates/file-watcher-actor/Cargo.toml | 7 ------- crates/file-watcher-actor/README.md | 11 ----------- crates/file-watcher-actor/src/lib.rs | 1 - crates/forge/Cargo.toml | 7 ------- crates/forge/README.md | 11 ----------- crates/forge/src/lib.rs | 1 - crates/repo-actor/Cargo.toml | 7 ------- crates/repo-actor/README.md | 11 ----------- crates/repo-actor/src/lib.rs | 1 - crates/server-actor/Cargo.toml | 22 ---------------------- crates/server-actor/README.md | 11 ----------- crates/server-actor/src/lib.rs | 1 - crates/server/Cargo.toml | 7 ------- crates/server/README.md | 11 ----------- crates/server/src/lib.rs | 1 - crates/webhook-actor/Cargo.toml | 7 ------- crates/webhook-actor/README.md | 11 ----------- crates/webhook-actor/src/lib.rs | 1 - 20 files changed, 138 deletions(-) delete mode 100644 crates/file-watcher-actor/Cargo.toml delete mode 100644 crates/file-watcher-actor/README.md delete mode 100644 crates/file-watcher-actor/src/lib.rs delete mode 100644 crates/forge/Cargo.toml delete mode 100644 crates/forge/README.md delete mode 100644 crates/forge/src/lib.rs delete mode 100644 crates/repo-actor/Cargo.toml delete mode 100644 crates/repo-actor/README.md delete mode 100644 crates/repo-actor/src/lib.rs delete mode 100644 crates/server-actor/Cargo.toml delete mode 100644 crates/server-actor/README.md delete mode 100644 crates/server-actor/src/lib.rs delete mode 100644 crates/server/Cargo.toml delete mode 100644 crates/server/README.md delete mode 100644 crates/server/src/lib.rs delete mode 100644 crates/webhook-actor/Cargo.toml delete mode 100644 crates/webhook-actor/README.md delete mode 100644 crates/webhook-actor/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 60c5258..2978bb9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,14 +26,6 @@ git-next-core = { path = "crates/core", version = "0.12" } git-next-forge-forgejo = { path = "crates/forge-forgejo", version = "0.12" } git-next-forge-github = { path = "crates/forge-github", version = "0.12" } -# remove after 0.12.0 -git-next-server = { path = "crates/server", version = "0.12" } -git-next-server-actor = { path = "crates/server-actor", version = "0.12" } -git-next-forge = { path = "crates/forge", version = "0.12" } -git-next-repo-actor = { path = "crates/repo-actor", version = "0.12" } -git-next-webhook-actor = { path = "crates/webhook-actor", version = "0.12" } -git-next-file-watcher-actor = { path = "crates/file-watcher-actor", version = "0.12" } - # CLI parsing clap = { version = "4.5", features = ["cargo", "derive"] } diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 01096a1..a1d6f6d 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -18,7 +18,6 @@ github = ["git-next-forge-github"] [dependencies] git-next-core = { workspace = true } -git-next-server-actor = { workspace = true } git-next-forge-forgejo = { workspace = true, optional = true } git-next-forge-github = { workspace = true, optional = true } diff --git a/crates/file-watcher-actor/Cargo.toml b/crates/file-watcher-actor/Cargo.toml deleted file mode 100644 index 125864d..0000000 --- a/crates/file-watcher-actor/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "git-next-file-watcher-actor" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "[deprecated crate] Config file watcher for git-next, the trunk-based development manager" diff --git a/crates/file-watcher-actor/README.md b/crates/file-watcher-actor/README.md deleted file mode 100644 index b90af45..0000000 --- a/crates/file-watcher-actor/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# git-next - -## Trunk-based developement manager. - -`git-next` is a combined server and command-line tool that enables trunk-based -development workflows where each commit must pass CI before being included in -the main branch. - -See [git-next](https://crates.io/crates/git-next) for more information. - -N.B. this crate has been merged into [git-next](https://crates.io/git-next). diff --git a/crates/file-watcher-actor/src/lib.rs b/crates/file-watcher-actor/src/lib.rs deleted file mode 100644 index 23c7c85..0000000 --- a/crates/file-watcher-actor/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -// moved to /crates/cli/src/file_watcher diff --git a/crates/forge/Cargo.toml b/crates/forge/Cargo.toml deleted file mode 100644 index 8b837d8..0000000 --- a/crates/forge/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "git-next-forge" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "[deprecated crate] Generic forge support for git-next, the trunk-based development manager" diff --git a/crates/forge/README.md b/crates/forge/README.md deleted file mode 100644 index b90af45..0000000 --- a/crates/forge/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# git-next - -## Trunk-based developement manager. - -`git-next` is a combined server and command-line tool that enables trunk-based -development workflows where each commit must pass CI before being included in -the main branch. - -See [git-next](https://crates.io/crates/git-next) for more information. - -N.B. this crate has been merged into [git-next](https://crates.io/git-next). diff --git a/crates/forge/src/lib.rs b/crates/forge/src/lib.rs deleted file mode 100644 index 0adc364..0000000 --- a/crates/forge/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -// moved to /crates/cli/src/forge diff --git a/crates/repo-actor/Cargo.toml b/crates/repo-actor/Cargo.toml deleted file mode 100644 index 101b4c6..0000000 --- a/crates/repo-actor/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "git-next-repo-actor" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "[deprecated crate] Repository support for git-next, the trunk-based development manager" diff --git a/crates/repo-actor/README.md b/crates/repo-actor/README.md deleted file mode 100644 index b90af45..0000000 --- a/crates/repo-actor/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# git-next - -## Trunk-based developement manager. - -`git-next` is a combined server and command-line tool that enables trunk-based -development workflows where each commit must pass CI before being included in -the main branch. - -See [git-next](https://crates.io/crates/git-next) for more information. - -N.B. this crate has been merged into [git-next](https://crates.io/git-next). diff --git a/crates/repo-actor/src/lib.rs b/crates/repo-actor/src/lib.rs deleted file mode 100644 index 8724567..0000000 --- a/crates/repo-actor/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -// moved to /crates/cli/src/repo diff --git a/crates/server-actor/Cargo.toml b/crates/server-actor/Cargo.toml deleted file mode 100644 index e779402..0000000 --- a/crates/server-actor/Cargo.toml +++ /dev/null @@ -1,22 +0,0 @@ -[package] -name = "git-next-server-actor" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "Server actor for git-next, the trunk-based development manager" - -[dependencies] - - -[dev-dependencies] -# Testing -# assert2 = { workspace = true } -test-log = { workspace = true } -tokio = { workspace = true } - -[lints.clippy] -nursery = { level = "warn", priority = -1 } -# pedantic = "warn" -unwrap_used = "warn" -expect_used = "warn" diff --git a/crates/server-actor/README.md b/crates/server-actor/README.md deleted file mode 100644 index b90af45..0000000 --- a/crates/server-actor/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# git-next - -## Trunk-based developement manager. - -`git-next` is a combined server and command-line tool that enables trunk-based -development workflows where each commit must pass CI before being included in -the main branch. - -See [git-next](https://crates.io/crates/git-next) for more information. - -N.B. this crate has been merged into [git-next](https://crates.io/git-next). diff --git a/crates/server-actor/src/lib.rs b/crates/server-actor/src/lib.rs deleted file mode 100644 index 749ded1..0000000 --- a/crates/server-actor/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -// moved to /crates/cli/src/server/actor diff --git a/crates/server/Cargo.toml b/crates/server/Cargo.toml deleted file mode 100644 index ecc9a24..0000000 --- a/crates/server/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "git-next-server" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "[deprecated crate] server for git-next, the trunk-based development manager" diff --git a/crates/server/README.md b/crates/server/README.md deleted file mode 100644 index b90af45..0000000 --- a/crates/server/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# git-next - -## Trunk-based developement manager. - -`git-next` is a combined server and command-line tool that enables trunk-based -development workflows where each commit must pass CI before being included in -the main branch. - -See [git-next](https://crates.io/crates/git-next) for more information. - -N.B. this crate has been merged into [git-next](https://crates.io/git-next). diff --git a/crates/server/src/lib.rs b/crates/server/src/lib.rs deleted file mode 100644 index 23ddbad..0000000 --- a/crates/server/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -// moved to /crates/cli/src/server diff --git a/crates/webhook-actor/Cargo.toml b/crates/webhook-actor/Cargo.toml deleted file mode 100644 index 4c1b32c..0000000 --- a/crates/webhook-actor/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "git-next-webhook-actor" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "[deprecated crate] webhook actor for git-next, the trunk-based development manager" diff --git a/crates/webhook-actor/README.md b/crates/webhook-actor/README.md deleted file mode 100644 index b90af45..0000000 --- a/crates/webhook-actor/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# git-next - -## Trunk-based developement manager. - -`git-next` is a combined server and command-line tool that enables trunk-based -development workflows where each commit must pass CI before being included in -the main branch. - -See [git-next](https://crates.io/crates/git-next) for more information. - -N.B. this crate has been merged into [git-next](https://crates.io/git-next). diff --git a/crates/webhook-actor/src/lib.rs b/crates/webhook-actor/src/lib.rs deleted file mode 100644 index 92f16f8..0000000 --- a/crates/webhook-actor/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -// moved to /crates/cli/src/webhook