A Scalable, User-Friendly Source Control System.
Go to file
Mark Thomas 67913196ed Split SCS thrift service trait from the main implementation
Summary:
`SourceControlServiceImpl` has duplicate methods for each of the thrift
methods: one base method that implements the functionality, and one trait
method that delegates to the base method.

This could be confusing if we fail to resolve the correct method.

Instead, split the two out to separate structs by making the thrift server a
wrapper around the base implementation that only contains the delegation
methods.

Reviewed By: mitrandir77

Differential Revision: D18745443

fbshipit-source-id: 5acdad2f1f66562ecf71f85ebf2b83d15f0edc9a
2019-11-29 05:16:49 -08:00
apiserver rust: Replace implementation of failure_ext to remove failure dependency 2019-11-22 09:27:59 -08:00
async-compression tp2/rust: update rust-crates-io 2019-10-31 09:40:14 -07:00
asyncmemo Yearless license header 2019-10-11 13:52:34 -07:00
benchmark mononoke: Allow passing stack-size to benchmark stack generator 2019-11-27 00:26:02 -08:00
blobimport_lib/src Teach blobimport to set up large repo mappings for imports to megarepo 2019-11-27 00:25:59 -08:00
blobrepo rust: Replace implementation of failure_ext to remove failure dependency 2019-11-22 09:27:59 -08:00
blobrepo_utils Remove direct dependencies on failure crate 2019-11-18 16:43:16 -08:00
blobstore mononoke/cacheblob: track cache hits and misses 2019-11-19 06:56:04 -08:00
blobstore_sync_queue Yearless license header 2019-10-11 13:52:34 -07:00
bonsai_globalrev_mapping rust: Replace derive(Fail) with derive(Error) 2019-11-14 22:04:37 -08:00
bonsai_hg_mapping rust: Replace derive(Fail) with derive(Error) 2019-11-14 22:04:37 -08:00
bonsai_utils Re-sync with internal repository 2019-11-13 20:16:37 +01:00
bookmarks Cache bookmarks immediately after a push 2019-11-27 09:24:22 -08:00
cache_warmup/src Remove direct dependencies on failure crate 2019-11-18 16:43:16 -08:00
changesets mononoke/changesets: Make SelectChangeset >800x times faster on sqlite 2019-11-20 07:12:40 -08:00
cmdlib/src Teach blobimport to set up large repo mappings for imports to megarepo 2019-11-27 00:25:59 -08:00
cmds config: convert structs to thrift definitions 2019-11-28 06:34:38 -08:00
commit_rewriting Teach blobimport to set up large repo mappings for imports to megarepo 2019-11-27 00:25:59 -08:00
common mononoke: extend --readonly-storage support to sqlite 2019-11-15 00:57:52 -08:00
derived_data mononoke: root mapping for deleted files manifest 2019-11-27 00:26:01 -08:00
failure_ext Drop remaining dependencies on failure crate 2019-11-22 16:33:14 -08:00
filenodes rust: Replace derive(Fail) with derive(Error) 2019-11-14 22:04:37 -08:00
filestore/src rust: Replace derive(Fail) with derive(Error) 2019-11-14 22:04:37 -08:00
futures-ext rust-shed: move common/rust/cloned to the shed 2019-11-28 07:25:34 -08:00
hgcli Re-sync with internal repository 2019-11-13 20:16:37 +01:00
hgproto rust: Replace implementation of failure_ext to remove failure dependency 2019-11-22 09:27:59 -08:00
hook_tailer add scuba logging to hook execution. 2019-11-15 07:06:31 -08:00
hooks mononoke: add metaconfig boilerplate for source control services monitoring 2019-11-21 11:06:06 -08:00
lfs_import_lib/src rust: Replace implementation of failure_ext to remove failure dependency 2019-11-22 09:27:59 -08:00
lfs_protocol/src mononoke/lfs_server: extract lfs_protocol 2019-10-17 06:53:53 -07:00
lfs_server/src mononoke: Log user agent in LFS server 2019-11-29 04:24:46 -08:00
manifest Remove direct dependencies on failure crate 2019-11-18 16:43:16 -08:00
mercurial bookmarks: move 'bookmarks' state to storevfs 2019-11-27 11:36:25 -08:00
metaconfig config: convert structs to thrift definitions (2) 2019-11-28 06:34:39 -08:00
mononoke_api/src add commit_find_files 2019-11-27 00:26:02 -08:00
mononoke_types source control service blame integration 2019-11-27 00:26:00 -08:00
netstring rust: Replace derive(Fail) with derive(Error) 2019-11-14 22:04:37 -08:00
phases rust: Replace derive(Fail) with derive(Error) 2019-11-14 22:04:37 -08:00
pushrebase/src mononoke: remove unused errors from bundle2_resolver 2019-11-27 11:56:26 -08:00
py_tar_utils Yearless license header 2019-10-11 13:52:34 -07:00
reachabilityindex rust: Replace implementation of failure_ext to remove failure dependency 2019-11-22 09:27:59 -08:00
ready_state/src Yearless license header 2019-10-11 13:52:34 -07:00
repo_client mononoke: rename RepoSyncTarget into PushRedirector 2019-11-27 11:56:27 -08:00
revset Remove direct dependencies on failure crate 2019-11-18 16:43:16 -08:00
scs_server/src Split SCS thrift service trait from the main implementation 2019-11-29 05:16:49 -08:00
server mononoke: rename RepoSyncTarget into PushRedirector 2019-11-27 11:56:27 -08:00
sshrelay/src Re-sync with internal repository 2019-11-13 20:16:37 +01:00
tests mononoke: Log user agent in LFS server 2019-11-29 04:24:46 -08:00
walker/src mononoke: walker move from cmds/graph_walker to walker 2019-11-22 05:29:43 -08:00
.gitignore add .gitignore 2018-03-13 11:58:20 -07:00
.rlsconfig cargo_from_buck: make it possible to define autocargo projects without generated Cargo.toml files 2019-11-21 14:16:58 -08:00
.travis.yml Add travis-CI integration by adding .travis.yml file. 2018-07-26 10:09:32 -07:00
CONTRIBUTING.md Initial commit 2017-07-27 18:00:19 -07:00
LICENSE Initial commit 2017-07-27 18:00:19 -07:00
packman.yml mononoke: add mononoke_exec helper script 2019-06-14 03:59:58 -07:00
README.md mononoke: simple useless change 2019-05-21 12:25:10 -07:00
rustfmt.toml Get rustfmt/rls working in fbcode again. 2019-09-19 18:06:23 -07: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 such as Eden.

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