A Scalable, User-Friendly Source Control System.
Go to file
Stanislau Hlebik 8f0916fdf0 mononoke: add pylz4 crate
Summary:
Add a separate crate that uses lz4 in the same way as python lz4 library. The
main difference is that first 4 bytes are length of the raw data in le32
format. The reason for moving it in a separate crate is to use pylz4 for
remotefilelog getfiles method.

Also removed one panic and replaced it with error.

Reviewed By: jsgf

Differential Revision: D6884918

fbshipit-source-id: 1b05381c045a1f138ab28820175289233b07a91d
2018-02-06 11:23:57 -08:00
async-compression/src mercurial_bundles: make Bundle2Stream sendable across threads 2018-01-15 10:36:32 -08:00
asyncmemo/src asyncmemo: record all the tasks that polled the future 2018-01-19 02:18:10 -08:00
blobrepo/src mononoke: rename get_blob and fetch_blob_from_blobstore 2018-02-06 02:20:39 -08:00
blobstore Remove Error, GetBlob and PutBlob from BlobStore 2017-12-11 07:05:53 -08:00
bookmarks Use ChangesetId rather than NodeHash in bookmarks 2018-01-22 10:23:36 -08:00
bytes-ext/src thrift: extract SizeCounter to a separate crate 2018-01-01 17:52:35 -08:00
cmds Convert NodeHash to ChangesetId in BlobChangeset 2018-01-31 13:36:45 -08:00
common/pylz4/src mononoke: add pylz4 crate 2018-02-06 11:23:57 -08:00
eden_server/src mononoke: rename get_blob and fetch_blob_from_blobstore 2018-02-06 02:20:39 -08:00
futures-ext/src future-ext: introduce ByteStream for efficient processing stream of bytes 2018-01-15 10:36:32 -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 hgproto: return stream of responses to get infinite back-and-forths in handler 2018-02-06 06:22:20 -08:00
hooks/src Remove Repo trait completely 2018-01-15 06:37:27 -08:00
linknodes mercurial-types: allow converting strs to MPaths and RepoPaths 2017-12-18 22:08:37 -08:00
mercurial/src mononoke: add pylz4 crate 2018-02-06 11:23:57 -08:00
mercurial-bundles/src mercurial-bundles: add debugging log to part_outer to investigate received headers 2018-02-06 06:22:20 -08:00
mercurial-types mononoke: make it possible to create root entry 2018-02-02 07:01:57 -08:00
metaconfig/src Use ChangesetId when initializing RevlogRepo 2018-02-06 10:21:33 -08: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 Repo trait completely 2018-01-15 06:37:27 -08:00
revset/src modify changesetid related code 2018-01-16 07:57:25 -08:00
server/src Use ChangesetId when initializing RevlogRepo 2018-02-06 10:21:33 -08:00
sshrelay/src Initial commit 2017-07-27 18:00:19 -07:00
storage rust: failure cleanup pass 2017-12-07 14:10:17 -08:00
tests mononoke: reverse nodes in the pull 2018-02-06 02:20:39 -08:00
vfs/src Enable mysql and sqlite features for diesel crate 2018-02-01 15:38:04 -08: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.