sapling/eden/mononoke
Ilia Medianikov 58b9ac23ef mononoke: Don't create separate ConfigStore's in tests
Summary:
Atm in tests a separate ConfigStore with file source is created for some configs and then a reference to it is dropped immediately ([see get_config_handle function in mod.rs](https://fburl.com/diffusion/fpkj7ekv)). This is uncomfortable as we may need a reference to e.g. force update configs in tests.

Instead of creating separate stores we can reuse static configerator which already uses local files (in tests).

Reviewed By: krallin

Differential Revision: D26725515

fbshipit-source-id: 24269cd93b7d35216c025807c3f3eb527688b72b
2021-03-03 03:52:41 -08:00
..
alpn autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
benchmark autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
blobimport_lib autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
blobrepo autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
blobrepo_utils autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
blobstore autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
blobstore_sync_queue autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
bonsai_git_mapping autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
bonsai_globalrev_mapping autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
bonsai_hg_mapping autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
bonsai_svnrev_mapping autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
bookmarks mononoke_api: list public bookmarks from the warm bookmarks cache 2021-03-03 02:43:49 -08:00
bulkops autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
cache_warmup autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
changesets autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
cmdlib mononoke: Don't create separate ConfigStore's in tests 2021-03-03 03:52:41 -08:00
cmds Add blobstore name information to logging 2021-03-02 03:40:54 -08:00
commit_rewriting autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
common autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
derived_data mononoke: log derivation error to derived data scuba table 2021-03-02 05:38:54 -08:00
edenapi_server autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
edenapi_service autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
fastreplay mononoke: Don't create separate ConfigStore's in tests 2021-03-03 03:52:41 -08:00
filenodes autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
filestore Add blobstore name information to logging 2021-03-02 03:40:54 -08:00
git Better GitRepo name in gitimport logs. 2021-03-01 09:54:07 -08:00
gotham_ext autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
hgcli autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
hgproto autocargo v2: documentation and config update before rollout 2021-03-02 06:43:29 -08:00
hook_tailer autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
hooks autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
lfs_import_lib autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
lfs_protocol Format fbsource with rustfmt-2.0.0-rc.2 2021-02-27 18:46:09 -08:00
lfs_server mononoke: Don't create separate ConfigStore's in tests 2021-03-03 03:52:41 -08:00
load_limiter autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
manifest Format fbsource with rustfmt-2.0.0-rc.2 2021-02-27 18:46:09 -08:00
mercurial autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
metaconfig autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
microwave autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
mononoke_api mononoke_api: list public bookmarks from the warm bookmarks cache 2021-03-03 02:43:49 -08:00
mononoke_api_hg autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
mononoke_hg_sync_job mononoke: Don't create separate ConfigStore's in tests 2021-03-03 03:52:41 -08:00
mononoke_types autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
mutable_counters autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
newfilenodes autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
observability autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
permission_checker autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
phases autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
pushrebase autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
reachabilityindex autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
regenerate_hg_filenodes autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
repo_client Format fbsource with rustfmt-2.0.0-rc.2 2021-02-27 18:46:09 -08:00
repo_import autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
revset autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
scs_server scs: add stub implementation of megarepo svc 2021-02-24 07:45:12 -08:00
segmented_changelog autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
server mononoke: Don't create separate ConfigStore's in tests 2021-03-03 03:52:41 -08:00
sshrelay autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
tests mononoke: Don't create separate ConfigStore's in tests 2021-03-03 03:52:41 -08:00
time_window_counter autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
tunables mononoke: Don't create separate ConfigStore's in tests 2021-03-03 03:52:41 -08:00
unbundle_replay autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
walker autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
Cargo.toml autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
README.md mononoke: add README.md and the missing pieces for supporting cargo (#13) 2020-02-13 00:12:36 -08:00

Mononoke

Mononoke is a next-generation server for the Mercurial source control system, meant to scale up to accepting thousands of commits every hour across millions of files. It is primarily written in the Rust programming language.

Caveat Emptor

Mononoke is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects.

The version that we provide on GitHub does not build yet.

This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:

  • Full support for a standard cargo build.
  • Open source replacements for Facebook-internal services (blob store, logging etc).

The current goal is to get Mononoke working on Linux. Other Unix-like OSes may be supported in the future