A Scalable, User-Friendly Source Control System.
Go to file
Stanislau Hlebik 3966192f01 mononoke: split hooks crate
Summary:
The main reason for doing it is to remove dependency on `BlobRepo` from hooks. Most of the  `hooks` crate code needs from `BlobRepo` just a HgBlobChangeset type, which was moved to a separate crate in one of the previous diffs. There is just a small piece of code that depends on blobrepo, and it was moved in the separate crate.

Because of that changing anything in BlobRepo won't trigger rebuilding of most of the hooks crate.

Reviewed By: lukaspiatkowski

Differential Revision: D13878208

fbshipit-source-id: d74336e959282c176258c653d4c408854e1f1849
2019-01-31 00:41:48 -08:00
apiserver mononoke: split metaconfig crate 2019-01-31 00:41:48 -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: move blobimport_lib out of cmdlib 2019-01-30 06:31:10 -08:00
blobrepo mononoke: blobrepo errors & blob-changeset to a separate crates 2019-01-31 00:41:48 -08:00
blobrepo_utils mononoke: fix pushrebasing an empty commit 2019-01-28 14:40:40 -08:00
blobstore mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
blobstore-sync-queue mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
bonsai-hg-mapping add phases calculation for public roots 2019-01-22 05:58:46 -08:00
bonsai-utils mononoke: pass CoreContext down to blobstore 2018-12-04 11:40:15 -08:00
bookmarks mononoke: back out shared-future-based bookmark cache 2019-01-14 07:09:23 -08:00
bundle2-resolver mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
cache-warmup/src mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
changesets changesets: add get_many method 2019-01-21 12:58:44 -08:00
cmdlib/src mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
cmds mononoke: split hooks crate 2019-01-31 00:41:48 -08:00
common mononoke: decrease the number of connections for sharded db 2019-01-23 12:15:38 -08:00
failure_ext tp2/rust: update to rust-1.30.0 2018-11-06 16:17:18 -08:00
filenodes mononoke: fix sharded filenodes 2019-01-17 02:33:35 -08:00
futures-ext mononoke: fix hgcli connection error in case of failures 2019-01-28 14:40:40 -08:00
hgcli mononoke: fix hgcli connection error in case of failures 2019-01-28 14:40:40 -08:00
hgproto Back out "Improved internal representation of GetbundleArgs.bundlecaps" 2019-01-21 07:43:26 -08:00
hook_tailer mononoke: split hooks crate 2019-01-31 00:41:48 -08:00
hooks mononoke: split hooks crate 2019-01-31 00:41:48 -08:00
mercurial mononoke: change how copy information is found 2019-01-17 02:33:35 -08:00
mercurial-bundles add time stats to phases calculation 2019-01-09 09:23:41 -08:00
mercurial-types mononoke: fix pushrebasing an empty commit 2019-01-28 14:40:40 -08:00
metaconfig mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
mononoke-api/src Change Arc<BlobRepo> to BlobRepo 2019-01-18 11:37:37 -08:00
mononoke-types mononoke: change the way file content blobs are hashed 2019-01-17 02:33:35 -08:00
netstring/src rust/netstring: move encode and decode into separate modules. 2018-09-12 20:37:41 -07:00
phases optimization: add new api for phasing that allows to reuse bookmarks 2019-01-25 10:14:42 -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 mononoke: blobrepo errors & blob-changeset to a separate crates 2019-01-31 00:41: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 mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
revset mononoke: migrate RangeNodeStream to ChangesetFetcher 2019-01-30 06:31:10 -08:00
server mononoke: split hooks crate 2019-01-31 00:41:48 -08:00
sshrelay rust/netstring: convert from error-chain to failure 2018-09-12 20:37:41 -07:00
tests remotefilelog: rename debugmononokeapi to debughttphealthcheck 2019-01-30 18:31: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 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 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.