From 398a9b531758297417280ccf06b82c85f3d236dd Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 13 Oct 2024 01:33:28 +0300 Subject: [PATCH] chore(tvix/tools): move crunch-v2 to //users/edef This is not a core Tvix tool, it's some sort of one-off analysis thing. Change-Id: I05fcbed45abad27d6b5cfd49db1727249dad3971 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12603 Autosubmit: tazjin Tested-by: BuildkiteCI Reviewed-by: edef --- {tvix/tools => users/edef}/crunch-v2/.gitignore | 0 {tvix/tools => users/edef}/crunch-v2/Cargo.lock | 0 {tvix/tools => users/edef}/crunch-v2/Cargo.nix | 4 ++-- {tvix/tools => users/edef}/crunch-v2/Cargo.toml | 2 +- {tvix/tools => users/edef}/crunch-v2/OWNERS | 0 {tvix/tools => users/edef}/crunch-v2/build.rs | 0 {tvix/tools => users/edef}/crunch-v2/default.nix | 0 {tvix/tools => users/edef}/crunch-v2/protos/flatstore.proto | 0 {tvix/tools => users/edef}/crunch-v2/src/bin/extract.rs | 0 {tvix/tools => users/edef}/crunch-v2/src/lib.rs | 0 {tvix/tools => users/edef}/crunch-v2/src/main.rs | 0 {tvix/tools => users/edef}/crunch-v2/src/remote.rs | 0 12 files changed, 3 insertions(+), 3 deletions(-) rename {tvix/tools => users/edef}/crunch-v2/.gitignore (100%) rename {tvix/tools => users/edef}/crunch-v2/Cargo.lock (100%) rename {tvix/tools => users/edef}/crunch-v2/Cargo.nix (99%) rename {tvix/tools => users/edef}/crunch-v2/Cargo.toml (92%) rename {tvix/tools => users/edef}/crunch-v2/OWNERS (100%) rename {tvix/tools => users/edef}/crunch-v2/build.rs (100%) rename {tvix/tools => users/edef}/crunch-v2/default.nix (100%) rename {tvix/tools => users/edef}/crunch-v2/protos/flatstore.proto (100%) rename {tvix/tools => users/edef}/crunch-v2/src/bin/extract.rs (100%) rename {tvix/tools => users/edef}/crunch-v2/src/lib.rs (100%) rename {tvix/tools => users/edef}/crunch-v2/src/main.rs (100%) rename {tvix/tools => users/edef}/crunch-v2/src/remote.rs (100%) diff --git a/tvix/tools/crunch-v2/.gitignore b/users/edef/crunch-v2/.gitignore similarity index 100% rename from tvix/tools/crunch-v2/.gitignore rename to users/edef/crunch-v2/.gitignore diff --git a/tvix/tools/crunch-v2/Cargo.lock b/users/edef/crunch-v2/Cargo.lock similarity index 100% rename from tvix/tools/crunch-v2/Cargo.lock rename to users/edef/crunch-v2/Cargo.lock diff --git a/tvix/tools/crunch-v2/Cargo.nix b/users/edef/crunch-v2/Cargo.nix similarity index 99% rename from tvix/tools/crunch-v2/Cargo.nix rename to users/edef/crunch-v2/Cargo.nix index 59c08709c..1cbcfa6a5 100644 --- a/tvix/tools/crunch-v2/Cargo.nix +++ b/users/edef/crunch-v2/Cargo.nix @@ -4087,7 +4087,7 @@ rec { version = "0.1.0"; edition = "2021"; crateBin = [ ]; - src = lib.cleanSourceWith { filter = sourceFilter; src = ../../nix-compat; }; + src = lib.cleanSourceWith { filter = sourceFilter; src = ../../../tvix/nix-compat; }; libName = "nix_compat"; dependencies = [ { @@ -4199,7 +4199,7 @@ rec { crateName = "nix-compat-derive"; version = "0.1.0"; edition = "2021"; - src = lib.cleanSourceWith { filter = sourceFilter; src = ../../nix-compat-derive; }; + src = lib.cleanSourceWith { filter = sourceFilter; src = ../../../tvix/nix-compat-derive; }; procMacro = true; libName = "nix_compat_derive"; dependencies = [ diff --git a/tvix/tools/crunch-v2/Cargo.toml b/users/edef/crunch-v2/Cargo.toml similarity index 92% rename from tvix/tools/crunch-v2/Cargo.toml rename to users/edef/crunch-v2/Cargo.toml index 4421c8b9a..2dd942033 100644 --- a/tvix/tools/crunch-v2/Cargo.toml +++ b/users/edef/crunch-v2/Cargo.toml @@ -19,7 +19,7 @@ tokio = { version = "1.37.0", features = ["full"] } rusoto_core = { version = "0.48.0", default-features = false, features = ["hyper-rustls"] } rusoto_s3 = { version = "0.48.0", default-features = false, features = ["rustls"] } -nix-compat = { version = "0.1.0", path = "../../nix-compat" } +nix-compat = { version = "0.1.0", path = "../../../tvix/nix-compat" } sled = "0.34.7" fastcdc = "3.1.0" diff --git a/tvix/tools/crunch-v2/OWNERS b/users/edef/crunch-v2/OWNERS similarity index 100% rename from tvix/tools/crunch-v2/OWNERS rename to users/edef/crunch-v2/OWNERS diff --git a/tvix/tools/crunch-v2/build.rs b/users/edef/crunch-v2/build.rs similarity index 100% rename from tvix/tools/crunch-v2/build.rs rename to users/edef/crunch-v2/build.rs diff --git a/tvix/tools/crunch-v2/default.nix b/users/edef/crunch-v2/default.nix similarity index 100% rename from tvix/tools/crunch-v2/default.nix rename to users/edef/crunch-v2/default.nix diff --git a/tvix/tools/crunch-v2/protos/flatstore.proto b/users/edef/crunch-v2/protos/flatstore.proto similarity index 100% rename from tvix/tools/crunch-v2/protos/flatstore.proto rename to users/edef/crunch-v2/protos/flatstore.proto diff --git a/tvix/tools/crunch-v2/src/bin/extract.rs b/users/edef/crunch-v2/src/bin/extract.rs similarity index 100% rename from tvix/tools/crunch-v2/src/bin/extract.rs rename to users/edef/crunch-v2/src/bin/extract.rs diff --git a/tvix/tools/crunch-v2/src/lib.rs b/users/edef/crunch-v2/src/lib.rs similarity index 100% rename from tvix/tools/crunch-v2/src/lib.rs rename to users/edef/crunch-v2/src/lib.rs diff --git a/tvix/tools/crunch-v2/src/main.rs b/users/edef/crunch-v2/src/main.rs similarity index 100% rename from tvix/tools/crunch-v2/src/main.rs rename to users/edef/crunch-v2/src/main.rs diff --git a/tvix/tools/crunch-v2/src/remote.rs b/users/edef/crunch-v2/src/remote.rs similarity index 100% rename from tvix/tools/crunch-v2/src/remote.rs rename to users/edef/crunch-v2/src/remote.rs