sapling/eden/mononoke
Aida Getoeva db19504972 mononoke: derive changeset info
Summary:
Implementation of derivation logic for the changeset info.

BonsaiDerived is implemented for the ChangesetInfo. `derive_from_parents` just derives an info and BonsaiDerivedMapping then puts it into the blobstore.

```
ChangesetInfo::derive(..) -> ChacgesetInfo
```

Reviewed By: krallin

Differential Revision: D20185954

fbshipit-source-id: afe609d1b2711aed7f2740714df6b9417c6fe716
2020-03-05 08:24:38 -08:00
..
apiserver rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
benchmark mononoke: replace DelayBlob with DelayedBlobstore 2020-03-04 12:48:33 -08:00
blobimport_lib/src rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
blobrepo mononoke: derive changeset info 2020-03-05 08:24:38 -08:00
blobrepo_utils mononoke (+ rust/shed/async_unit): update async_unit to expect async fn's 2020-02-18 01:55:00 -08:00
blobstore mononoke: replace DelayBlob with DelayedBlobstore 2020-03-04 12:48:33 -08:00
blobstore_sync_queue mononoke/blobstore_sync_queue: delete in smaller batches 2020-02-20 12:26:50 -08:00
bonsai_git_mapping rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
bonsai_globalrev_mapping rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
bonsai_hg_mapping rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
bookmarks mononoke: derive changeset info 2020-03-05 08:24:38 -08:00
cache_warmup/src mononoke/cache_warmup: remove tracing 2020-03-04 04:02:19 -08:00
changesets mononoke: convert places that talk to Memcache to Bytes 0.5 2020-02-26 03:30:47 -08:00
cmdlib rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
cmds mononoke: do not derive while initializing warm bookmark cache 2020-03-04 13:14:32 -08:00
commit_rewriting rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
common rust: Move tokio-old rdeps to renamed tokio-old 2020-03-04 11:09:30 -08:00
config_structs/repos Re-sync with internal repository 2020-03-05 11:56:21 +01:00
derived_data mononoke: derive changeset info 2020-03-05 08:24:38 -08:00
edenapi_server/src rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
fastreplay/src mononoke/fastreplay: don't sample errors 2020-03-04 08:43:26 -08:00
filenodes mononoke/microwave: create repository snapshots for faster cache warmup 2020-03-04 04:02:18 -08:00
filestore/src mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
git rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
gotham_ext/src rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
hgcli rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
hgproto rust: Begin upgrading to bytes 0.5 2020-02-18 21:20:09 -08:00
hook_tailer rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
hooks rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
lfs_import_lib/src mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
lfs_protocol autocargo: Strip line comments 2020-02-26 16:31:52 -08:00
lfs_server/src rust: Move tokio-old rdeps to renamed tokio-old 2020-03-04 11:09:30 -08:00
manifest rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
mercurial Deprecate rust-crypto in eden/mononoke/mercurial 2020-03-04 13:18:36 -08:00
metaconfig RFC: mononoke: introduce unodes v2 2020-03-02 05:27:31 -08:00
microwave mononoke/microwave: create repository snapshots for faster cache warmup 2020-03-04 04:02:18 -08:00
mononoke_api/src mononoke: add 'repo_stack_info' API 2020-03-05 05:48:32 -08:00
mononoke_types mononoke: derived changeset info - data structures 2020-03-05 08:24:38 -08:00
newfilenodes mononoke/microwave: create repository snapshots for faster cache warmup 2020-03-04 04:02:18 -08:00
phases rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
pushrebase/src rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
reachabilityindex rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
repo_client rust: Move tokio-old rdeps to renamed tokio-old 2020-03-04 11:09:30 -08:00
revset rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
scs_server/src mononoke: add 'repo_stack_info' API 2020-03-05 05:48:32 -08:00
segmented_changelog/src rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
server rust: Move tokio-old rdeps to renamed tokio-old 2020-03-04 11:09:30 -08:00
sshrelay autocargo: Strip line comments 2020-02-26 16:31:52 -08:00
tests mononoke/mercurial: remove incorrect FileBytes Extend implementation 2020-03-04 08:51:42 -08:00
walker/src mononoke: walker: fix waiting on tail 2020-03-05 05:41:02 -08:00
Cargo.toml autocargo: Strip line comments 2020-02-26 16:31:52 -08:00
README.md mononoke: add README.md and the missing pieces for supporting cargo (#13) 2020-02-13 00:12:36 -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.

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