a4e7962ffc
Summary: Curently hgcli can connect to Mononoke only if they are on the same host, because unix domain socket are used. Also Mononoke has to use separate unix domain socket for different repos. The goal of this stack of diffs is to remove these limitations: 1 Make it possible to have hgcli and Mononoke server on different hosts 2 Make it possible to use one port/unix domain socket to connect to many repos. This diff adds a separate thread that parses the Preamble, extracts the reponame and sends request to a thread responsible for this repo. Also hgcli now has a new cmd line option that specifies path to connect to. Reviewed By: jsgf Differential Revision: D7845156 fbshipit-source-id: a48bcfeec4755b2d5b3dfcf8e0383e6945178018 |
||
---|---|---|
async-compression/src | ||
asyncmemo/src | ||
blobrepo | ||
blobstore | ||
bookmarks | ||
bookmarks_old/src | ||
bundle2-resolver/src | ||
bytes-ext | ||
cache-warmup/src | ||
changesets | ||
cmds | ||
common/pylz4/src | ||
docs | ||
eden_server/src | ||
filenodes | ||
futures-ext/src | ||
hgcli | ||
hgproto | ||
hooks/src | ||
mercurial | ||
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 | ||
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.