From 5a595ec9eed77cf961f01c671c69ca2bc7988092 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 27 Jul 2024 08:00:06 +0100 Subject: [PATCH] chore: remove deprecated crates These crates have been merged into git-next-core, and tombstones published to crates.io. --- Cargo.toml | 6 ------ crates/actor-macros/Cargo.toml | 15 --------------- crates/actor-macros/README.md | 11 ----------- crates/actor-macros/src/lib.rs | 1 - crates/cli/Cargo.toml | 1 - crates/config/Cargo.toml | 20 -------------------- crates/config/README.md | 11 ----------- crates/config/src/lib.rs | 2 -- crates/forge-forgejo/Cargo.toml | 1 - crates/forge-github/Cargo.toml | 1 - crates/forge/Cargo.toml | 1 - crates/git/Cargo.toml | 15 --------------- crates/git/README.md | 11 ----------- crates/git/src/lib.rs | 1 - crates/repo-actor/Cargo.toml | 1 - crates/server-actor/Cargo.toml | 1 - crates/server/Cargo.toml | 1 - 17 files changed, 100 deletions(-) delete mode 100644 crates/actor-macros/Cargo.toml delete mode 100644 crates/actor-macros/README.md delete mode 100644 crates/actor-macros/src/lib.rs delete mode 100644 crates/config/Cargo.toml delete mode 100644 crates/config/README.md delete mode 100644 crates/config/src/lib.rs delete mode 100644 crates/git/Cargo.toml delete mode 100644 crates/git/README.md delete mode 100644 crates/git/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 1ea4096d..73ce6638 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,12 +33,6 @@ git-next-repo-actor = { path = "crates/repo-actor", version = "0.11" } git-next-webhook-actor = { path = "crates/webhook-actor", version = "0.11" } git-next-file-watcher-actor = { path = "crates/file-watcher-actor", version = "0.11" } -# remove after 0.11.0 -git-next-config = { path = "crates/config", version = "0.11" } -git-next-git = { path = "crates/git", version = "0.11" } -git-next-actor-macros = { path = "crates/actor-macros", version = "0.11" } - - # CLI parsing clap = { version = "4.5", features = ["cargo", "derive"] } diff --git a/crates/actor-macros/Cargo.toml b/crates/actor-macros/Cargo.toml deleted file mode 100644 index 4e0aa614..00000000 --- a/crates/actor-macros/Cargo.toml +++ /dev/null @@ -1,15 +0,0 @@ -[package] -name = "git-next-actor-macros" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "[deprecated crate] macros for actors for git-next, the trunk-based development manager" - -[dependencies] - -[lints.clippy] -nursery = { level = "warn", priority = -1 } -# pedantic = "warn" -unwrap_used = "warn" -expect_used = "warn" diff --git a/crates/actor-macros/README.md b/crates/actor-macros/README.md deleted file mode 100644 index f12c15d8..00000000 --- a/crates/actor-macros/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-core](https://crates.io/crates/git-next-core). diff --git a/crates/actor-macros/src/lib.rs b/crates/actor-macros/src/lib.rs deleted file mode 100644 index 076971e2..00000000 --- a/crates/actor-macros/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -// moved to crates/core/src/macros/ diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 757cc3c1..7927c623 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -14,7 +14,6 @@ categories = { workspace = true } [dependencies] git-next-core = { workspace = true } git-next-server = { workspace = true } -git-next-git = { workspace = true } # CLI parsing clap = { workspace = true } diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml deleted file mode 100644 index 86914077..00000000 --- a/crates/config/Cargo.toml +++ /dev/null @@ -1,20 +0,0 @@ -[package] -name = "git-next-config" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "[deprecated crate] Base types for git-next, the trunk-based development manager" - -[features] -default = ["forgejo", "github"] -forgejo = [] -github = [] - -[dependencies] - -[lints.clippy] -nursery = { level = "warn", priority = -1 } -# pedantic = "warn" -unwrap_used = "warn" -expect_used = "warn" diff --git a/crates/config/README.md b/crates/config/README.md deleted file mode 100644 index f12c15d8..00000000 --- a/crates/config/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-core](https://crates.io/crates/git-next-core). diff --git a/crates/config/src/lib.rs b/crates/config/src/lib.rs deleted file mode 100644 index d32fd0cc..00000000 --- a/crates/config/src/lib.rs +++ /dev/null @@ -1,2 +0,0 @@ -// moved to crates/core/src/config/ -// moved newtype to crates/core/src/macros/ diff --git a/crates/forge-forgejo/Cargo.toml b/crates/forge-forgejo/Cargo.toml index f6e3edcd..5ef0290b 100644 --- a/crates/forge-forgejo/Cargo.toml +++ b/crates/forge-forgejo/Cargo.toml @@ -8,7 +8,6 @@ description = "Forgejo support for git-next, the trunk-based development manager [dependencies] git-next-core = { workspace = true } -git-next-git = { workspace = true } # logging tracing = { workspace = true } diff --git a/crates/forge-github/Cargo.toml b/crates/forge-github/Cargo.toml index 69ef3476..c62a5b3d 100644 --- a/crates/forge-github/Cargo.toml +++ b/crates/forge-github/Cargo.toml @@ -8,7 +8,6 @@ description = "GitHub support for git-next, the trunk-based development manager" [dependencies] git-next-core = { workspace = true } -git-next-git = { workspace = true } # own version for UserAgent requests to github.com clap = { workspace = true } diff --git a/crates/forge/Cargo.toml b/crates/forge/Cargo.toml index 6ffbaa57..16ac67c5 100644 --- a/crates/forge/Cargo.toml +++ b/crates/forge/Cargo.toml @@ -13,7 +13,6 @@ github = ["git-next-forge-github"] [dependencies] git-next-core = { workspace = true } -git-next-git = { workspace = true } git-next-forge-forgejo = { workspace = true, optional = true } git-next-forge-github = { workspace = true, optional = true } diff --git a/crates/git/Cargo.toml b/crates/git/Cargo.toml deleted file mode 100644 index 50f42dc4..00000000 --- a/crates/git/Cargo.toml +++ /dev/null @@ -1,15 +0,0 @@ -[package] -name = "git-next-git" -version = { workspace = true } -edition = { workspace = true } -license = { workspace = true } -repository = { workspace = true } -description = "[deprecated crate] git support for git-next, the trunk-based development manager" - -[dependencies] - -[lints.clippy] -nursery = { level = "warn", priority = -1 } -# pedantic = "warn" -unwrap_used = "warn" -expect_used = "warn" diff --git a/crates/git/README.md b/crates/git/README.md deleted file mode 100644 index f12c15d8..00000000 --- a/crates/git/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-core](https://crates.io/crates/git-next-core). diff --git a/crates/git/src/lib.rs b/crates/git/src/lib.rs deleted file mode 100644 index 04a894c1..00000000 --- a/crates/git/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -// moved to crates/core/src/git/ diff --git a/crates/repo-actor/Cargo.toml b/crates/repo-actor/Cargo.toml index b8f56178..47940011 100644 --- a/crates/repo-actor/Cargo.toml +++ b/crates/repo-actor/Cargo.toml @@ -13,7 +13,6 @@ github = [] [dependencies] git-next-core = { workspace = true } -git-next-git = { workspace = true } git-next-forge = { workspace = true } # logging diff --git a/crates/server-actor/Cargo.toml b/crates/server-actor/Cargo.toml index 684a1dda..ee3d5aee 100644 --- a/crates/server-actor/Cargo.toml +++ b/crates/server-actor/Cargo.toml @@ -8,7 +8,6 @@ description = "Server actor for git-next, the trunk-based development manager" [dependencies] git-next-core = { workspace = true } -git-next-git = { workspace = true } git-next-forge = { workspace = true } git-next-repo-actor = { workspace = true } git-next-file-watcher-actor = { workspace = true } diff --git a/crates/server/Cargo.toml b/crates/server/Cargo.toml index c1b8b4f1..5eb6afc5 100644 --- a/crates/server/Cargo.toml +++ b/crates/server/Cargo.toml @@ -8,7 +8,6 @@ description = "server for git-next, the trunk-based development manager" [dependencies] git-next-core = { workspace = true } -git-next-git = { workspace = true } git-next-file-watcher-actor = { workspace = true } git-next-server-actor = { workspace = true }