From 1668d9fab393adb2aa9ffa763905998618a775ae Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Mon, 27 Mar 2023 10:59:16 +0100 Subject: [PATCH] Archive crates Move git-commit, git-trailers, and link-git to an archived directory to hide them away -- showing the intent that radicle-git-ext will be the main crate for git functionality. Signed-off-by: Fintan Halpenny X-Clacks-Overhead: GNU Terry Pratchett --- Cargo.toml | 5 ----- {git-commit => archived/git-commit}/Cargo.toml | 0 {git-commit => archived/git-commit}/src/author.rs | 0 {git-commit => archived/git-commit}/src/headers.rs | 0 {git-commit => archived/git-commit}/src/lib.rs | 0 {git-commit => archived/git-commit}/src/trailers.rs | 0 {git-commit => archived/git-commit}/t/Cargo.toml | 0 {git-commit => archived/git-commit}/t/src/commit.rs | 0 .../git-commit}/t/src/integration.rs | 0 {git-commit => archived/git-commit}/t/src/lib.rs | 0 {git-trailers => archived/git-trailers}/Cargo.toml | 0 {git-trailers => archived/git-trailers}/src/lib.rs | 0 {git-trailers => archived/git-trailers}/t/Cargo.toml | 0 {git-trailers => archived/git-trailers}/t/src/lib.rs | 0 .../git-trailers}/t/src/tests.rs | 0 {link-git => archived/link-git}/Cargo.toml | 0 {link-git => archived/link-git}/src/lib.rs | 0 {link-git => archived/link-git}/src/odb.rs | 0 {link-git => archived/link-git}/src/odb/backend.rs | 0 {link-git => archived/link-git}/src/odb/index.rs | 0 .../link-git}/src/odb/index/metrics.rs | 0 {link-git => archived/link-git}/src/odb/pack.rs | 0 {link-git => archived/link-git}/src/odb/window.rs | 0 .../link-git}/src/odb/window/metrics.rs | 0 {link-git => archived/link-git}/src/protocol.rs | 0 .../link-git}/src/protocol/fetch.rs | 0 {link-git => archived/link-git}/src/protocol/ls.rs | 0 .../link-git}/src/protocol/packwriter.rs | 0 {link-git => archived/link-git}/src/protocol/take.rs | 0 .../link-git}/src/protocol/transport.rs | 0 .../link-git}/src/protocol/upload_pack.rs | 0 .../link-git}/src/protocol/upload_pack/legacy.rs | 0 {link-git => archived/link-git}/src/refs.rs | 0 {link-git => archived/link-git}/src/refs/db.rs | 0 {link-git => archived/link-git}/src/service.rs | 0 {link-git => archived/link-git}/t/Cargo.toml | 0 {link-git => archived/link-git}/t/src/integration.rs | 0 .../link-git}/t/src/integration/protocol.rs | 0 {link-git => archived/link-git}/t/src/lib.rs | 0 {link-git => archived/link-git}/t/src/tests.rs | 0 .../link-git}/t/src/tests/protocol.rs | 0 .../link-git}/t/src/tests/protocol/take.rs | 0 .../link-git}/t/src/tests/protocol/upload_pack.rs | 0 test/Cargo.toml | 12 ------------ 44 files changed, 17 deletions(-) rename {git-commit => archived/git-commit}/Cargo.toml (100%) rename {git-commit => archived/git-commit}/src/author.rs (100%) rename {git-commit => archived/git-commit}/src/headers.rs (100%) rename {git-commit => archived/git-commit}/src/lib.rs (100%) rename {git-commit => archived/git-commit}/src/trailers.rs (100%) rename {git-commit => archived/git-commit}/t/Cargo.toml (100%) rename {git-commit => archived/git-commit}/t/src/commit.rs (100%) rename {git-commit => archived/git-commit}/t/src/integration.rs (100%) rename {git-commit => archived/git-commit}/t/src/lib.rs (100%) rename {git-trailers => archived/git-trailers}/Cargo.toml (100%) rename {git-trailers => archived/git-trailers}/src/lib.rs (100%) rename {git-trailers => archived/git-trailers}/t/Cargo.toml (100%) rename {git-trailers => archived/git-trailers}/t/src/lib.rs (100%) rename {git-trailers => archived/git-trailers}/t/src/tests.rs (100%) rename {link-git => archived/link-git}/Cargo.toml (100%) rename {link-git => archived/link-git}/src/lib.rs (100%) rename {link-git => archived/link-git}/src/odb.rs (100%) rename {link-git => archived/link-git}/src/odb/backend.rs (100%) rename {link-git => archived/link-git}/src/odb/index.rs (100%) rename {link-git => archived/link-git}/src/odb/index/metrics.rs (100%) rename {link-git => archived/link-git}/src/odb/pack.rs (100%) rename {link-git => archived/link-git}/src/odb/window.rs (100%) rename {link-git => archived/link-git}/src/odb/window/metrics.rs (100%) rename {link-git => archived/link-git}/src/protocol.rs (100%) rename {link-git => archived/link-git}/src/protocol/fetch.rs (100%) rename {link-git => archived/link-git}/src/protocol/ls.rs (100%) rename {link-git => archived/link-git}/src/protocol/packwriter.rs (100%) rename {link-git => archived/link-git}/src/protocol/take.rs (100%) rename {link-git => archived/link-git}/src/protocol/transport.rs (100%) rename {link-git => archived/link-git}/src/protocol/upload_pack.rs (100%) rename {link-git => archived/link-git}/src/protocol/upload_pack/legacy.rs (100%) rename {link-git => archived/link-git}/src/refs.rs (100%) rename {link-git => archived/link-git}/src/refs/db.rs (100%) rename {link-git => archived/link-git}/src/service.rs (100%) rename {link-git => archived/link-git}/t/Cargo.toml (100%) rename {link-git => archived/link-git}/t/src/integration.rs (100%) rename {link-git => archived/link-git}/t/src/integration/protocol.rs (100%) rename {link-git => archived/link-git}/t/src/lib.rs (100%) rename {link-git => archived/link-git}/t/src/tests.rs (100%) rename {link-git => archived/link-git}/t/src/tests/protocol.rs (100%) rename {link-git => archived/link-git}/t/src/tests/protocol/take.rs (100%) rename {link-git => archived/link-git}/t/src/tests/protocol/upload_pack.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 38505d7..6a8e660 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,8 @@ [workspace] members = [ - "git-commit", "git-storage", - "git-trailers", - "link-git", "radicle-git-ext", "radicle-std-ext", "radicle-surf", - # TODO: port gitd-lib over - # "cli/gitd-lib", "test", ] diff --git a/git-commit/Cargo.toml b/archived/git-commit/Cargo.toml similarity index 100% rename from git-commit/Cargo.toml rename to archived/git-commit/Cargo.toml diff --git a/git-commit/src/author.rs b/archived/git-commit/src/author.rs similarity index 100% rename from git-commit/src/author.rs rename to archived/git-commit/src/author.rs diff --git a/git-commit/src/headers.rs b/archived/git-commit/src/headers.rs similarity index 100% rename from git-commit/src/headers.rs rename to archived/git-commit/src/headers.rs diff --git a/git-commit/src/lib.rs b/archived/git-commit/src/lib.rs similarity index 100% rename from git-commit/src/lib.rs rename to archived/git-commit/src/lib.rs diff --git a/git-commit/src/trailers.rs b/archived/git-commit/src/trailers.rs similarity index 100% rename from git-commit/src/trailers.rs rename to archived/git-commit/src/trailers.rs diff --git a/git-commit/t/Cargo.toml b/archived/git-commit/t/Cargo.toml similarity index 100% rename from git-commit/t/Cargo.toml rename to archived/git-commit/t/Cargo.toml diff --git a/git-commit/t/src/commit.rs b/archived/git-commit/t/src/commit.rs similarity index 100% rename from git-commit/t/src/commit.rs rename to archived/git-commit/t/src/commit.rs diff --git a/git-commit/t/src/integration.rs b/archived/git-commit/t/src/integration.rs similarity index 100% rename from git-commit/t/src/integration.rs rename to archived/git-commit/t/src/integration.rs diff --git a/git-commit/t/src/lib.rs b/archived/git-commit/t/src/lib.rs similarity index 100% rename from git-commit/t/src/lib.rs rename to archived/git-commit/t/src/lib.rs diff --git a/git-trailers/Cargo.toml b/archived/git-trailers/Cargo.toml similarity index 100% rename from git-trailers/Cargo.toml rename to archived/git-trailers/Cargo.toml diff --git a/git-trailers/src/lib.rs b/archived/git-trailers/src/lib.rs similarity index 100% rename from git-trailers/src/lib.rs rename to archived/git-trailers/src/lib.rs diff --git a/git-trailers/t/Cargo.toml b/archived/git-trailers/t/Cargo.toml similarity index 100% rename from git-trailers/t/Cargo.toml rename to archived/git-trailers/t/Cargo.toml diff --git a/git-trailers/t/src/lib.rs b/archived/git-trailers/t/src/lib.rs similarity index 100% rename from git-trailers/t/src/lib.rs rename to archived/git-trailers/t/src/lib.rs diff --git a/git-trailers/t/src/tests.rs b/archived/git-trailers/t/src/tests.rs similarity index 100% rename from git-trailers/t/src/tests.rs rename to archived/git-trailers/t/src/tests.rs diff --git a/link-git/Cargo.toml b/archived/link-git/Cargo.toml similarity index 100% rename from link-git/Cargo.toml rename to archived/link-git/Cargo.toml diff --git a/link-git/src/lib.rs b/archived/link-git/src/lib.rs similarity index 100% rename from link-git/src/lib.rs rename to archived/link-git/src/lib.rs diff --git a/link-git/src/odb.rs b/archived/link-git/src/odb.rs similarity index 100% rename from link-git/src/odb.rs rename to archived/link-git/src/odb.rs diff --git a/link-git/src/odb/backend.rs b/archived/link-git/src/odb/backend.rs similarity index 100% rename from link-git/src/odb/backend.rs rename to archived/link-git/src/odb/backend.rs diff --git a/link-git/src/odb/index.rs b/archived/link-git/src/odb/index.rs similarity index 100% rename from link-git/src/odb/index.rs rename to archived/link-git/src/odb/index.rs diff --git a/link-git/src/odb/index/metrics.rs b/archived/link-git/src/odb/index/metrics.rs similarity index 100% rename from link-git/src/odb/index/metrics.rs rename to archived/link-git/src/odb/index/metrics.rs diff --git a/link-git/src/odb/pack.rs b/archived/link-git/src/odb/pack.rs similarity index 100% rename from link-git/src/odb/pack.rs rename to archived/link-git/src/odb/pack.rs diff --git a/link-git/src/odb/window.rs b/archived/link-git/src/odb/window.rs similarity index 100% rename from link-git/src/odb/window.rs rename to archived/link-git/src/odb/window.rs diff --git a/link-git/src/odb/window/metrics.rs b/archived/link-git/src/odb/window/metrics.rs similarity index 100% rename from link-git/src/odb/window/metrics.rs rename to archived/link-git/src/odb/window/metrics.rs diff --git a/link-git/src/protocol.rs b/archived/link-git/src/protocol.rs similarity index 100% rename from link-git/src/protocol.rs rename to archived/link-git/src/protocol.rs diff --git a/link-git/src/protocol/fetch.rs b/archived/link-git/src/protocol/fetch.rs similarity index 100% rename from link-git/src/protocol/fetch.rs rename to archived/link-git/src/protocol/fetch.rs diff --git a/link-git/src/protocol/ls.rs b/archived/link-git/src/protocol/ls.rs similarity index 100% rename from link-git/src/protocol/ls.rs rename to archived/link-git/src/protocol/ls.rs diff --git a/link-git/src/protocol/packwriter.rs b/archived/link-git/src/protocol/packwriter.rs similarity index 100% rename from link-git/src/protocol/packwriter.rs rename to archived/link-git/src/protocol/packwriter.rs diff --git a/link-git/src/protocol/take.rs b/archived/link-git/src/protocol/take.rs similarity index 100% rename from link-git/src/protocol/take.rs rename to archived/link-git/src/protocol/take.rs diff --git a/link-git/src/protocol/transport.rs b/archived/link-git/src/protocol/transport.rs similarity index 100% rename from link-git/src/protocol/transport.rs rename to archived/link-git/src/protocol/transport.rs diff --git a/link-git/src/protocol/upload_pack.rs b/archived/link-git/src/protocol/upload_pack.rs similarity index 100% rename from link-git/src/protocol/upload_pack.rs rename to archived/link-git/src/protocol/upload_pack.rs diff --git a/link-git/src/protocol/upload_pack/legacy.rs b/archived/link-git/src/protocol/upload_pack/legacy.rs similarity index 100% rename from link-git/src/protocol/upload_pack/legacy.rs rename to archived/link-git/src/protocol/upload_pack/legacy.rs diff --git a/link-git/src/refs.rs b/archived/link-git/src/refs.rs similarity index 100% rename from link-git/src/refs.rs rename to archived/link-git/src/refs.rs diff --git a/link-git/src/refs/db.rs b/archived/link-git/src/refs/db.rs similarity index 100% rename from link-git/src/refs/db.rs rename to archived/link-git/src/refs/db.rs diff --git a/link-git/src/service.rs b/archived/link-git/src/service.rs similarity index 100% rename from link-git/src/service.rs rename to archived/link-git/src/service.rs diff --git a/link-git/t/Cargo.toml b/archived/link-git/t/Cargo.toml similarity index 100% rename from link-git/t/Cargo.toml rename to archived/link-git/t/Cargo.toml diff --git a/link-git/t/src/integration.rs b/archived/link-git/t/src/integration.rs similarity index 100% rename from link-git/t/src/integration.rs rename to archived/link-git/t/src/integration.rs diff --git a/link-git/t/src/integration/protocol.rs b/archived/link-git/t/src/integration/protocol.rs similarity index 100% rename from link-git/t/src/integration/protocol.rs rename to archived/link-git/t/src/integration/protocol.rs diff --git a/link-git/t/src/lib.rs b/archived/link-git/t/src/lib.rs similarity index 100% rename from link-git/t/src/lib.rs rename to archived/link-git/t/src/lib.rs diff --git a/link-git/t/src/tests.rs b/archived/link-git/t/src/tests.rs similarity index 100% rename from link-git/t/src/tests.rs rename to archived/link-git/t/src/tests.rs diff --git a/link-git/t/src/tests/protocol.rs b/archived/link-git/t/src/tests/protocol.rs similarity index 100% rename from link-git/t/src/tests/protocol.rs rename to archived/link-git/t/src/tests/protocol.rs diff --git a/link-git/t/src/tests/protocol/take.rs b/archived/link-git/t/src/tests/protocol/take.rs similarity index 100% rename from link-git/t/src/tests/protocol/take.rs rename to archived/link-git/t/src/tests/protocol/take.rs diff --git a/link-git/t/src/tests/protocol/upload_pack.rs b/archived/link-git/t/src/tests/protocol/upload_pack.rs similarity index 100% rename from link-git/t/src/tests/protocol/upload_pack.rs rename to archived/link-git/t/src/tests/protocol/upload_pack.rs diff --git a/test/Cargo.toml b/test/Cargo.toml index 70c6cab..9da547f 100644 --- a/test/Cargo.toml +++ b/test/Cargo.toml @@ -11,22 +11,10 @@ doctest = false test = true doc = false -[dev-dependencies.git-commit-test] -path = "../git-commit/t" -features = ["test"] - [dev-dependencies.radicle-git-ext-test] path = "../radicle-git-ext/t" features = ["test"] -[dev-dependencies.git-trailers-test] -path = "../git-trailers/t" -features = ["test"] - -[dev-dependencies.link-git-test] -path = "../link-git/t" -features = ["test"] - [dev-dependencies.radicle-surf-test] path = "../radicle-surf/t" features = ["test"]