sapling/eden/mononoke
Thomas Orozco 5c3c976c58 mononoke/test-redaction.t: give jq a program to avoid surprises
Summary:
We don't give `jq` a program here, and it looks like depending on the exact
setup, this might result in it printing the help instead of running, as
reported by Jun here:
https://fb.workplace.com/groups/scm.mononoke/permalink/1280281002334472/

I think this is the behaviro inquestion:
https://github.com/stedolan/jq/issues/1110. I'm guessing something might have
changed in jq 1.6 because I am on that version and don't get that behavior but
Jun's output uses jq 1.5.

Let's give jq a program to fix this.

Reviewed By: StanislavGlebik

Differential Revision: D24329472

fbshipit-source-id: f4ba4246770dd79630433a3c46c8bbd38aa4c842
2020-10-15 03:54:07 -07:00
..
benchmark mononoke: update Memblob::new callsites to ::default() 2020-10-07 12:11:10 -07:00
blobimport_lib Update formatter to rustfmt 2.0 2020-09-09 07:52:33 -07:00
blobrepo mononoke: update Memblob::new callsites to ::default() 2020-10-07 12:11:10 -07:00
blobrepo_utils move existing changeset derivation logic to mercurial_derived_data 2020-09-09 07:56:32 -07:00
blobstore mononoke: delegate chaosblob put to put_impl 2020-10-13 06:25:58 -07:00
blobstore_sync_queue commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
bonsai_git_mapping improve error messages for mapping length errors 2020-09-21 08:39:12 -07:00
bonsai_globalrev_mapping improve error messages for mapping length errors 2020-09-21 08:39:12 -07:00
bonsai_hg_mapping Update formatter to rustfmt 2.0 2020-09-09 07:52:33 -07:00
bookmarks mononoke/warm_bookmarks_cache: don't hit MySQL harder if MySQL fails 2020-10-13 10:39:54 -07:00
bulkops bulkops: add trait ChangesetBulkFetch 2020-10-08 09:43:46 -07:00
cache_warmup Regenerate all Cargo.tomls after upgrade to futures 0.3.5 2020-07-06 20:49:43 -07:00
changesets Update formatter to rustfmt 2.0 2020-09-09 07:52:33 -07:00
cmdlib mononoke: add --blobstore-put-behaviour argument 2020-10-13 03:09:38 -07:00
cmds add support for deriving all types at once 2020-10-15 03:51:03 -07:00
commit_rewriting mononoke: remove copy-paste in megarepotool 2020-10-14 23:54:42 -07:00
common add variant of bounded_traversal_stream which accepts children in the form of a stream 2020-10-07 03:38:28 -07:00
derived_data add support for deriving all types at once 2020-10-15 03:51:03 -07:00
edenapi_server trees: port SCS aux data request method to edenapi 2020-10-14 11:12:59 -07:00
fastreplay mononoke: deprecate preamble in favor of metadata 2020-09-15 10:28:38 -07:00
filenodes Remove crate_root from Rust dependency info 2020-08-31 14:43:24 -07:00
filestore mononoke: update Memblob::new callsites to ::default() 2020-10-07 12:11:10 -07:00
git move existing changeset derivation logic to mercurial_derived_data 2020-09-09 07:56:32 -07:00
gotham_ext gotham_ext: use pin_project in SignalStream 2020-10-14 11:08:13 -07:00
hgcli mononoke/hgcli: log hgcli server data to Scuba 2020-10-01 05:22:47 -07:00
hgproto commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
hook_tailer hooks: be aware of native vs push-redirected pushes 2020-10-13 05:46:56 -07:00
hooks hooks: cleanup weird conversions 2020-10-13 15:25:39 -07:00
lfs_import_lib autocargo: regenerate 2020-05-19 16:08:40 -07:00
lfs_protocol mononoke: try to compress values if they above cachelib limit 2020-06-20 01:05:54 -07:00
lfs_server gotham_ext: make StreamBody take an infallible byte stream 2020-09-18 22:49:55 -07:00
load_limiter Regenerate all Cargo.tomls after upgrade to futures 0.3.5 2020-07-06 20:49:43 -07:00
manifest mononoke: update Memblob::new callsites to ::default() 2020-10-07 12:11:10 -07:00
mercurial commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
metaconfig enable single process to work on multiple repos. 2020-10-08 05:38:01 -07:00
microwave mononoke: allow logging censored scuba accesses to file 2020-09-04 07:37:14 -07:00
mononoke_api trees: port SCS aux data request method to edenapi 2020-10-14 11:12:59 -07:00
mononoke_hg_sync_job commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
mononoke_types edenapi: add aux data to FileMetadata and DirectoryMetadata, and recursive children field to TreeEntry 2020-10-12 14:05:23 -07:00
mutable_counters mononoke: read mutable_counters from replica in blobimport warmer 2020-10-07 05:24:30 -07:00
newfilenodes commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
permission_checker mononoke: deprecate preamble in favor of metadata 2020-09-15 10:28:38 -07:00
phases shed/sql: make queries! macros work with new Rust mysql client 2020-09-11 06:33:37 -07:00
pushrebase mononoke: allow adding an extra that fails all pushrebase across a commit 2020-10-06 13:31:39 -07:00
reachabilityindex impl LCAHint for Arc<impl LCAHint> 2020-09-11 16:56:13 -07:00
regenerate_hg_filenodes mononoke/regenerate_hg_filenodes: make regenerate_hg_filenodes public (#39) 2020-07-30 06:50:54 -07:00
repo_client mononoke: fix backsyncing logging 2020-10-14 10:37:07 -07:00
repo_import commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
revset Prepare for rustfmt 2.0 2020-09-08 07:33:16 -07:00
scs_server mononoke: remove unnecessary cloning 2020-10-08 13:48:02 -07:00
segmented_changelog segmented_changelog: replace sql log tables with scuba 2020-10-09 11:17:03 -07:00
server adding per repo ACL checking 2020-09-24 08:12:35 -07:00
sshrelay commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
tests mononoke/test-redaction.t: give jq a program to avoid surprises 2020-10-15 03:54:07 -07:00
time_window_counter mononoke/lfs_server: popularity: add ODS counters, timeouts and tests 2020-07-15 03:39:23 -07:00
tunables mononoke: add a tunable for ratio of master fallbacks 2020-10-01 01:06:28 -07:00
unbundle_replay hooks: be aware of native vs push-redirected pushes 2020-10-13 05:46:56 -07:00
walker mononoke: reorder scrub walk expansion to reduce queue depth 2020-10-13 09:05:00 -07:00
Cargo.toml move to facebook/ 2020-10-13 13:48:51 -07: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