Skip to content

Commit

Permalink
mononoke/mononoke_x_repo_sync_job: make mononoke_x_repo_sync_job and …
Browse files Browse the repository at this point in the history
…related public (facebook#40)

Summary:
Pull Request resolved: facebook#40

Those tools are being used in some integration tests, make them public so that the tests might pass

Reviewed By: ikostia

Differential Revision: D22844813

fbshipit-source-id: 549c9ad5b91552bf18efddc6fbb7c6761e327ed3
  • Loading branch information
lukaspiatkowski authored and facebook-github-bot committed Jul 31, 2020
1 parent 8d5c815 commit c158021
Show file tree
Hide file tree
Showing 17 changed files with 4,795 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eden/mononoke/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,13 @@ members = [
"cmds/blobrepo_checker",
"commit_rewriting/backsyncer",
"commit_rewriting/bookmark_renaming",
"commit_rewriting/bookmarks_validator",
"commit_rewriting/commit_validator",
"commit_rewriting/cross_repo_sync",
"commit_rewriting/cross_repo_sync/test_utils",
"commit_rewriting/live_commit_sync_config",
"commit_rewriting/megarepo",
"commit_rewriting/mononoke_x_repo_sync_job",
"commit_rewriting/movers",
"commit_rewriting/synced_commit_mapping",
"common/allocation_tracing",
Expand Down
32 changes: 32 additions & 0 deletions eden/mononoke/commit_rewriting/bookmarks_validator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[package]
name = "bookmarks_validator"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs"]

[dependencies]
bookmarks = { path = "../../bookmarks" }
cmdlib = { path = "../../cmdlib" }
cmdlib_x_repo = { path = "../../cmdlib/x_repo" }
context = { path = "../../server/context" }
cross_repo_sync = { path = "../cross_repo_sync" }
live_commit_sync_config = { path = "../live_commit_sync_config" }
mononoke_types = { path = "../../mononoke_types" }
pushredirect_enable = { path = "../../../../configerator/structs/scm/mononoke/pushredirect" }
scuba_ext = { path = "../../common/scuba_ext" }
synced_commit_mapping = { path = "../synced_commit_mapping" }
cached_config = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
anyhow = "1.0"
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1" }
slog = { version = "2.5", features = ["max_level_debug"] }
tokio = { version = "=0.2.13", features = ["full"] }

[dev-dependencies]
cross_repo_sync_test_utils = { path = "../cross_repo_sync/test_utils" }
tests_utils = { path = "../../tests/utils" }
tokio-compat = "0.1"
Loading

0 comments on commit c158021

Please sign in to comment.