A Scalable, User-Friendly Source Control System.
Go to file
Thomas Orozco 8daba8e8c3 Support hg-sync-bundle last-processed --skip-blobimport
Summary:
This introduces a new `--skip` flag in Mononoke admin under `hg-sync-bundle last-processed`. This will update the last-synced counter to the last blobimport that preceeds a log entry that is no a blobimport.

In other words, it makes it so that the last change to be processed is *not* a blobimport.

It will fail if:

- There is no valid log entry to jump ahead to (e.g. all the further log entries are blobimports).
- The current change to be processed is not a blobimport.
- The mutable counter was changed by someone else in the meantime.

Reviewed By: ikostia

Differential Revision: D15081759

fbshipit-source-id: 8465321b08d9c7b5bc97526400518bcf3ac77f13
2019-05-21 12:25:24 -07:00
apiserver make it possible to enable bookmark cache from configs 2019-05-21 12:25:22 -07:00
async-compression Update to zstd-1.4.x 2019-05-21 12:25:18 -07:00
asyncmemo rust/stats: don't require users to import lazy_static 2018-12-02 14:34:39 -08:00
blobimport_lib/src mononoke: do not upload same bookmark twice in blobimport 2019-02-11 05:50:55 -08:00
blobrepo make it possible to enable bookmark cache from configs 2019-05-21 12:25:22 -07:00
blobrepo_utils Removed HgNodeHash from known()/lookup()/heads()/between() methods in 2019-05-21 12:24:52 -07:00
blobstore rust/sql: add stats for connection creation and reuse 2019-05-21 12:25:15 -07:00
blobstore_sync_queue rust/sql: add LABEL to SqlConstructors 2019-05-21 12:25:14 -07:00
bonsai_hg_mapping rust/sql: add LABEL to SqlConstructors 2019-05-21 12:25:14 -07:00
bonsai_utils mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
bookmarks Support hg-sync-bundle last-processed --skip-blobimport 2019-05-21 12:25:24 -07:00
bundle2_resolver correctly mark all pushrebased changesets as public 2019-05-21 12:25:20 -07:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
cache_warmup/src mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
changesets rust/sql: add LABEL to SqlConstructors 2019-05-21 12:25:14 -07:00
cmdlib/src make it possible to enable bookmark cache from configs 2019-05-21 12:25:22 -07:00
cmds Support hg-sync-bundle last-processed --skip-blobimport 2019-05-21 12:25:24 -07:00
common rust/sql: add stats for connection creation and reuse 2019-05-21 12:25:15 -07:00
failure_ext implementation of listkeyspatterns wire protocol command 2019-05-21 12:25:01 -07:00
filenodes mononoke: more efficient ensure_paths_exists implementation 2019-05-21 12:25:21 -07:00
futures-ext Ignore flaky test asynchronize_parallel from futures-ext 2019-02-12 15:27:22 -08:00
hgcli hgcli: add cli flag to allow insecure TLS connection 2019-05-21 12:25:05 -07:00
hgproto implementation of listkeyspatterns wire protocol command 2019-05-21 12:25:01 -07:00
hook_tailer make it possible to enable bookmark cache from configs 2019-05-21 12:25:22 -07:00
hooks make it possible to enable bookmark cache from configs 2019-05-21 12:25:22 -07:00
mercurial remove HgNodeHash from HgChangesetEnvelopeMut 2019-05-21 12:25:06 -07:00
mercurial_bundles mononoke: add support for encoding obsmarkers 2019-05-21 12:25:16 -07:00
mercurial_types update to Rust 1.34.0 2019-05-21 12:25:14 -07:00
metaconfig make it possible to enable bookmark cache from configs 2019-05-21 12:25:22 -07:00
mononoke_api/src mononoke: return HgEntryId in find_path_in_manifest 2019-05-21 12:24:57 -07:00
mononoke_types mononoke: add support for encoding obsmarkers 2019-05-21 12:25:16 -07:00
netstring rust/netstring: convert to Rust 2018 2019-02-12 08:43:24 -08:00
phases correctly mark all pushrebased changesets as public 2019-05-21 12:25:20 -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 Add performance counters to analyse is_ancestor 2019-03-22 06:30:32 -07:00
ready_state/src server: split server binary crate into 4 separate crates 2018-07-17 04:54:58 -07:00
repo_client mononoke: add obsmarkers to pushrebase output 2019-05-21 12:25:17 -07:00
revset mononoke: fix computing of changed files 2019-03-08 06:28:49 -08:00
server make it possible to enable bookmark cache from configs 2019-05-21 12:25:22 -07:00
sshrelay hooks/verify_integrity: pass username and ssh env variables from CoreContext to verify_integrity.py 2019-03-11 10:43:50 -07:00
tests Support hg-sync-bundle last-processed --skip-blobimport 2019-05-21 12:25:24 -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: 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 fb-mononoke-admin: scm/mononoke/packman.yml: add 'packager: ONCALL' line (trivial) 2019-03-12 19:15:27 -07:00
README.md mononoke: simple useless change 2019-05-21 12:25:10 -07:00
rustfmt.toml Back out D13589633 "revert D13584553, D13175922, D13166085 to fix rust builds" 2019-01-09 13:31:19 -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