A Scalable, User-Friendly Source Control System.
Go to file
Pavel Aslanov 2fdc5ddd70 get/generate hg changeset from bonsai changeset
Summary:
This code adds generation of mercurial changeset from bonsai changeset:
  - now handles move file info
  - updates filenodes and changesets tables

Reviewed By: StanislavGlebik

Differential Revision: D9027741

fbshipit-source-id: b10ae9a87565f2e1e9f59954c45815b844033fa5
2018-07-31 11:36:14 -07:00
apiserver switch to slog-async 2018-07-30 13:06:40 -07:00
async-compression async-compression: replace tokio_core with tokio::runtime 2018-07-17 04:54:59 -07:00
asyncmemo Add travis-CI integration by adding .travis.yml file. 2018-07-26 10:09:32 -07:00
blobrepo get/generate hg changeset from bonsai changeset 2018-07-31 11:36:14 -07:00
blobrepo_utils get/generate hg changeset from bonsai changeset 2018-07-31 11:36:14 -07:00
blobstore re-exporting types from other crate is not a good idea 2018-07-26 14:23:07 -07:00
bonsai-hg-mapping id for unique (repo_id, hg_cs_id) in mysql schema 2018-07-12 07:21:17 -07:00
bonsai-utils bonsai-utils/diff: add ChangedReusedId state 2018-07-31 10:36:31 -07:00
bookmarks Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00
bundle2-resolver mononoke: create BonsaiChangeset in commit API 2018-07-31 02:24:28 -07:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
cache-warmup/src Removed RepoGenCache structure, and repoinfo crate. 2018-07-12 14:22:17 -07:00
changesets Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00
cmdlib/src mononoke: create BonsaiChangeset in commit API 2018-07-31 02:24:28 -07:00
cmds bonsai-verify: add a way to weaken checks for merge commits older than a date 2018-07-29 21:21:33 -07:00
common Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07: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 'Re-sync with internal repository' 2018-07-26 09:09:45 -07:00
filenodes filenodes: use Memcache to cache get_all_filenodes results 2018-07-27 13:21:20 -07:00
futures-ext futures-ext: add is_empty and not_empty combinators to StreamExt 2018-07-26 15:05:57 -07:00
hgcli hgcli: replace tokio_core usage with tokio::runtime 2018-07-17 04:54:58 -07:00
hgproto Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00
hooks mononoke: rename BlobChangeset and ChangesetContent 2018-07-26 10:09:31 -07:00
hooks_old/src mercurial_types: remove D* types and move mercurial types around 2018-06-07 13:19:16 -07:00
mercurial mononoke: backout cachelib integration for blob caching 2018-07-26 10:09:32 -07:00
mercurial-bundles mononoke: b2x:commonheads parsing 2018-07-17 13:08:49 -07:00
mercurial-types mercurial-types: add ways of checking whether an entry is a tree or a file 2018-07-29 21:21:33 -07:00
metaconfig mononoke: backout cachelib integration for blob caching 2018-07-26 10:09:32 -07:00
mononoke-api/src get/generate hg changeset from bonsai changeset 2018-07-31 11:36:14 -07:00
mononoke-types bonsai-utils/diff: add ChangedReusedId state 2018-07-31 10:36:31 -07:00
netstring/src 'Re-sync with internal repository' 2018-07-26 09:09:45 -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/src Moving / deleting some struct elements in SkiplistIndex and SkiplistEdgeMapping 2018-07-30 18:06:26 -07:00
ready_state/src server: split server binary crate into 4 separate crates 2018-07-17 04:54:58 -07:00
repo_client/src mononoke stats: add latency of wireprotocol, getfiles, gettreepack and getbundle to ods 2018-07-26 10:09:32 -07:00
repo_listener/src mononoke stats: add latency of wireprotocol, getfiles, gettreepack and getbundle to ods 2018-07-26 10:09:32 -07:00
revset mononoke: backout cachelib integration for blob caching 2018-07-26 10:09:32 -07:00
server mononoke: backout cachelib integration for blob caching 2018-07-26 10:09:32 -07:00
sshrelay Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00
storage Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00
tests add get_changeset operation 2018-07-26 10:09:32 -07:00
vfs Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07: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 mononoke: backout cachelib integration for blob caching 2018-07-26 10:09:32 -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.