From 0c15673e5fa826aca3e2749b86bcb1303339ed73 Mon Sep 17 00:00:00 2001 From: Alex Hornby Date: Fri, 20 Sep 2024 15:35:26 -0700 Subject: [PATCH] restore sapling getdeps so eden/mononoke can depend on it Summary: X-link: https://github.com/facebookincubator/zstrong/pull/994 Bring a manifest for sapling back so we can test eden fs and mononoke. Their tests need the hg binary and thus a sapling manifest to depend upon How: * started with backout of 73302ef03f2d10e45a36aaa2354b4f722cd71e07 and badf6d159dada727acfb5394bd17de223b336975 X-link: https://github.com/facebook/sapling/pull/950 Reviewed By: quark-zju Differential Revision: D62978511 Pulled By: ahornby fbshipit-source-id: b614e3f10d254283a4904e9e1a6e97870a56b612 --- build/fbcode_builder/manifests/sapling | 68 ++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 build/fbcode_builder/manifests/sapling diff --git a/build/fbcode_builder/manifests/sapling b/build/fbcode_builder/manifests/sapling new file mode 100644 index 00000000000..a146b1ac8ac --- /dev/null +++ b/build/fbcode_builder/manifests/sapling @@ -0,0 +1,68 @@ +[manifest] +name = sapling +fbsource_path = fbcode/eden +shipit_project = eden +shipit_fbcode_builder = true + +[git] +repo_url = https://github.com/facebook/sapling.git + +[build.not(os=windows)] +builder = make +subdir = eden/scm + +[build.os=windows] +# For now the biggest blocker is missing "make" on windows, but there are bound +# to be more +builder = nop + +[make.build_args] +getdepsbuild + +[make.install_args] +install-getdeps + +[make.test_args] +test-getdeps + +[shipit.pathmap] +fbcode/configerator/structs/scm/hg = configerator/structs/scm/hg +fbcode/configerator/structs/scm/hg/public_autocargo = configerator/structs/scm/hg +fbcode/eden/oss = . +fbcode/eden = eden +fbcode/eden/fs/public_autocargo = eden/fs +fbcode/eden/mononoke/public_autocargo = eden/mononoke +fbcode/eden/scm/public_autocargo = eden/scm +fbcode/tools/lfs = tools/lfs + +[shipit.strip] +^fbcode/configerator/structs/scm/hg(?!/public_autocargo).*/Cargo\.toml$ +^fbcode/eden/addons/.*$ +^fbcode/eden/fs/eden-config\.h$ +^fbcode/eden/fs/py/eden/config\.py$ +^fbcode/eden/hg-server/.*$ +^fbcode/eden/fs(?!/public_autocargo).*/Cargo\.toml$ +^fbcode/eden/mononoke(?!/public_autocargo).*/Cargo\.toml$ +^fbcode/eden/scm(?!/public_autocargo|/edenscmnative/bindings).*/Cargo\.toml$ +^fbcode/eden/scm/build/.*$ +^fbcode/eden/website/.*$ +^fbcode/eden/.*/\.cargo/.*$ +^.*/facebook/.*$ +^.*/fb/.*$ +/Cargo\.lock$ +\.pyc$ + +[dependencies] +fb303 +fbthrift +rust-shed + +[dependencies.not(os=windows)] +python + +# We use the system openssl on linux +[dependencies.not(os=linux)] +openssl + +[dependencies.fbsource=on] +rust