sapling/eden/mononoke
Mateusz Kwapich 45190441ae fix self imports
Summary:
The reformatter can't deal with self imports, let's help it.

I've ran:

```
fd -g  '**/*.rs' -x sd -s '::{self}' ''
arc f
```

Reviewed By: stepancheg

Differential Revision: D37494566

fbshipit-source-id: badc7aff2ea931085df61ce241ae26e13916c1eb
2022-06-28 15:27:12 -07:00
..
acl_regions fix self imports 2022-06-28 15:27:12 -07:00
admin Rename deleted_files_manifest to deleted_manifest 2022-06-06 07:15:28 -07:00
aliasverify rust: update anyhow to 1.0.56 2022-04-07 04:31:34 -07:00
alpn reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
backfill_derived_data ethers.rs 2022-06-23 20:03:16 -07:00
benchmark_filestore rust: update anyhow to 1.0.56 2022-04-07 04:31:34 -07:00
benchmarks fix self imports 2022-06-28 15:27:12 -07:00
blobimport rust: update anyhow to 1.0.56 2022-04-07 04:31:34 -07:00
blobimport_lib fix self imports 2022-06-28 15:27:12 -07:00
blobrepo fix self imports 2022-06-28 15:27:12 -07:00
blobrepo_utils fix self imports 2022-06-28 15:27:12 -07:00
blobstore fix self imports 2022-06-28 15:27:12 -07:00
blobstore_healer Update clap in third-party/rust 2022-06-26 01:32:23 -07:00
blobstore_sync_queue fix self imports 2022-06-28 15:27:12 -07:00
bonsai_git_mapping reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
bonsai_globalrev_mapping reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
bonsai_hg_mapping reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
bonsai_svnrev_mapping reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
bookmarks fix self imports 2022-06-28 15:27:12 -07:00
bulkops fix self imports 2022-06-28 15:27:12 -07:00
cache_warmup fix self imports 2022-06-28 15:27:12 -07:00
cats reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
changesets fix self imports 2022-06-28 15:27:12 -07:00
cmdlib fix self imports 2022-06-28 15:27:12 -07:00
cmds fix self imports 2022-06-28 15:27:12 -07:00
commit_rewriting fix self imports 2022-06-28 15:27:12 -07:00
common fix self imports 2022-06-28 15:27:12 -07:00
derived_data fix self imports 2022-06-28 15:27:12 -07:00
edenapi_service fix self imports 2022-06-28 15:27:12 -07:00
filenodes reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
filestore fix self imports 2022-06-28 15:27:12 -07:00
git fix self imports 2022-06-28 15:27:12 -07:00
gotham_ext fix self imports 2022-06-28 15:27:12 -07:00
hgproto fix self imports 2022-06-28 15:27:12 -07:00
hook_tailer fix self imports 2022-06-28 15:27:12 -07:00
hooks reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
lfs_import rust: update anyhow to 1.0.56 2022-04-07 04:31:34 -07:00
lfs_import_lib fix self imports 2022-06-28 15:27:12 -07:00
lfs_protocol fix self imports 2022-06-28 15:27:12 -07:00
lfs_server fix self imports 2022-06-28 15:27:12 -07:00
manifest fix self imports 2022-06-28 15:27:12 -07:00
megarepo_api reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
mercurial fix self imports 2022-06-28 15:27:12 -07:00
metaconfig reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
microwave fix self imports 2022-06-28 15:27:12 -07:00
mononoke_api fix self imports 2022-06-28 15:27:12 -07:00
mononoke_api_hg fix self imports 2022-06-28 15:27:12 -07:00
mononoke_hg_sync_job fix self imports 2022-06-28 15:27:12 -07:00
mononoke_types fix self imports 2022-06-28 15:27:12 -07:00
mutable_counters reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
mutable_renames reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
newfilenodes fix self imports 2022-06-28 15:27:12 -07:00
observability reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
permission_checker reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
phases reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
pushrebase fix self imports 2022-06-28 15:27:12 -07:00
pushrebase_mutation_mapping reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
quiet_stream reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
rate_limiting reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
reachabilityindex fix self imports 2022-06-28 15:27:12 -07:00
regenerate_hg_filenodes reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
repo_attributes reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
repo_client fix self imports 2022-06-28 15:27:12 -07:00
repo_factory reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
repo_import fix self imports 2022-06-28 15:27:12 -07:00
revset fix self imports 2022-06-28 15:27:12 -07:00
scs fix self imports 2022-06-28 15:27:12 -07:00
scs_server fix self imports 2022-06-28 15:27:12 -07:00
segmented_changelog fix self imports 2022-06-28 15:27:12 -07:00
server fix self imports 2022-06-28 15:27:12 -07:00
sshrelay reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
statistics_collector rust: update anyhow to 1.0.56 2022-04-07 04:31:34 -07:00
streaming_clone fix self imports 2022-06-28 15:27:12 -07:00
tests fix self imports 2022-06-28 15:27:12 -07:00
time_window_counter reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
tools fix self imports 2022-06-28 15:27:12 -07:00
tunables reformat rust sources to one import per line 2022-06-28 11:44:12 -07:00
upload_globalrevs rust: update anyhow to 1.0.56 2022-04-07 04:31:34 -07:00
walker fix self imports 2022-06-28 15:27:12 -07:00
Cargo.toml update graphql-parser with a patch to parse intern schema 2022-06-28 12:05:42 -07:00
README.md mononoke: README.md update 2022-02-21 02:23:21 -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 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 is omitting some functions.

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:

  • Support for running thrift based apis.
  • Production metadata SQL support (e.g. something like a MySQL backend). We provide sqlite in OSS for now.
  • Production blobstore storage backends (e.g. something like S3). We provide SQL (on sqlite) and File System backends currently in OSS.

Linux is Mononoke's primary target plaform with OSS CI also running on MacOS. Other Unix-like OSes may be supported in the future.

Subsystem Docs

Most of our documentation is in internal systems, however a few subsystems have in-repo markdown docs available: