A Scalable, User-Friendly Source Control System.
Go to file
Dino Wernli b52cbcab45 Add support for context-enabled streams
Summary:
The diff adds an extension of streams to the `failures_ext` crate, allowing streams with error type `failure::Error` or `failure::Fail` to store a context.

As a proof-of-concept, the resulting `context()` function is applied to a stream in use in mononoke.

Reviewed By: lukaspiatkowski

Differential Revision: D7336012

fbshipit-source-id: 822c9dcd5b6c0a60470e8fd98fecd569928be7d1
2018-03-25 08:06:04 -07:00
async-compression/src mercurial_bundles: make Bundle2Stream sendable across threads 2018-01-15 10:36:32 -08:00
asyncmemo/src mononoke: rewrite asyncmemo to use Shared 2018-03-01 02:35:34 -08:00
blobrepo scm/mononoke: run changeset operations in worker threads 2018-03-23 13:47:55 -07:00
blobstore Introduce a delaying blob store, for testing 2018-03-22 07:03:27 -07:00
bookmarks mononoke: implement bookmarks using diesel 2018-03-21 14:24:43 -07:00
bookmarks_old/src mononoke: remove most of bookmarks_old 2018-03-23 13:47:54 -07:00
bundle2-resolver/src mercurial: distinguish between NodeHash used in mercurial Revlogs and in Mononoke Blobstore 2018-03-22 12:24:35 -07:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
changesets scm/mononoke: run changeset operations in worker threads 2018-03-23 13:47:55 -07:00
cmds Add support for context-enabled streams 2018-03-25 08:06:04 -07:00
common/pylz4/src mononoke: add compress function 2018-02-06 11:23:57 -08:00
docs mononoke: update schema docs 2018-03-22 09:02:42 -07:00
eden_server/src Change Scuba logging to use microseconds for poll time 2018-03-22 06:01:43 -07:00
futures-ext/src bundle2-resolver: reorganize resolver for easier handling of BlobRepo::create_changeset 2018-02-22 04:53:56 -08:00
heads Remove Repo trait completely 2018-01-15 06:37:27 -08:00
hgcli fix test-init.t 2018-01-01 17:52:36 -08:00
hgproto mononoke: add listkeys wireproto 2018-03-21 14:24:55 -07:00
hooks/src scm/mononoke: run changeset operations in worker threads 2018-03-23 13:47:55 -07:00
linknodes mercurial-types: allow converting strs to MPaths and RepoPaths 2017-12-18 22:08:37 -08:00
mercurial/src mercurial: distinguish between NodeHash used in mercurial Revlogs and in Mononoke Blobstore 2018-03-22 12:24:35 -07:00
mercurial-bundles/src mercurial: distinguish between NodeHash used in mercurial Revlogs and in Mononoke Blobstore 2018-03-22 12:24:35 -07:00
mercurial-types scm/mononoke: run changeset operations in worker threads 2018-03-23 13:47:55 -07:00
metaconfig/src mercurial: distinguish between NodeHash used in mercurial Revlogs and in Mononoke Blobstore 2018-03-22 12:24:35 -07:00
mononoke-types implement serialize and deserialize for file contents 2018-03-23 08:47:44 -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 prefix ChangesetId, ManifestId and BlobHash with Hg 2018-03-15 17:45:29 -07:00
revset/src scm/mononoke: run changeset operations in worker threads 2018-03-23 13:47:55 -07:00
server/src mercurial: distinguish between NodeHash used in mercurial Revlogs and in Mononoke Blobstore 2018-03-22 12:24:35 -07:00
sshrelay/src Initial commit 2017-07-27 18:00:19 -07:00
storage tp2: update rust-crates-io 2018-02-27 09:27:19 -08:00
tests scm/mononoke: run changeset operations in worker threads 2018-03-23 13:47:55 -07:00
vfs/src ensure all MPaths are non-empty 2018-03-22 05:21:57 -07:00
.gitignore add .gitignore 2018-03-13 11:58:20 -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 updates for rustfmt 0.3.4 2018-01-05 12:07:01 -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 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.