diff --git a/Cargo.toml b/Cargo.toml index 65caa502f8..cadf7dc367 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,9 @@ members = [ "common", "ddm-admin-client", "deploy", - "dev-tools", + "dev-tools/omdb", + "dev-tools/omicron-dev", + "dev-tools/xtask", "dns-server", "dns-service-client", "dpd-client", @@ -37,7 +39,6 @@ members = [ "nexus/test-utils-macros", "nexus/test-utils", "nexus/types", - "omdb", "oxide-client", "oximeter-client", "oximeter/collector", @@ -62,7 +63,6 @@ members = [ "wicket", "wicketd-client", "wicketd", - "xtask", ] default-members = [ @@ -74,7 +74,9 @@ default-members = [ "ddm-admin-client", "dpd-client", "deploy", - "dev-tools", + "dev-tools/omdb", + "dev-tools/omicron-dev", + "dev-tools/xtask", "dns-server", "dns-service-client", "gateway", @@ -98,7 +100,6 @@ default-members = [ "nexus/db-queries", "nexus/defaults", "nexus/types", - "omdb", "oxide-client", "oximeter-client", "oximeter/collector", @@ -123,7 +124,6 @@ default-members = [ "wicket-dbg", "wicketd", "wicketd-client", - "xtask", ] resolver = "2" @@ -234,7 +234,7 @@ nexus-types = { path = "nexus/types" } num-integer = "0.1.45" num = { version = "0.4.1", default-features = false, features = [ "libm" ] } omicron-common = { path = "common" } -omicron-dev-tools = { path = "dev-tools" } +omicron-dev = { path = "dev-tools/omicron-dev" } omicron-gateway = { path = "gateway" } omicron-nexus = { path = "nexus" } omicron-omdb = { path = "omdb" } diff --git a/omdb/Cargo.toml b/dev-tools/omdb/Cargo.toml similarity index 100% rename from omdb/Cargo.toml rename to dev-tools/omdb/Cargo.toml diff --git a/dev-tools/build.rs b/dev-tools/omdb/build.rs similarity index 100% rename from dev-tools/build.rs rename to dev-tools/omdb/build.rs diff --git a/omdb/src/bin/omdb/db.rs b/dev-tools/omdb/src/bin/omdb/db.rs similarity index 100% rename from omdb/src/bin/omdb/db.rs rename to dev-tools/omdb/src/bin/omdb/db.rs diff --git a/omdb/src/bin/omdb/main.rs b/dev-tools/omdb/src/bin/omdb/main.rs similarity index 100% rename from omdb/src/bin/omdb/main.rs rename to dev-tools/omdb/src/bin/omdb/main.rs diff --git a/omdb/src/bin/omdb/nexus.rs b/dev-tools/omdb/src/bin/omdb/nexus.rs similarity index 100% rename from omdb/src/bin/omdb/nexus.rs rename to dev-tools/omdb/src/bin/omdb/nexus.rs diff --git a/omdb/src/bin/omdb/sled_agent.rs b/dev-tools/omdb/src/bin/omdb/sled_agent.rs similarity index 100% rename from omdb/src/bin/omdb/sled_agent.rs rename to dev-tools/omdb/src/bin/omdb/sled_agent.rs diff --git a/omdb/tests/config.test.toml b/dev-tools/omdb/tests/config.test.toml similarity index 100% rename from omdb/tests/config.test.toml rename to dev-tools/omdb/tests/config.test.toml diff --git a/omdb/tests/env.out b/dev-tools/omdb/tests/env.out similarity index 100% rename from omdb/tests/env.out rename to dev-tools/omdb/tests/env.out diff --git a/omdb/tests/successes.out b/dev-tools/omdb/tests/successes.out similarity index 100% rename from omdb/tests/successes.out rename to dev-tools/omdb/tests/successes.out diff --git a/omdb/tests/test_all_output.rs b/dev-tools/omdb/tests/test_all_output.rs similarity index 100% rename from omdb/tests/test_all_output.rs rename to dev-tools/omdb/tests/test_all_output.rs diff --git a/omdb/tests/usage_errors.out b/dev-tools/omdb/tests/usage_errors.out similarity index 100% rename from omdb/tests/usage_errors.out rename to dev-tools/omdb/tests/usage_errors.out diff --git a/dev-tools/Cargo.toml b/dev-tools/omicron-dev/Cargo.toml similarity index 97% rename from dev-tools/Cargo.toml rename to dev-tools/omicron-dev/Cargo.toml index 4a7c25b337..2061489cbb 100644 --- a/dev-tools/Cargo.toml +++ b/dev-tools/omicron-dev/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "omicron-dev-tools" +name = "omicron-dev" version = "0.1.0" edition = "2021" license = "MPL-2.0" diff --git a/omdb/build.rs b/dev-tools/omicron-dev/build.rs similarity index 100% rename from omdb/build.rs rename to dev-tools/omicron-dev/build.rs diff --git a/dev-tools/src/bin/omicron-dev.rs b/dev-tools/omicron-dev/src/bin/omicron-dev.rs similarity index 100% rename from dev-tools/src/bin/omicron-dev.rs rename to dev-tools/omicron-dev/src/bin/omicron-dev.rs diff --git a/dev-tools/tests/output/cmd-omicron-dev-bad-cmd-stderr b/dev-tools/omicron-dev/tests/output/cmd-omicron-dev-bad-cmd-stderr similarity index 100% rename from dev-tools/tests/output/cmd-omicron-dev-bad-cmd-stderr rename to dev-tools/omicron-dev/tests/output/cmd-omicron-dev-bad-cmd-stderr diff --git a/dev-tools/tests/output/cmd-omicron-dev-bad-cmd-stdout b/dev-tools/omicron-dev/tests/output/cmd-omicron-dev-bad-cmd-stdout similarity index 100% rename from dev-tools/tests/output/cmd-omicron-dev-bad-cmd-stdout rename to dev-tools/omicron-dev/tests/output/cmd-omicron-dev-bad-cmd-stdout diff --git a/dev-tools/tests/output/cmd-omicron-dev-db-populate-noargs-stderr b/dev-tools/omicron-dev/tests/output/cmd-omicron-dev-db-populate-noargs-stderr similarity index 100% rename from dev-tools/tests/output/cmd-omicron-dev-db-populate-noargs-stderr rename to dev-tools/omicron-dev/tests/output/cmd-omicron-dev-db-populate-noargs-stderr diff --git a/dev-tools/tests/output/cmd-omicron-dev-db-populate-noargs-stdout b/dev-tools/omicron-dev/tests/output/cmd-omicron-dev-db-populate-noargs-stdout similarity index 100% rename from dev-tools/tests/output/cmd-omicron-dev-db-populate-noargs-stdout rename to dev-tools/omicron-dev/tests/output/cmd-omicron-dev-db-populate-noargs-stdout diff --git a/dev-tools/tests/output/cmd-omicron-dev-db-wipe-noargs-stderr b/dev-tools/omicron-dev/tests/output/cmd-omicron-dev-db-wipe-noargs-stderr similarity index 100% rename from dev-tools/tests/output/cmd-omicron-dev-db-wipe-noargs-stderr rename to dev-tools/omicron-dev/tests/output/cmd-omicron-dev-db-wipe-noargs-stderr diff --git a/dev-tools/tests/output/cmd-omicron-dev-db-wipe-noargs-stdout b/dev-tools/omicron-dev/tests/output/cmd-omicron-dev-db-wipe-noargs-stdout similarity index 100% rename from dev-tools/tests/output/cmd-omicron-dev-db-wipe-noargs-stdout rename to dev-tools/omicron-dev/tests/output/cmd-omicron-dev-db-wipe-noargs-stdout diff --git a/dev-tools/tests/output/cmd-omicron-dev-noargs-stderr b/dev-tools/omicron-dev/tests/output/cmd-omicron-dev-noargs-stderr similarity index 100% rename from dev-tools/tests/output/cmd-omicron-dev-noargs-stderr rename to dev-tools/omicron-dev/tests/output/cmd-omicron-dev-noargs-stderr diff --git a/dev-tools/tests/output/cmd-omicron-dev-noargs-stdout b/dev-tools/omicron-dev/tests/output/cmd-omicron-dev-noargs-stdout similarity index 100% rename from dev-tools/tests/output/cmd-omicron-dev-noargs-stdout rename to dev-tools/omicron-dev/tests/output/cmd-omicron-dev-noargs-stdout diff --git a/dev-tools/tests/test_omicron_dev.rs b/dev-tools/omicron-dev/tests/test_omicron_dev.rs similarity index 100% rename from dev-tools/tests/test_omicron_dev.rs rename to dev-tools/omicron-dev/tests/test_omicron_dev.rs diff --git a/xtask/Cargo.toml b/dev-tools/xtask/Cargo.toml similarity index 100% rename from xtask/Cargo.toml rename to dev-tools/xtask/Cargo.toml diff --git a/xtask/src/main.rs b/dev-tools/xtask/src/main.rs similarity index 100% rename from xtask/src/main.rs rename to dev-tools/xtask/src/main.rs