A Scalable, User-Friendly Source Control System.
Go to file
Stanislau Hlebik 8c122b3b76 mononoke: save latest replayed synced id in mutable_counters
Summary:
Previously we always restart replaying from the beginning. starting from this
diff we actually record the latest replayed id in the mutable_counters table.

Special flag `--loop-forever` was added. It should be set in production, but for tests we don't want a binary to run forever.

Reviewed By: ikostia

Differential Revision: D14226938

fbshipit-source-id: cbfde15a506ee94b0fa72015d9dcfd550f5b8ca3
2019-02-27 07:01:48 -08:00
apiserver Add method to get file history 2019-02-26 10:02:03 -08:00
async-compression Revert D13575719: [tp2] Update zstd to 1.3.8 as 1.3.x 2019-01-23 18:18:55 -08:00
asyncmemo rust/stats: don't require users to import lazy_static 2018-12-02 14:34:39 -08:00
blobimport_lib/src mononoke: do not upload same bookmark twice in blobimport 2019-02-11 05:50:55 -08:00
blobrepo mononoke: fix combinatorial explosion when creating commits for mergy repos 2019-02-27 04:31:56 -08:00
blobrepo_utils monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
blobstore mononoke: Allow a dynamic stat prefix for CountedBlobstore 2019-02-15 11:59:53 -08:00
blobstore-sync-queue mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
bonsai-hg-mapping mononoke: remove mysql schemas 2019-02-08 03:04:01 -08:00
bonsai-utils monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
bookmarks mononoke: do not fail in case of no-op update 2019-02-22 01:57:48 -08:00
bundle2-resolver mononoke: do not change timezone during pushrebase 2019-02-21 05:47:31 -08:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
cache-warmup/src blobrepo/src/file.rs: use HgFileNodeId instead of HgNodeHash and propagate it 2019-02-07 04:04:28 -08:00
changesets mononoke: remove mysql schemas 2019-02-08 03:04:01 -08:00
cmdlib/src mononoke: save latest replayed synced id in mutable_counters 2019-02-27 07:01:48 -08:00
cmds mononoke args: use cmdlib::args to unify defining and parsing of --myrouter-port flag 2019-02-15 13:16:27 -08:00
common unify lz4 compression with hg 2019-02-21 06:27:53 -08:00
failure_ext failure_ext: add SlogKVErrorKey enum to better handle SlogKVError handling 2019-02-20 08:52:09 -08:00
filenodes mononoke: remove mysql schemas 2019-02-08 03:04:01 -08:00
futures-ext Ignore flaky test asynchronize_parallel from futures-ext 2019-02-12 15:27:22 -08:00
hgcli hgcli: user friendly message to indicate request is served by mononoke 2019-02-25 07:14:20 -08:00
hgproto mononoke: revert D13751782 2019-02-15 05:12:29 -08:00
hook_tailer mononoke args: use cmdlib::args to unify defining and parsing of --myrouter-port flag 2019-02-15 13:16:27 -08:00
hooks mononoke: revert D14143772 2019-02-21 05:47:31 -08:00
mercurial unify lz4 compression with hg 2019-02-21 06:27:53 -08:00
mercurial-bundles Remove HgNodeHash from getbundleresponse 2019-02-11 07:32:42 -08:00
mercurial-types types: split HistoryEntry into two types 2019-02-21 14:39:15 -08:00
metaconfig hooks: enable configuring hooks for all bookmarks matching a given regex 2019-02-13 09:07:18 -08:00
mononoke-api/src monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
mononoke-types mononoke: do not change timezone during pushrebase 2019-02-21 05:47:31 -08:00
netstring rust/netstring: convert to Rust 2018 2019-02-12 08:43:24 -08:00
phases mononoke: save bundles for replay 2019-02-11 05:50:55 -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
reachabilityindex Deprecate unused GenBFS 2019-02-11 01:34:48 -08:00
ready_state/src server: split server binary crate into 4 separate crates 2018-07-17 04:54:58 -07:00
repo_client Use maplit 2019-02-25 16:15:50 -08:00
revset monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
server slog_ext: add SimpleFormatWithError to improve client side logging readability 2019-02-20 08:52:09 -08:00
sshrelay rust/netstring: convert from error-chain to failure 2018-09-12 20:37:41 -07:00
tests mononoke: save latest replayed synced id in mutable_counters 2019-02-27 07:01:48 -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 unify lz4 compression with hg 2019-02-21 06:27:53 -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
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 Back out D13589633 "revert D13584553, D13175922, D13166085 to fix rust builds" 2019-01-09 13:31:19 -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.