A Scalable, User-Friendly Source Control System.
Go to file
Jeremy Fitzhardinge c3a0dc052f mononoke: impl Repo for Box<Repo + Sync + Send>
Summary:
Rust doesn't do variant typing except for lifetimes, so an impl of
Repo for Box<Repo> doesn't apply to Box<Repo + Sync + Send>. Since in practice
all our Repos are Sync + Send, just implement it for that.

(AFAICT implementing it for both would result in a big chunk of copied code,
and it doesn't seem worth doing that or introducing a macro since we don't seem
to be using the non-Sync+Send version.)

Reviewed By: farnz

Differential Revision: D6208968

fbshipit-source-id: a039a31e360255ca104ac2de833ec3d61e8128d7
2017-11-01 10:36:09 -07:00
async-compression/src Initial commit 2017-07-27 18:00:19 -07:00
asyncmemo/src rust: asyncmemo: add failure test 2017-08-29 12:36:18 -07:00
blobrepo/src use RepoPath instead of MPath in a few places 2017-10-31 14:26:39 -07:00
blobstore blobstore: add RetryingBlobstore that retries failed put/get operations with delay 2017-10-31 20:53:08 -07:00
bookmarks bookmarks: unify bookmark tests 2017-10-17 09:09:48 -07:00
cmds blobstore: add RetryingBlobstore that retries failed put/get operations with delay 2017-10-31 20:53:08 -07:00
eden_server/src use RepoPath instead of MPath in a few places 2017-10-31 14:26:39 -07:00
futures-ext/src Removed deprecated Tokio APIs from common/rust/futures-ext 2017-10-05 11:52:02 -07:00
heads heads: unify heads tests 2017-10-17 16:59:27 -07:00
hgcli hgcli: add a bash script for using mononoke deployed inside tupperware 2017-10-18 05:37:00 -07:00
hgproto/src mononoke: fix param parsing for unbundle 2017-10-26 07:20:12 -07:00
hooks/src add a prototype to implement hooks 2017-09-05 22:52:51 -07:00
linknodes make the Linknodes trait Sync 2017-10-31 12:29:45 -07:00
mercurial/src use RepoPath instead of MPath in a few places 2017-10-31 14:26:39 -07:00
mercurial-bundles/src mercurial-types: make Arbitrary for MPaths also generate empty paths 2017-10-17 00:36:28 -07:00
mercurial-graphql/src rename Path to MPath 2017-09-22 17:27:03 -07:00
mercurial-types mononoke: impl Repo for Box<Repo + Sync + Send> 2017-11-01 10:36:09 -07:00
metaconfig/src server: refactor the main function for future diffs 2017-10-04 14:06:00 -07:00
py_tar_utils move tar_utils.py from update_rust into an open sourceable location 2017-09-14 13:52:23 -07:00
repoinfo/src remove uses of deprecated Tokio APIs from fbcode/scm/mononoke/repoinfo 2017-10-05 14:02:00 -07:00
revset/src add a range revset 2017-11-01 08:25:57 -07:00
server/src mononoke: fix param parsing for unbundle 2017-10-26 07:20:12 -07:00
sshrelay/src Initial commit 2017-07-27 18:00:19 -07:00
storage factor out file-based key-value store from FileBookmarks 2017-10-10 07:29:30 -07:00
tests mononoke: rename server scm/mononoke/server:server -> scm/mononoke:mononoke 2017-10-31 10:14:30 -07:00
vfs/src use RepoPath instead of MPath in a few places 2017-10-31 14:26:39 -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
README.md mention in README that Mononoke supports Mercurial 2017-07-28 14:41:37 -07:00
rustfmt.toml config for rustfmt-nightly 0.2.6 2017-09-18 10:50:27 -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.