5adf5c109b
Summary: This diff implements hooks which act upon individual files. The results of the hooks are cached using Asyncmemo. The cache is currently keyed on (changeset_id, hook_name, file path) but this will change to file content hash once we move to Bonsai changesets. Reviewed By: StanislavGlebik Differential Revision: D8707726 fbshipit-source-id: ceaf94abd09e1dd7f6b2d8f9c87a9a221439a252 |
||
---|---|---|
apiserver/src | ||
async-compression/src | ||
asyncmemo/src | ||
blobrepo | ||
blobstore | ||
bonsai-utils | ||
bookmarks | ||
bundle2-resolver/src | ||
bytes-ext | ||
cache-warmup/src | ||
changesets | ||
cmdlib/src | ||
cmds | ||
common/pylz4/src | ||
docs | ||
filenodes | ||
futures-ext/src | ||
hgcli | ||
hgproto | ||
hooks/src | ||
hooks_old/src | ||
mercurial/src | ||
mercurial-bundles/src | ||
mercurial-types | ||
metaconfig/src | ||
mononoke-types | ||
py_tar_utils | ||
repoinfo/src | ||
revset/src | ||
server/src | ||
sshrelay/src | ||
storage | ||
tests | ||
vfs/src | ||
.gitignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
packman.yml | ||
README.md | ||
rustfmt.toml |
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.