A Scalable, User-Friendly Source Control System.
Go to file
Stanislau Hlebik d02dfe3cd9 mononoke: use RepoConfig for all cmd libraries
Summary:
Previously we manually specified blobstore type and all the necessary
parameters. That was error-prone but worked because we had only one blobstore.
Since we are going to add secondary blobstores soon configuring binaries like
blobimport will be harder because we'll need to specify parameters for all
blobstores. Let's make it so that
blobimport, mononoke admin and other binaries read the configuration the same
way as Mononoke does it i.e. via toml files.

Reviewed By: lukaspiatkowski

Differential Revision: D13183244

fbshipit-source-id: 99caa6348133acec11dd04ae44e1f9f0a8ebb197
2018-12-04 03:52:26 -08:00
apiserver mononoke: remove mononoke configs, use toml files 2018-12-04 03:52:26 -08:00
async-compression async-compression: re-add support for zstd decompression with warnings 2018-09-07 09:53:25 -07:00
asyncmemo rust/stats: don't require users to import lazy_static 2018-12-02 14:34:39 -08:00
blobrepo mononoke: reverse dependencies between BlobRepo and metaconfig 2018-12-04 03:52:26 -08:00
blobrepo_utils mononoke: pass CoreContext down to bonsai-hg-mapping 2018-11-30 10:14:22 -08:00
blobstore rust/stats: don't require users to import lazy_static 2018-12-02 14:34:39 -08:00
bonsai-hg-mapping rust/stats: don't require users to import lazy_static 2018-12-02 14:34:39 -08:00
bonsai-utils bonsai-utils/diff: add ChangedReusedId state 2018-07-31 10:36:31 -07:00
bookmarks mononoke: pass CoreContext down to bookmarks 2018-12-04 01:16:32 -08:00
bundle2-resolver mononoke: pass CoreContext down to bookmarks 2018-12-04 01:16:32 -08:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
cache-warmup/src mononoke: pass CoreContext down to filenodes 2018-12-04 01:16:32 -08:00
changesets rust/stats: don't require users to import lazy_static 2018-12-02 14:34:39 -08:00
cmdlib/src mononoke: use RepoConfig for all cmd libraries 2018-12-04 03:52:26 -08:00
cmds mononoke: remove mononoke configs, use toml files 2018-12-04 03:52:26 -08:00
common mononoke: efficient search of max generation in NodeFrontier 2018-11-30 04:34:02 -08:00
docs CODEMOD: rename mercurial::Parents to HgParents 2018-04-16 03:40:25 -07:00
eden_server Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00
failure_ext tp2/rust: update to rust-1.30.0 2018-11-06 16:17:18 -08:00
filenodes mononoke: pass CoreContext down to filenodes 2018-12-04 01:16:32 -08:00
futures-ext rust-crates-io: add crossbeam to tp2 2018-10-08 21:36:00 -07:00
hgcli mononoke: do not fail if same certificate was added twice 2018-09-27 10:37:00 -07:00
hgproto Allow hook manager cache params to be configured 2018-11-22 03:30:17 -08:00
hook_tailer mononoke: remove mononoke configs, use toml files 2018-12-04 03:52:26 -08:00
hooks mononoke: use skiplist in getbundle 2018-11-29 08:19:30 -08:00
hooks_old/src mononoke: use ChangesetId in Changesets 2018-08-06 10:36:43 -07:00
mercurial RevIdx flags ExtStored parsing 2018-11-22 10:33:58 -08:00
mercurial-bundles tp2/rust: update to rust-1.30.0 2018-11-06 16:17:18 -08:00
mercurial-types optimization of getting file of a certain revision 2018-11-20 05:17:27 -08:00
metaconfig mononoke: reverse dependencies between BlobRepo and metaconfig 2018-12-04 03:52:26 -08:00
mononoke-api/src mononoke: pass CoreContext down to bonsai-hg-mapping 2018-11-30 10:14:22 -08:00
mononoke-types mononoke: skiplist thrift serialization 2018-11-29 08:19:30 -08:00
netstring/src rust/netstring: move encode and decode into separate modules. 2018-09-12 20:37:41 -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
reachabilityindex mononoke: pass CoreContext down to bookmarks 2018-12-04 01:16:32 -08:00
ready_state/src server: split server binary crate into 4 separate crates 2018-07-17 04:54:58 -07:00
repo_client mononoke: pass CoreContext down to filenodes 2018-12-04 01:16:32 -08:00
revset mononoke: pass CoreContext down to bookmarks 2018-12-04 01:16:32 -08:00
server mononoke: remove mononoke configs, use toml files 2018-12-04 03:52:26 -08:00
sshrelay rust/netstring: convert from error-chain to failure 2018-09-12 20:37:41 -07:00
storage Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00
tests mononoke: use RepoConfig for all cmd libraries 2018-12-04 03:52:26 -08:00
.gitignore add .gitignore 2018-03-13 11:58:20 -07:00
.travis.yml Add travis-CI integration by adding .travis.yml file. 2018-07-26 10:09:32 -07:00
Cargo.toml Restore cachelib blob caching 2018-08-07 11:37:37 -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
packman.yml packman config file for admin tool 2018-06-04 22:09:49 -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.