sapling/eden/scm/lib
Meyer Jacobs 998be9b07d scmstore: construct aux data store in scmstore builder
Summary:
Extends the `FileScmStoreBuilder` to construct two new indexedlog stores for caching aux data. The stores will be created in a directory adjacent to the normal non-LFS indexedlog stores.

Currently aux data stores will not be constructed for production users, a configuration option will be introduced to gate this before `.store_aux_data()` is called in the `filescmstore` constructor bindings.

Reviewed By: DurhamG

Differential Revision: D28689693

fbshipit-source-id: e3ad1594e5beee00b1a8b9fe489e3b6af3a2e93e
2021-05-25 21:52:15 -07:00
..
async-runtime mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
auth put command renewing certificate in the error message 2021-05-25 01:05:16 -07:00
backingstore thrift/lib/rust: update to Bytes 1.x 2021-05-20 09:44:41 -07:00
blackbox eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
bookmarkstore eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
checkout mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
clidispatch clidispatch: add --insecure global flag 2021-03-31 12:53:46 -07:00
cliparser third-party/rust: update tokio & tokio-stream 2021-03-10 11:01:28 -08:00
commitcloudsubscriber Daily common/rust/cargo_from_buck/bin/autocargo 2021-05-10 05:06:45 -07:00
configmodel lib: add configmodel 2021-04-12 14:29:45 -07:00
configparser cacerts for lfs no longer needed on OSX 2021-04-27 07:43:08 -07:00
cpython-async mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
cpython-ext io: add ways to test if a stream is a std stream 2021-04-13 13:43:39 -07:00
dag mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
dev-logger third-party: update tracing-subscriber from 0.2.15 to 0.2.17 2021-04-12 19:24:10 -07:00
drawdag autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
eagerepo mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
edenapi thrift/lib/rust: update to Bytes 1.x 2021-05-20 09:44:41 -07:00
edenfs-client Resolve bare_trait_objects warnings in path components 2021-05-19 22:03:56 -07:00
encoding eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
fsinfo lib: remove #![deny(warnings)] 2021-04-21 12:24:47 -07:00
fsyncglob eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
hg-http http-client: optionally convert certs to PKCS#12 2021-05-19 10:39:45 -07:00
hg-metrics eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
hgcommands http-client: optionally convert certs to PKCS#12 2021-05-19 10:39:45 -07:00
hgcommits hgcommits: expose import_clone_data API 2021-05-04 18:28:45 -07:00
hgtime eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
hostcaps lib: hoist hostcaps to the top level of the lib directory 2021-04-13 10:42:45 -07:00
http-client put command renewing certificate in the error message 2021-05-25 01:05:16 -07:00
indexedlog indexedlog: add RotateLog::slice_to_bytes 2021-04-13 12:32:25 -07:00
io Daily common/rust/cargo_from_buck/bin/autocargo 2021-05-05 04:03:47 -07:00
linelog Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
lz4-pyframe autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
manifest eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
manifest-tree thrift/lib/rust: update to Bytes 1.x 2021-05-20 09:44:41 -07:00
metalog eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
mincode eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
minibench autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
minibytes thrift/lib/rust: update to Bytes 1.x 2021-05-20 09:44:41 -07:00
mpatch eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
mpatch-sys eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
mutationstore mutationstore: asyncize more places 2021-04-13 16:37:46 -07:00
nodemap eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
nonblocking third-party/rust: update futures 2021-03-04 06:42:55 -08:00
pathmatcher eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
procinfo eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
progress mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
radixbuf eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
renderdag eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
revisionstore scmstore: construct aux data store in scmstore builder 2021-05-25 21:52:15 -07:00
revlogindex dag: add DagAlgorithm::is_vertex_lazy 2021-04-13 16:37:47 -07:00
spawn-ext eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
status status: introduce status crate 2021-04-27 13:33:24 -07:00
streams mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
taggederror eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
taggederror-util eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
third-party lib: remove unused C code 2021-04-08 16:50:13 -07:00
thrift-types Resolve bare_trait_objects warnings in path components 2021-05-19 22:03:56 -07:00
tracing-analyzer autocargo v1: changes to how thrift-related generation is done to match v2 2021-02-23 11:38:45 -08:00
tracing-collector third-party: update tracing-subscriber from 0.2.15 to 0.2.17 2021-04-12 19:24:10 -07:00
tracing-runtime-callsite pytracing: expose callsite.is_enabled() 2021-04-21 09:25:49 -07:00
treestate tree_state: introduce get_keys_ignorecase 2021-04-22 15:56:49 -07:00
types types: introduce RepoPath:to_lowercase 2021-04-27 13:33:24 -07:00
util clidispatch: split dispatch() method 2021-03-12 11:39:09 -08:00
version configparser: fix non-fb dependencies (#45) 2020-08-26 16:31:00 -07:00
vfs mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
vlqencoding autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
workingcopy eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
xdiff autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
xdiff-sys autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
zstdelta rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
zstore autocargo v1: changes to how thrift-related generation is done to match v2 2021-02-23 11:38:45 -08:00
CMakeLists.txt clib: remove buffer.[ch] 2020-10-02 10:47:23 -07:00
README.md Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
run_cargo_tests.py config: use Rust graph render as default 2020-10-19 17:07:30 -07:00

lib

Any native code (C/C++/Rust) that Mercurial (either core or extensions) depends on should go here. Python code, or native code that depends on Python code (e.g. #include <Python.h> or use cpython) is disallowed.

As we start to convert more of Mercurial into Rust, and write new paths entrirely in native code, we'll want to limit our dependency on Python, which is why this barrier exists.

See also hgext/extlib/README.md, mercurial/cext/README.mb.

How do I choose between lib and extlib (and cext)?

If your code is native and doesn't depend on Python (awesome!), it goes here.

Otherwise, put it in hgext/extlib (if it's only used by extensions) or mercurial/cext (if it's used by extensions or core).