A Scalable, User-Friendly Source Control System.
Go to file
Siddharth Agarwal 76e544e0e8 mononoke-types: change context keys to lowercase strings
Summary:
This is going to make life more convenient in upcoming diffs, when these strings are going to be used to generate blobstore keys.

The switch to lowercase is to make those blobstore keys look nicer.

The switch to string literals is because Rust really supports strings a lot better than it does bytestrings. In particular, `concat!` for literals works with strings, but there's no equivalent for bytestring literals. For current purposes the two are equivalent -- there's no runtime cost to using a string literal here.

Reviewed By: StanislavGlebik

Differential Revision: D7598616

fbshipit-source-id: f2fa543429921cca5fd8dc354ea11000fdab3f76
2018-04-13 11:34:14 -07:00
async-compression/src mercurial_bundles: make Bundle2Stream sendable across threads 2018-01-15 10:36:32 -08:00
asyncmemo/src add some debug code to figure out a failing test 2018-04-02 18:18:38 -07:00
blobrepo blobrepo: add some comments around copy info 2018-04-13 11:34:14 -07:00
blobstore Introduce a delaying blob store, for testing 2018-03-22 07:03:27 -07:00
bookmarks mononoke: change the schema of bookmarks table 2018-04-09 08:03:51 -07:00
bookmarks_old/src mononoke: remove most of bookmarks_old 2018-03-23 13:47:54 -07:00
bundle2-resolver/src bundle2-resolver: switch filelog from using HgBlob to Bytes 2018-04-13 11:34:14 -07:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
changesets mononoke: update changesets table 2018-04-04 01:27:34 -07:00
cmds Update Mononoke to use with_context on futures/streams 2018-04-13 11:00:42 -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 mercurial-types: make the Type enum use FileType 2018-04-06 13:16:55 -07:00
filenodes mononoke: add open_or_create and insert_chunk_size params 2018-03-29 03:29:57 -07:00
futures-ext/src mononoke: fix select_all() 2018-04-10 02:22:51 -07: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: use mercurial::NodeHash in hgproto handling 2018-04-13 10:00:03 -07:00
hooks/src scm/mononoke: run changeset operations in worker threads 2018-03-23 13:47:55 -07:00
mercurial/src blobrepo: add some comments around copy info 2018-04-13 11:34:14 -07:00
mercurial-bundles/src server: gettreepack method preparation to return remapped Root Manifest hashes 2018-04-13 10:00:03 -07:00
mercurial-types blobrepo: add some comments around copy info 2018-04-13 11:34:14 -07:00
metaconfig/src mercurial-types-mocks: redo the way mock manifests are defined 2018-04-06 13:16:55 -07:00
mononoke-types mononoke-types: change context keys to lowercase strings 2018-04-13 11:34:14 -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 server: gettreepack method preparation to return remapped Root Manifest hashes 2018-04-13 10:00:03 -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 mononoke: regenerate test fixtures 2018-04-13 02:47:24 -07:00
vfs/src mercurial-types-mocks: redo the way mock manifests are defined 2018-04-06 13:16:55 -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.