A Scalable, User-Friendly Source Control System.
Go to file
Stanislau Hlebik 7e3daf753c mononoke: implement bookmarks using diesel
Summary:
Implementation of the bookmarks trait using diesel. Currently it's quite slow
because it uses mutex to make the struct sync. Also it's not really async, even
though it returns future. The plan to make it async is to move the computation
on a separate thread pool.

Reviewed By: kulshrax

Differential Revision: D7255935

fbshipit-source-id: ce622a14af777ae470aecc039cef8c6cab9db41e
2018-03-21 14:24:43 -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 use Option<&MPathElement> instead of &Option<MPathElement> 2018-03-21 09:32:11 -07:00
blobstore Introduce a LazyMemblob test blobstore 2018-02-21 07:17:00 -08:00
bookmarks mononoke: implement bookmarks using diesel 2018-03-21 14:24:43 -07:00
bookmarks_old prefix ChangesetId, ManifestId and BlobHash with Hg 2018-03-15 17:45:29 -07:00
bundle2-resolver/src mononoke: pushkey part parsing 2018-03-16 04:21:32 -07:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
changesets mercurial_types: distinguish between HgManifestId and HgChangesetId in sql types 2018-03-21 05:14:37 -07:00
cmds use Option<&MPathElement> instead of &Option<MPathElement> 2018-03-21 09:32:11 -07:00
common/pylz4/src mononoke: add compress function 2018-02-06 11:23:57 -08:00
docs mononoke: schema for various Mononoke tables and data stores 2018-03-15 12:33:05 -07:00
eden_server/src use Option<&MPathElement> instead of &Option<MPathElement> 2018-03-21 09:32:11 -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: pushkey part parsing 2018-03-16 04:21:32 -07:00
hooks/src prefix ChangesetId, ManifestId and BlobHash with Hg 2018-03-15 17:45:29 -07:00
linknodes mercurial-types: allow converting strs to MPaths and RepoPaths 2017-12-18 22:08:37 -08:00
mercurial/src use Option<&MPathElement> instead of &Option<MPathElement> 2018-03-21 09:32:11 -07:00
mercurial-bundles/src mononoke: pushkey part parsing 2018-03-16 04:21:32 -07:00
mercurial-types use Option<&MPathElement> instead of &Option<MPathElement> 2018-03-21 09:32:11 -07:00
metaconfig/src Add support for context-enabled futures. 2018-03-21 04:32:39 -07:00
mononoke-types use Option<&MPathElement> instead of &Option<MPathElement> 2018-03-21 09:32:11 -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 prefix ChangesetId, ManifestId and BlobHash with Hg 2018-03-15 17:45:29 -07:00
server/src use Option<&MPathElement> instead of &Option<MPathElement> 2018-03-21 09:32:11 -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 Test two commits in a row, too 2018-03-21 10:06:19 -07:00
vfs/src use Option<&MPathElement> instead of &Option<MPathElement> 2018-03-21 09:32:11 -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.