Skip to content

Commit

Permalink
delete streaming_clone_warmup
Browse files Browse the repository at this point in the history
Summary: This binary is not used anywhere in production. Let's delete it.

Reviewed By: lmvasquezg

Differential Revision: D64532911

fbshipit-source-id: 9d5a6112b4771b62cc557f49e0fe0f8cdda31a63
  • Loading branch information
YousefSalama authored and facebook-github-bot committed Oct 17, 2024
1 parent dc46653 commit 15f9a32
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 351 deletions.
12 changes: 1 addition & 11 deletions eden/mononoke/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @generated by autocargo from //eden/mononoke:[backfill_mapping,bonsai_verify,check_git_wc,packer,revlogrepo,sqlblob_gc,streaming_clone_warmup]
# @generated by autocargo from //eden/mononoke:[backfill_mapping,bonsai_verify,check_git_wc,packer,revlogrepo,sqlblob_gc]

[package]
name = "eden_mononoke"
Expand Down Expand Up @@ -32,10 +32,6 @@ path = "cmds/revlogrepo.rs"
name = "sqlblob_gc"
path = "cmds/sqlblob_gc/main.rs"

[[bin]]
name = "streaming_clone_warmup"
path = "cmds/streaming_clone_warmup/main.rs"

[dependencies]
anyhow = "1.0.86"
ascii = "1.0"
Expand All @@ -48,13 +44,10 @@ bonsai_hg_mapping = { version = "0.1.0", path = "bonsai_hg_mapping" }
bonsai_svnrev_mapping = { version = "0.1.0", path = "bonsai_svnrev_mapping" }
borrowed = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
bytesize = "1.1"
cacheblob = { version = "0.1.0", path = "blobstore/cacheblob" }
cached_config = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
check_git_wc = { version = "0.1.0", path = "git/check_git_wc" }
clap = { version = "4.5.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap_old = { package = "clap", version = "2.34.0" }
cloned = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
cmdlib = { version = "0.1.0", path = "cmdlib" }
cmdlib_logging = { version = "0.1.0", path = "cmdlib/log" }
commit_graph = { version = "0.1.0", path = "repo_attributes/commit_graph/commit_graph" }
context = { version = "0.1.0", path = "server/context" }
Expand All @@ -81,10 +74,7 @@ scuba_ext = { version = "0.1.0", path = "common/scuba_ext" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_derive = "1.0.185"
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
sql_construct = { version = "0.1.0", path = "common/sql_construct" }
sql_ext = { version = "0.1.0", path = "common/rust/sql_ext" }
sqlblob = { version = "0.1.0", path = "blobstore/sqlblob" }
streaming_clone = { version = "0.1.0", path = "repo_client/streaming_clone" }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
toml = "0.8.4"

Expand Down
27 changes: 0 additions & 27 deletions eden/mononoke/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -261,33 +261,6 @@ rust_binary(
],
)

rust_binary(
name = "streaming_clone_warmup",
srcs = glob(["cmds/streaming_clone_warmup/**/*.rs"]),
named_deps = {
"clap-old": "fbsource//third-party/rust:clap-2",
},
test_deps = [],
deps = [
"fbsource//third-party/rust:anyhow",
"fbsource//third-party/rust:futures",
"fbsource//third-party/rust:slog",
"fbsource//third-party/rust:tokio",
"//common/rust/shed/cached_config:cached_config",
"//common/rust/shed/fbinit:fbinit",
"//eden/mononoke/blobrepo:repo_blobstore",
"//eden/mononoke/blobstore:blobstore_factory",
"//eden/mononoke/blobstore:cacheblob",
"//eden/mononoke/cmdlib:cmdlib",
"//eden/mononoke/common/rust/sql_ext:sql_ext",
"//eden/mononoke/common/scuba_ext:scuba_ext",
"//eden/mononoke/common/sql_construct:sql_construct",
"//eden/mononoke/metaconfig:metaconfig_types",
"//eden/mononoke/repo_client:streaming_clone",
"//eden/mononoke/server/context:context",
],
)

rust_binary(
name = "sqlblob_gc",
srcs = glob(["cmds/sqlblob_gc/**/*.rs"]),
Expand Down
306 changes: 0 additions & 306 deletions eden/mononoke/cmds/streaming_clone_warmup/main.rs

This file was deleted.

7 changes: 0 additions & 7 deletions eden/mononoke/facebook/fbpkg/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,6 @@ mononoke_fbpkg(
},
)

mononoke_fbpkg(
name = "mononoke.streaming_clone_warmup",
path_actions = {
"streaming_clone_warmup": "//eden/mononoke:streaming_clone_warmup",
},
)

mononoke_fbpkg(
name = "mononoke.walker",
path_actions = {
Expand Down

0 comments on commit 15f9a32

Please sign in to comment.