sapling/eden/mononoke
Pierre Chevalier 2a4d191a78 Fix clippy lint
Summary:
clippy complains with

```
non-binding `let` on a future
consider awaiting the future or dropping explicitly with `std::mem::drop`
for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_future
`#[warn(clippy::let_underscore_future)]` on by default
```

Because the future we are not awaiting comes from `tokio::spawn`, it is still executing. Use `std::mem::drop` to make the intent of ignoring the handle explicit while satisfying clippy.

Reviewed By: yancouto

Differential Revision: D43468794

fbshipit-source-id: 9da8fe940e00c3043fdfba7d25c8add94ca6818e
2023-02-23 09:48:42 -08:00
..
acl_regions Clippy fixes 1/N 2023-02-15 05:37:19 -08:00
admin admin: Verify bookmarks should use commit sync outcome 2023-02-16 04:57:11 -08:00
aliasverify Rust crate rsa 0.8.1 and required fixes 2023-02-16 17:03:23 -08:00
alpn update to rust 1.64.0 2022-09-27 15:18:58 -07:00
backfill_derived_data Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
benchmark_filestore Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
benchmarks Clippy fixes 1/N 2023-02-15 05:37:19 -08:00
blobimport blobrepo: Remove get_repoid 2023-01-23 05:55:08 -08:00
blobimport_lib Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
blobrepo Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
blobrepo_utils Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
blobstore third-party/rust: add experimental feature to zstd 2023-02-23 09:28:19 -08:00
blobstore_healer Upgrade Clap 3 to 3.2.23 2023-02-10 09:18:20 -08:00
blobstore_sync_queue tunables: optionify tunables and remove get_ prefix 2023-02-09 08:43:11 -08:00
bonsai_git_mapping Rename prepushrebase to in_critical_section and do it in the critical section 2023-02-14 10:08:48 -08:00
bonsai_globalrev_mapping Create globalrevs when backsyncing 2023-02-23 06:02:05 -08:00
bonsai_hg_mapping Clippy fixes 1/N 2023-02-15 05:37:19 -08:00
bonsai_svnrev_mapping Clippy fixes 1/N 2023-02-15 05:37:19 -08:00
bookmarks Fix clippy lint 2023-02-23 09:48:42 -08:00
bulkops Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
cache_warmup Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
cats bump version to 0.1.2 2022-10-20 12:08:11 -07:00
changesets Clippy Fixes 2/N 2023-02-22 02:38:09 -08:00
cmdlib Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
cmds Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
commit_rewriting Create globalrevs when backsyncing 2023-02-23 06:02:05 -08:00
commit_traversal/slice_repository update to rust 1.66.1 2023-02-05 21:16:51 -08:00
common Use assembly line next_step in hg sync job 2023-02-22 07:31:06 -08:00
derived_data Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
edenapi_service tunables: optionify tunables and remove get_ prefix 2023-02-09 08:43:11 -08:00
features Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
filenodes Update to async-trait 0.1.58 2022-10-19 17:35:20 -07:00
filestore Rust crate rsa 0.8.1 and required fixes 2023-02-16 17:03:23 -08:00
git Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
gotham_ext Location service: add authorisation endpoint 2023-02-23 08:06:03 -08:00
hgproto Half as many Context extension traits 2022-11-01 02:34:08 -07:00
hook_tailer Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
hooks Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
land_service Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
lfs_import_lib Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
lfs_protocol update to rust 1.64.0 2022-09-27 15:18:58 -07:00
lfs_server Upgrade Clap 3 to 3.2.23 2023-02-10 09:18:20 -08:00
manifest Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
megarepo_api Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
mercurial third-party/rust: remove memmap and migrate to memmap2 2023-02-23 09:28:19 -08:00
metaconfig Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
microwave Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
mononoke_api Implement upload_git_object method in SCS 2023-02-23 09:30:04 -08:00
mononoke_api_hg Remove blobrepo from repo_client:remotefilelog 2023-02-22 04:43:43 -08:00
mononoke_configs Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
mononoke_hg_sync_job Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
mononoke_repos Worker per repo 2023-01-23 07:52:47 -08:00
mononoke_types Unfork chrono-english 2023-02-22 04:35:35 -08:00
mutable_counters Log mutable counters to ODS 2022-12-09 09:24:56 -08:00
mutable_renames tunables: optionify tunables and remove get_ prefix 2023-02-09 08:43:11 -08:00
newfilenodes tunables: optionify tunables and remove get_ prefix 2023-02-09 08:43:11 -08:00
observability update regex to 1.6.0 2022-10-31 21:28:04 -07:00
permission_checker Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
phases Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
pushrebase Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
pushrebase_mutation_mapping Rename prepushrebase to in_critical_section and do it in the critical section 2023-02-14 10:08:48 -08:00
quiet_stream Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
rate_limiting bump version to 0.1.2 2022-10-20 12:08:11 -07:00
reachabilityindex Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
regenerate_hg_filenodes blobrepo: remove BlobRepo::blobstore 2023-01-26 10:13:22 -08:00
repo_attributes Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
repo_authorization Add internal-only authorization check in upload_git_object endpoint 2023-02-23 09:30:04 -08:00
repo_client Create globalrevs when backsyncing 2023-02-23 06:02:05 -08:00
repo_factory Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
repo_import Create globalrevs when backsyncing 2023-02-23 06:02:05 -08:00
revset Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
scs Add internal-only authorization check in upload_git_object endpoint 2023-02-23 09:30:04 -08:00
scs_server Add internal-only authorization check in upload_git_object endpoint 2023-02-23 09:30:04 -08:00
segmented_changelog Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
server third-party/rust: remove the sha-1 crate 2023-02-14 04:44:22 -08:00
sshrelay third-party/rust: add experimental feature to zstd 2023-02-23 09:28:19 -08:00
statistics_collector Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
streaming_clone Upgrade Clap 3 to 3.2.23 2023-02-10 09:18:20 -08:00
tests Create globalrevs when backsyncing 2023-02-23 06:02:05 -08:00
time_window_counter bump version to 0.1.2 2022-10-20 12:08:11 -07:00
tools Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
tunables commit_graph_compat: start bubbling up errors when adding to the new commit graph 2023-02-13 05:58:18 -08:00
upload_globalrevs blobrepo: remove BlobRepo::blobstore 2023-01-26 10:13:22 -08:00
walker Distinguish between BookmarkKey and BookmarkName 2023-02-22 08:53:04 -08:00
wireproto_handler blobrepo: remove BlobRepo::get_blobstore 2023-01-26 10:13:22 -08:00
Cargo.toml Unfork deltae 2023-02-22 08:50:27 -08: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: