A Scalable, User-Friendly Source Control System.
Go to file
Thomas Orozco 2b359e1501 mononoke/lfs_server: make proxy test not racy
Summary:
When I made the LFS server not wait for upstream if it can reply immediately, I
also made the tests for its proxy functionality a bit racy, since it no longer
always connects to upstream immediately. This fixes that.

While I'm in there, I also:

- Added an integration test for the "skip upstream" functionality.
- Made our stderr logging log empty responses.
- Made our invalid URI error reporting a little more comprehensive.

Reviewed By: HarveyHunt

Differential Revision: D17547889

fbshipit-source-id: 47f150136ef91a7f6334bb09f95782357b72f01a
2019-09-24 06:44:26 -07:00
apiserver mononoke: move find_new_unodes to ManifestOps from fastlog 2019-09-23 03:15:37 -07:00
async-compression Delete lines of the form "use [a-z_]+;" 2019-09-10 15:06:19 -07:00
asyncmemo Apply rustfmt to all rust files 2019-07-10 19:36:32 -07:00
benchmark unodes: move crate to derived_data 2019-09-17 02:49:41 -07:00
blobimport_lib/src move Upload* structs to mercurial crate 2019-09-17 03:12:49 -07:00
blobrepo mononoke: extract non-arg-related things into cmdlib::helpers from cmdlib::args 2019-09-19 06:56:39 -07:00
blobrepo_utils Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
blobstore mononoke/multiplexblob: don't wait for SQL Queue if all writes have succeeded 2019-09-17 09:31:29 -07:00
blobstore_sync_queue Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
bonsai_hg_mapping Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
bonsai_utils Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
bookmarks Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
bundle2_resolver mononoke: remove unused parameter 2019-09-20 10:40:17 -07:00
bytes-ext rust/thrift: Remove dependency of thrift runtime on folly 2019-07-12 18:09:34 -07:00
cache_warmup/src mononoke: rename Manifest/Entry to HgManifest/HgEntry 2019-08-20 01:12:49 -07:00
changesets Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
cmdlib/src mononoke: extract non-arg-related things into cmdlib::helpers from cmdlib::args 2019-09-19 06:56:39 -07:00
cmds mononoke/admin: allow showing envelopes for filenodes 2019-09-20 04:08:53 -07:00
commit_rewriting Make sqlite synced_commit_mapping align with D17526345 2019-09-23 13:40:05 -07:00
common Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
derived_data unodes: move crate to derived_data 2019-09-17 02:49:41 -07:00
failure_ext Delete lines of the form "use [a-z_]+;" 2019-09-10 15:06:19 -07:00
filenodes Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
filestore/src Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
futures-ext Delete lines of the form "use [a-z_]+;" 2019-09-10 15:06:19 -07:00
hgcli Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
hgproto Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
hook_tailer mononoke: hook_tailer: Remove comma separated argument parsing 2019-09-17 09:17:22 -07:00
hooks Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
lfs_import_lib/src move blobs loading logic to merucrial/types/blobs 2019-08-27 04:25:53 -07:00
lfs_server/src mononoke/lfs_server: make proxy test not racy 2019-09-24 06:44:26 -07:00
manifest mononoke: move find_new_unodes to ManifestOps from fastlog 2019-09-23 03:15:37 -07:00
mercurial mononoke: first diff for the sync job that generates bundles (only single commit) 2019-09-24 05:29:42 -07:00
metaconfig mononoke: verify repoid uniqueness when creating RepoConfigs 2019-09-18 14:33:28 -07:00
mononoke_api/src mononoke: move function to fetch skiplist 2019-09-22 04:02:00 -07:00
mononoke_types Sync commits between two repos 2019-09-17 08:45:21 -07:00
netstring rust: Remove extern crate from common/rust 2019-07-10 11:58:48 -07:00
phases Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -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 mononoke: move function to fetch skiplist 2019-09-22 04:02:00 -07:00
ready_state/src Delete extern crate lines 2019-09-11 22:01:58 -07:00
repo_client mononoke: remove unused parameter 2019-09-20 10:40:17 -07:00
revset Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
server mononoke: move function to fetch skiplist 2019-09-22 04:02:00 -07:00
sshrelay Delete extern crate lines 2019-09-11 22:01:58 -07:00
tests mononoke/lfs_server: make proxy test not racy 2019-09-24 06:44:26 -07:00
.gitignore add .gitignore 2018-03-13 11:58:20 -07:00
.rlsconfig mononoke: add a .rlsconfig 2019-07-04 02:00:09 -07:00
.travis.yml Add travis-CI integration by adding .travis.yml file. 2018-07-26 10:09:32 -07:00
Cargo.toml mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08: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 mononoke: add mononoke_exec helper script 2019-06-14 03:59:58 -07:00
README.md mononoke: simple useless change 2019-05-21 12:25:10 -07:00
rustfmt.toml Get rustfmt/rls working in fbcode again. 2019-09-19 18:06:23 -07: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