From fe557388eec966bcab95a2d4afe4c6c278e95d8a Mon Sep 17 00:00:00 2001 From: Malcolm Date: Wed, 20 Nov 2024 10:51:37 +0100 Subject: [PATCH 1/2] PRO-371 REFACTOR Sort pds.conf --- code/pds.conf | 1200 ++++++++++++++++++++++++------------------------- 1 file changed, 600 insertions(+), 600 deletions(-) diff --git a/code/pds.conf b/code/pds.conf index 51edd601..a7c17097 100644 --- a/code/pds.conf +++ b/code/pds.conf @@ -1,8 +1,5 @@ [global] -selector = [ "opam", "config", "var", "os",] - -[global.release] -extra_compiler_opts = "-bin-annot -strict-sequence -strict-formats -safe-string -noassert -w '+d+f+p+u+s+40+K+L+R'" +selector = ["opam", "config", "var", "os"] [global.debug] extra_compiler_opts = "-g -bin-annot -strict-sequence -strict-formats -safe-string -w '@d@f@p@u@s@40+K@L@R'" @@ -10,8 +7,8 @@ extra_compiler_opts = "-g -bin-annot -strict-sequence -strict-formats -safe-stri [global.profile] extra_compiler_opts = "-safe-string" -[global.test-release] -extra_compiler_opts = "-safe-string" +[global.release] +extra_compiler_opts = "-bin-annot -strict-sequence -strict-formats -safe-string -noassert -w '+d+f+p+u+s+40+K+L+R'" [global.test-debug] extra_compiler_opts = "-safe-string" @@ -19,853 +16,856 @@ extra_compiler_opts = "-safe-string" [global.test-profile] extra_compiler_opts = "-safe-string" -[src.abb_happy_eyeballs] -install = false -deps = [ "abb_future_combinators", "abb_intf", "containers", "happy-eyeballs",] - -[src.terrat_github_webhooks] -install = false -deps = [ "cohttp", "containers", "json_schema", "mirage-crypto", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson", "yojson",] -extra_makefile_lines = [ "DOC_FILES:=$(wildcard $(SRC_DIR)/*.ml)",] - -[src.lua_pattern_sed] -install = false -type = "exec" -deps = [ "lua_pattern",] +[global.test-release] +extra_compiler_opts = "-safe-string" -[src.otls_bindings] +[src.abb] install = true -deps = [ "ctypes", "ctypes.foreign", "ctypes.stubs",] - -[src.terrat_ui_css] -install = false -compile_deps = [ "tailwindcss", "terrat_ui_site", "terrat_ui_js",] -project_type = "third-party" +deps = ["abb_intf", "abb_scheduler_select"] +extra_makefile_lines = ["include $(SRC_DIR)/abb_other.mk"] -[src.terrat_api] -install = false -deps = [ "containers", "json_schema", "openapi", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson", "yojson",] -extra_makefile_lines = [ "DOC_FILES:=$(wildcard $(SRC_DIR)/*.ml)",] +[src.abb.selector.freebsd] +deps = ["abb_intf", "abb_scheduler_kqueue"] +extra_makefile_lines = ["include $(SRC_DIR)/abb_kqueue.mk"] -[src.hcl_parser] -install = false -deps = [ "hcl_parser_value", "menhirLib",] -extra_makefile_lines = [ "include $(SRC_DIR)/files.mk",] +[src.abb.selector.linux] +deps = ["abb_intf", "abb_scheduler_kqueue"] +extra_makefile_lines = ["include $(SRC_DIR)/abb_kqueue.mk"] -[src.pgsql_codec] +[src.abb_cache] install = true -deps = [ "ocplib-endian", "ppx_deriving", "ppx_deriving.show", "ppx_deriving.eq",] - -[src.terrat_github] -install = false -deps = [ "abb", "abbs", "containers", "githubc2", "githubc2_abb", "jwt", "openapi", "prmths", "terrat_config",] +deps = [ + "abb", + "abb_future_combinators", + "abb_intf", + "containers", + "duration", + "lru", +] -[src.oth] +[src.abb_channel] install = true -deps = [ "duration", "containers", "revops",] - -[src.opentofu_mods] -install = false -deps = [ "containers", "hcl_ast",] - -[src.terrat_tag_set] -install = false -deps = [ "containers", "ppx_deriving", "ppx_deriving.show",] - -[src.terrat_ee] -type = "exec" -install = false -deps = [ "terrat", "terratc_ee",] +deps = ["abb_intf", "abb_future_combinators"] +extra_makefile_lines = ["DOC_FILES:=$(wildcard *_intf.ml) $(wildcard *.mli)"] -[src.showdown_js] -type = "library" +[src.abb_channel_queue] install = true -deps = [ "js_of_ocaml", "js_of_ocaml-ppx",] +deps = ["abb_intf", "abb_channel", "abb_future_combinators"] -[src.uritmpl] -type = "library" +[src.abb_dns] install = true -deps = [ "sedlex", "sedlex.ppx", "ppx_deriving", "ppx_deriving.show", "ppx_deriving.eq", "uri",] - -[src.githubc2_abb] -install = false -deps = [ "abb", "abbs", "cohttp_abb", "containers", "githubc2", "json_schema",] +deps = ["abb_future_combinators", "abb_intf", "abb_io", "cstruct", "dns-client", "dns-client.resolvconf", "logs", "mirage-crypto-rng.unix", "mtime", "mtime.clock.os"] -[src.abb_js] +[src.abb_flow] install = true -deps = [ "abb_fut_js", "abb_future_combinators", "containers", "js_of_ocaml",] +deps = ["abb_future_combinators", "abb_intf", "containers", "containers.bencode", "yojson"] [src.abb_fut] install = true -deps = [ "abb_intf",] -extra_makefile_lines = [ "DOC_FILES:=$(wildcard $(SRC_DIR)/*.ml $(SRC_DIR)/*.mli)",] +deps = ["abb_intf"] +extra_makefile_lines = ["DOC_FILES:=$(wildcard $(SRC_DIR)/*.ml $(SRC_DIR)/*.mli)"] -[src.simple_diff] -install = false +[src.abb_fut_js] +install = true +deps = ["abb_fut", "js_of_ocaml", "js_of_ocaml-ppx"] -[src.terrat_change] +[src.abb_future_combinators] +install = true +deps = ["abb_intf"] + +[src.abb_happy_eyeballs] install = false -deps = [ "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "terrat_base_repo_config_v1", "terrat_dirspace",] +deps = ["abb_future_combinators", "abb_intf", "containers", "happy-eyeballs"] -[src.abbs_tls] +[src.abb_intf] install = true -deps = [ "abb", "abb_tls",] +deps = ["ppx_deriving", "ppx_deriving.show", "ppx_deriving.eq"] +extra_makefile_lines = ["DOC_FILES:=$(wildcard $(SRC_DIR)/*_intf.ml)"] -[src.kqueue_bindings_gen] -install = false -type = "exec" -deps = [ "ctypes", "ctypes.foreign", "ctypes.stubs", "kqueue_bindings",] +[src.abb_io] +install = true +deps = ["abb_intf", "abb_future_combinators", "containers", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show"] -[src.pds_excise] -type = "exec" -project_type = "third-party" -install = false +[src.abb_js] +install = true +deps = ["abb_fut_js", "abb_future_combinators", "containers", "js_of_ocaml"] -[src.tls_server] -type = "exec" -install = false -deps = [ "containers", "unix", "otls",] +[src.abb_js_fetch] +install = true +deps = ["abb_fut_js", "brr", "containers"] -[src.snabela] +[src.abb_js_xmlhttprequest] install = true -extra_ocamldep_opts = "-package sedlex" -deps = [ "process", "containers", "sedlex", "sedlex.ppx", "ppx_deriving", "ppx_deriving.show", "ppx_deriving.eq",] +deps = ["abb_fut_js", "js_of_ocaml", "js_of_ocaml-ppx"] -[src.terrat_oss] -type = "exec" -install = false -deps = [ "terrat", "terratc_oss",] +[src.abb_keyed_concurrent_executor] +install = true +deps = [ + "abb_future_combinators", + "abb_intf", + "abb_service_local", + "containers", +] -[src.openapi] -install = false -deps = [ "json_schema",] +[src.abb_process] +install = true +deps = ["abb_intf", "abb_future_combinators", "containers", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show"] -[src.terratc_oss] -install = false -deps = [ "abb", "abbs", "containers", "jsonu", "terrat_base_repo_config_v1", "terrat_change", "terrat_github", "terratc_intf", "yojson",] +[src.abb_scheduler_kqueue] +install = true +build = false -[src.hcl_ast_cli] -install = false -type = "exec" -deps = [ "containers", "hcl_ast",] +[src.abb_scheduler_kqueue.selector.freebsd] +build = true +deps = ["abb_fut", "abb_intf", "abb_thread_pool", "containers", "iter", "kqueue", "mtime.clock.os", "ppx_deriving", "ppx_deriving.ord", "unix"] -[src.json_schema_hooks_cli] -install = false -type = "exec" -deps = [ "cmdliner", "compiler-libs.common", "containers", "json_schema_conv", "ocaml-compiler-libs.common", "ocaml-compiler-libs.shadow", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show", "ppx_deriving_yojson", "tsort", "yojson",] +[src.abb_scheduler_kqueue.selector.linux] +build = true +deps = ["abb_fut", "abb_intf", "abb_thread_pool", "containers", "iter", "kqueue", "mtime.clock.os", "ppx_deriving", "ppx_deriving.ord", "unix"] -[src.jsonu] +[src.abb_scheduler_nyi] install = false -deps = [ "abb", "abb_process", "ppx_deriving", "ppx_deriving.show", "yojson",] +deps = ["abb_intf", "abb_fut"] -[src.service_worker] +[src.abb_scheduler_select] install = true -deps = [ "abb_fut_js", "abb_js", "js_of_ocaml", "js_of_ocaml-ppx",] +deps = ["abb_fut", "abb_intf", "abb_thread_pool", "containers", "iter", "mtime.clock.os", "ppx_deriving", "ppx_deriving.ord", "unix"] -[src.abb_tcp_server] +[src.abb_service_local] install = true -deps = [ "abb_intf", "abb_channel", "abb_channel_queue",] +deps = ["abb_channel", "abb_channel_queue"] -[src.abb_channel_queue] +[src.abb_service_serializer] install = true -deps = [ "abb_intf", "abb_channel", "abb_future_combinators",] +deps = ["abb_channel", "abb_service_local"] -[src.brtl_js_nav_bar] +[src.abb_tcp_server] install = true -deps = [ "abb_js", "brtl_js", "uri",] +deps = ["abb_intf", "abb_channel", "abb_channel_queue"] -[src.json_schema] -install = false -deps = [ "ISO8601", "containers", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show", "ppx_deriving_yojson", "uri", "uritmpl", "yojson",] +[src.abb_test] +install = true +deps = ["containers", "oth", "oth_abb", "abb_intf", "abb_future_combinators"] +extra_compiler_opts = "-bin-annot -strict-sequence -strict-formats -safe-string" -[src.terrat_config] -install = false -deps = [ "containers", "mirage-crypto-pk", "ppx_deriving", "ppx_deriving.show", "uri", "x509",] +[src.abb_test.debug] +extra_compiler_opts = "-g -bin-annot -strict-sequence -strict-formats -safe-string -w '@d@f@p@u@s@40'" -[src.terratc_intf] -install = false -deps = [ "abb", "githubc2_abb", "jsonu", "ppx_deriving", "ppx_deriving.show", "terrat_base_repo_config_v1", "terrat_change", "terrat_commit_check", "terrat_config", "terrat_work_manifest3",] +[src.abb_test.profile] +extra_compiler_opts = "-g -bin-annot -strict-sequence -strict-formats -safe-string -w '@d@f@p@u@s@40'" -[src.abb_process] +[src.abb_thread_pool] install = true -deps = [ "abb_intf", "abb_future_combinators", "containers", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show",] -[src.brtl_js2] +[src.abb_time] install = true -deps = [ "abb_js", "brr", "furi", "note", "note.brr", "uri",] +deps = ["containers"] -[src.abb_js_xmlhttprequest] +[src.abb_tls] install = true -deps = [ "abb_fut_js", "js_of_ocaml", "js_of_ocaml-ppx",] +deps = ["abb_future_combinators", "abb_intf", "abb_io", "otls", "ppx_deriving", "ppx_deriving.show", "unix"] -[src.tabler_icons] +[src.abbs] install = true -deps = ["brtl_js2"] +deps = [ + "abb", + "abb_cache", + "abb_channel", + "abb_channel_queue", + "abb_future_combinators", + "abb_happy_eyeballs", + "abb_io", + "abb_service_local", + "abb_service_serializer", + "abb_tcp_server", + "abb_time", +] -[src.githubc2] -install = false -deps = [ "containers", "json_schema", "openapi", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson",] -extra_makefile_lines = [ "DOC_FILES:=$(wildcard $(SRC_DIR)/*.ml)",] +[src.abbs_tls] +install = true +deps = ["abb", "abb_tls"] -[src.terrat_ui_site] -install = false -type = "exec" -compile_deps = [ "terrat_ui_js",] -project_type = "third-party" +[src.brtl] +install = true +deps = ["abb_intf", "abbs", "cohttp_abb", "hmap", "logs", "snabela", "uri", "uuidm", "yojson"] -[src.prmths] -type = "library" -install = false -deps = [ "abb", "abbs", "asetmap", "astring", "fmt", "re",] +[src.brtl_ep] +install = true +deps = ["abbs", "brtl"] -[src.terrat_code_indexer] +[src.brtl_hello_world] install = false type = "exec" -deps = [ "cmdliner", "containers", "opentofu_mods", "path_glob", "ppx_deriving", "ppx_deriving.show", "ppx_deriving_yojson", "yojson",] +deps = ["abb", "brtl", "brtl_mw_log", "containers", "logs", "logs.fmt"] [src.brtl_js] install = true -deps = [ "abb_js", "furi", "js_of_ocaml", "js_of_ocaml-ppx", "js_of_ocaml-tyxml", "ppx_deriving", "ppx_deriving.ord", "react", "reactiveData", "uri", "uuidm",] +deps = ["abb_js", "furi", "js_of_ocaml", "js_of_ocaml-ppx", "js_of_ocaml-tyxml", "ppx_deriving", "ppx_deriving.ord", "react", "reactiveData", "uri", "uuidm"] -[src.data_mig] +[src.brtl_js2] install = true -deps = [ "abbs", "containers",] +deps = ["abb_js", "brr", "furi", "note", "note.brr", "uri"] -[src.brtl_permissions] +[src.brtl_js_nav_bar] install = true -deps = [ "abbs", "brtl", "brtl_ep", "containers",] +deps = ["abb_js", "brtl_js", "uri"] -[src.abb_js_fetch] +[src.brtl_mw_log] install = true -deps = [ "abb_fut_js", "brr", "containers",] +deps = ["abb_intf", "brtl", "cohttp", "logs", "uri"] -[src.brtl_static] +[src.brtl_mw_session] install = true -deps = [ "abbs", "brtl", "magic-mime",] - -[src.terrat_ui_js_cache] -install = false +deps = ["abb_intf", "brtl"] -[src.abb_service_local] +[src.brtl_pagination] install = true -deps = [ "abb_channel", "abb_channel_queue",] - -[src.terratc_ee] -install = false -deps = [ "abb", "abbs", "containers", "jsonu", "terrat_base_repo_config_v1", "terrat_github", "terratc_intf", "yojson",] - -[src.terrat_commit_check] -install = false -deps = [ "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show",] +deps = ["containers", "uri"] -[src.brtl_ep] +[src.brtl_permissions] install = true -deps = [ "abbs", "brtl",] +deps = ["abbs", "brtl", "brtl_ep", "containers"] -[src.markdown_it] -type = "library" +[src.brtl_static] install = true -deps = [ "js_of_ocaml", "js_of_ocaml-ppx",] +deps = ["abbs", "brtl", "magic-mime"] -[src.abb_scheduler_select] +[src.cohttp_abb] install = true -deps = [ "abb_fut", "abb_intf", "abb_thread_pool", "containers", "iter", "mtime.clock.os", "ppx_deriving", "ppx_deriving.ord", "unix",] +deps = ["abb_channel", "abb_channel_queue", "abb_future_combinators", "abb_happy_eyeballs", "abb_intf", "abb_io", "abb_tls", "cohttp", "containers", "duration", "oth", "oth_abb", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "uri"] -[src.abb_cache] +[src.data_mig] install = true -deps = [ - "abb", - "abb_future_combinators", - "abb_intf", - "containers", - "duration", - "lru", -] +deps = ["abbs", "containers"] -[src.jwk] +[src.dns_cli] +install = false +type = "exec" +deps = ["abb", "abbs", "abb_dns"] + +[src.furi] install = true -deps = [ "containers", "yojson",] +deps = ["containers", "uri"] -[src.pgsql_pool] +[src.git_config] +type = "library" install = true -deps = [ "abb", "abbs", "containers", "pgsql_io",] +deps = ["containers", "ppx_deriving", "ppx_deriving.ord", "ppx_deriving.show", "sedlex", "sedlex.ppx"] -[src.localforage] +[src.githubc2] install = false -deps = [ "abb_fut_js", "containers", "js_of_ocaml", "js_of_ocaml-ppx",] +deps = ["containers", "json_schema", "openapi", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson"] +extra_makefile_lines = ["DOC_FILES:=$(wildcard $(SRC_DIR)/*.ml)"] -[src.brtl_hello_world] +[src.githubc2_abb] install = false -type = "exec" -deps = [ "abb", "brtl", "brtl_mw_log", "containers", "logs", "logs.fmt",] +deps = ["abb", "abbs", "cohttp_abb", "containers", "githubc2", "json_schema"] -[src.terrat_sql_of_tag_query] +[src.githubc2_cli] +type = "exec" install = false -deps = [ - "containers", - "terrat_tag_query_parser_value", - "yojson", -] +deps = ["abb", "abbs", "githubc2", "githubc2_abb", "otls"] -[src.terrat] +[src.hcl_ast] install = false -deps = [ - "ISO8601", - "abb", - "abb_cache", - "abb_flow", - "abb_happy_eyeballs", - "abb_process", - "abbs", - "abbs_tls", - "base64", - "brtl", - "brtl_ep", - "brtl_mw_log", - "brtl_mw_session", - "brtl_pagination", - "brtl_permissions", - "brtl_static", - "cmdliner", - "containers", - "containers-data", - "containers.bencode", - "data_mig", - "git_config", - "githubc2", - "githubc2_abb", - "iter", - "jsonu", - "jwt", - "logs", - "logs.cli", - "logs.fmt", - "lru", - "lua_pattern", - "mirage-crypto-pk", - "mirage-crypto-rng.unix", - "path_glob", - "pgsql_pagination", - "pgsql_pool", - "ppx_deriving", - "ppx_deriving.eq", - "ppx_deriving.ord", - "ppx_deriving.show", - "prmths", - "sha", - "terrat_api", - "terrat_base_repo_config_v1", - "terrat_change", - "terrat_commit_check", - "terrat_config", - "terrat_data", - "terrat_dirspace", - "terrat_files", - "terrat_github", - "terrat_github_webhooks", - "terrat_plan_diff", - "terrat_repo_config", - "terrat_sql_of_tag_query", - "terrat_tag_query", - "terrat_tag_query_ast", - "terrat_tag_query_lexer", - "terrat_tag_query_parser", - "terrat_tag_set", - "terrat_work_manifest3", - "terratc_intf", - "tsort", - "uuidm", - "x509", -] +deps = ["containers", "hcl_lexer", "hcl_parser", "hcl_parser_value", "ppx_deriving", "ppx_deriving.show"] -[src.lua_pattern_cli] +[src.hcl_ast_cli] install = false type = "exec" -deps = [ "lua_pattern",] +deps = ["containers", "hcl_ast"] -[src.abb_dns] -install = true -deps = [ "abb_future_combinators", "abb_intf", "abb_io", "cstruct", "dns-client", "dns-client.resolvconf", "logs", "mirage-crypto-rng.unix", "mtime", "mtime.clock.os",] +[src.hcl_lexer] +install = false +deps = ["containers", "hcl_parser", "sedlex", "sedlex.ppx"] -[src.jwt] -install = true -deps = [ "base64", "containers", "mirage-crypto", "mirage-crypto-pk", "yojson",] +[src.hcl_parser] +install = false +deps = ["hcl_parser_value", "menhirLib"] +extra_makefile_lines = ["include $(SRC_DIR)/files.mk"] -[src.abb_fut_js] -install = true -deps = [ "abb_fut", "js_of_ocaml", "js_of_ocaml-ppx",] +[src.hcl_parser_value] +install = false +deps = ["ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "ppx_deriving_yojson", "yojson"] -[src.terrat_tag_query_lexer] +[src.hljs] install = false -deps = [ "sedlex", "sedlex.ppx", "terrat_tag_query_parser",] +deps = ["brtl_js2"] -[src.terrat_ui] -type = "exec" +[src.json_schema] install = false -deps = [ "cmdliner", "terrat_ui_files",] +deps = ["ISO8601", "containers", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show", "ppx_deriving_yojson", "uri", "uritmpl", "yojson"] -[src.otls_bindings_gen] +[src.json_schema_conv] +install = false +deps = ["compiler-libs.common", "containers", "ocaml-compiler-libs.common", "ocaml-compiler-libs.shadow", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show", "ppx_deriving_yojson", "yojson"] + +[src.json_schema_hooks_cli] install = false type = "exec" -deps = [ "ctypes", "ctypes.foreign", "ctypes.stubs", "otls_bindings",] +deps = ["cmdliner", "compiler-libs.common", "containers", "json_schema_conv", "ocaml-compiler-libs.common", "ocaml-compiler-libs.shadow", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show", "ppx_deriving_yojson", "tsort", "yojson"] -[src.pgsql_io] +[src.jsonu] +install = false +deps = ["abb", "abb_process", "ppx_deriving", "ppx_deriving.show", "yojson"] + +[src.jwk] install = true -deps = [ "abb", "abb_intf", "abbs", "abbs_tls", "containers", "num", "pgsql_codec", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "uuidm", "zarith",] +deps = ["containers", "yojson"] -[src.terrat_ui_files] -install = false -compile_deps = [ "terrat_ui_css", "terrat_ui_site", "terrat_ui_js",] -extra_makefile_lines = [ "include $(SRC_DIR)/files.mk",] +[src.jwk_fetch] +install = true +deps = ["abb", "abbs", "cohttp_abb", "jwk", "uri"] -[src.brtl_mw_log] +[src.jwt] install = true -deps = [ "abb_intf", "brtl", "cohttp", "logs", "uri",] +deps = ["base64", "containers", "mirage-crypto", "mirage-crypto-pk", "yojson"] -[src.openapi_cli] +[src.kqueue] +install = true +deps = ["ctypes", "ctypes.foreign", "kqueue_bindings"] +compile_deps = ["kqueue_bindings_gen "] +extra_makefile_lines = ["include $(SRC_DIR)/kqueue.mk"] + +[src.kqueue.selector.linux] +meta_linkopts = "-cclib -lkqueue" +extra_compiler_opts = "-strict-sequence -strict-formats -safe-string -noassert -ccopt -I/usr/include/kqueue" + +[src.kqueue.selector.linux.debug] +meta_linkopts = "-cclib -lkqueue" +extra_compiler_opts = "-g -strict-sequence -strict-formats -safe-string -w '@d@f@p@u@s@40' -ccopt -I/usr/include/kqueue" + +[src.kqueue_bindings] +install = true +deps = ["ctypes", "ctypes.foreign", "ctypes.stubs"] + +[src.kqueue_bindings_gen] install = false type = "exec" -deps = [ "cmdliner", "openapi_conv",] +deps = ["ctypes", "ctypes.foreign", "ctypes.stubs", "kqueue_bindings"] -[src.abb] -install = true -deps = [ "abb_intf", "abb_scheduler_select",] -extra_makefile_lines = [ "include $(SRC_DIR)/abb_other.mk",] +[src.localforage] +install = false +deps = ["abb_fut_js", "containers", "js_of_ocaml", "js_of_ocaml-ppx"] -[src.abb_future_combinators] +[src.lua_pattern] install = true -deps = [ "abb_intf",] -[src.abb_scheduler_nyi] +[src.lua_pattern_cli] install = false -deps = [ "abb_intf", "abb_fut",] +type = "exec" +deps = ["lua_pattern"] -[src.abb_time] -install = true -deps = [ "containers",] +[src.lua_pattern_sed] +install = false +type = "exec" +deps = ["lua_pattern"] -[src.brtl_pagination] +[src.markdown_it] +type = "library" install = true -deps = [ "containers", "uri",] +deps = ["js_of_ocaml", "js_of_ocaml-ppx"] -[src.terrat_ui_sw] +[src.openapi] +install = false +deps = ["json_schema"] + +[src.openapi_cli] install = false type = "exec" -deps = [ "abb_fut_js", "brtl_js", "terrat_ui_js_cache", "js_of_ocaml", "js_of_ocaml-ppx", "service_worker",] -extra_makefile_lines = [ "OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_sw.js", "terrat_ui_sw.js: $(BYTE_TARGET)", "\tjs_of_ocaml $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_sw.byte",] +deps = ["cmdliner", "openapi_conv"] -[src.cohttp_abb] +[src.openapi_conv] +install = false +deps = ["compiler-libs.common", "containers", "json_schema_conv", "ocaml-compiler-libs.common", "ocaml-compiler-libs.shadow", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show", "ppx_deriving_yojson", "tsort", "yojson"] + +[src.opentofu_mods] +install = false +deps = ["containers", "hcl_ast"] + +[src.opentofu_mods_cli] +install = false +type = "exec" +deps = ["cmdliner", "containers", "opentofu_mods", "path_glob", "ppx_deriving", "ppx_deriving.show", "ppx_deriving_yojson", "yojson"] + +[src.oth] install = true -deps = [ "abb_channel", "abb_channel_queue", "abb_future_combinators", "abb_happy_eyeballs", "abb_intf", "abb_io", "abb_tls", "cohttp", "containers", "duration", "oth", "oth_abb", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "uri",] +deps = ["duration", "containers", "revops"] -[src.abb_thread_pool] +[src.oth_abb] install = true +deps = ["containers", "duration", "oth", "abb_intf", "abb_future_combinators"] -[src.abb_keyed_concurrent_executor] +[src.otls] install = true -deps = [ - "abb_future_combinators", - "abb_intf", - "abb_service_local", - "containers", -] +compile_deps = ["otls_bindings_gen"] +deps = ["ctypes", "ctypes.foreign", "otls_bindings"] +extra_makefile_lines = ["include $(SRC_DIR)/otls.mk"] +meta_linkopts = "-cclib -ltls" +extra_compiler_opts = "-strict-sequence -strict-formats -safe-string -noassert -ccopt \"$(shell pkg-config --cflags libtls)\"" -[src.json_schema_conv] -install = false -deps = [ "compiler-libs.common", "containers", "ocaml-compiler-libs.common", "ocaml-compiler-libs.shadow", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show", "ppx_deriving_yojson", "yojson",] +[src.otls.debug] +extra_compiler_opts = "-g -strict-sequence -strict-formats -safe-string -ccopt \"$(shell pkg-config --cflags libtls)\"" -[src.abb_io] +[src.otls.profile] +extra_compiler_opts = "-g -strict-sequence -strict-formats -safe-string -ccopt \"$(shell pkg-config --cflags libtls)\"" + +[src.otls_bindings] install = true -deps = [ "abb_intf", "abb_future_combinators", "containers", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show",] +deps = ["ctypes", "ctypes.foreign", "ctypes.stubs"] -[src.brtl] +[src.otls_bindings_gen] +install = false +type = "exec" +deps = ["ctypes", "ctypes.foreign", "ctypes.stubs", "otls_bindings"] + +[src.pds_excise] +type = "exec" +project_type = "third-party" +install = false + +[src.pgsql_codec] install = true -deps = [ "abb_intf", "abbs", "cohttp_abb", "hmap", "logs", "snabela", "uri", "uuidm", "yojson",] +deps = ["ocplib-endian", "ppx_deriving", "ppx_deriving.show", "ppx_deriving.eq"] -[src.furi] +[src.pgsql_io] install = true -deps = [ "containers", "uri",] +deps = ["abb", "abb_intf", "abbs", "abbs_tls", "containers", "num", "pgsql_codec", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "uuidm", "zarith"] -[src.git_config] -type = "library" +[src.pgsql_pagination] install = true -deps = [ "containers", "ppx_deriving", "ppx_deriving.ord", "ppx_deriving.show", "sedlex", "sedlex.ppx",] +deps = ["abb", "abbs", "containers", "pgsql_io"] -[src.abb_flow] +[src.pgsql_pool] install = true -deps = [ "abb_future_combinators", "abb_intf", "containers", "containers.bencode", "yojson",] +deps = ["abb", "abbs", "containers", "pgsql_io"] -[src.terrat_ui_js] +[src.pgsql_test_client] type = "exec" install = false -deps = [ - "abb_fut_js", - "abb_js", - "abb_js_fetch", - "brtl_js2", - "duration", - "hljs", - "tabler_icons", - "terrat_api", - "terrat_data", - "terrat_dirspace", - "terrat_plan_diff", -] -extra_makefile_lines = [ "OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_js.js", "terrat_ui_js.js: $(BYTE_TARGET)", "\tjs_of_ocaml $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_js.byte",] +deps = ["ISO8601", "abb", "abbs", "logs", "oth", "oth_abb", "pgsql_io"] -[src.terrat_tag_query_ast] +[src.prmths] +type = "library" install = false -deps = [ "containers", "ppx_deriving", "ppx_deriving.show", "terrat_tag_query_lexer", "terrat_tag_query_parser", "terrat_tag_query_parser_value",] +deps = ["abb", "abbs", "asetmap", "astring", "fmt", "re"] -[src.terrat_base_repo_config_v1] -install = false -deps = [ "containers", "containers-data", "iter", "lua_pattern", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson", "terrat_data", "terrat_repo_config", "terrat_tag_query", "yojson",] +[src.revops] +install = true +deps = ["containers"] -[src.terrat_tag_query_parser] -install = false -deps = [ "menhirLib", "sedlex", "terrat_tag_query_parser_value",] -extra_makefile_lines = [ "include $(SRC_DIR)/files.mk",] +[src.service_worker] +install = true +deps = ["abb_fut_js", "abb_js", "js_of_ocaml", "js_of_ocaml-ppx"] -[src.terrat_work_manifest3] -install = false -deps = [ "terrat_base_repo_config_v1", "terrat_change", "terrat_tag_query", "uuidm",] +[src.showdown_js] +type = "library" +install = true +deps = ["js_of_ocaml", "js_of_ocaml-ppx"] -[src.terrat_plan_diff] +[src.simple_diff] install = false -deps = [ - "containers", - "lua_pattern", -] -[src.githubc2_cli] +[src.snabela] +install = true +extra_ocamldep_opts = "-package sedlex" +deps = ["process", "containers", "sedlex", "sedlex.ppx", "ppx_deriving", "ppx_deriving.show", "ppx_deriving.eq"] + +[src.snabela_cli] +install = true type = "exec" -install = false -deps = [ "abb", "abbs", "githubc2", "githubc2_abb", "otls",] +install_cmd = "cp -vf snabela_cli.native $(PREFIX)/bin/snabela" +remove_cmd = "rm -vf $(PREFIX)/bin/snabela" +deps = ["cmdliner", "containers", "process", "toml", "snabela"] + +[src.tabler_icons] +install = true +deps = ["brtl_js2"] [src.tailwindcss] install = false project_type = "third-party" -[src.abb_scheduler_kqueue] -install = true -build = false - -[src.terrat_repo_config] +[src.terrat] install = false -deps = [ "json_schema", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson", "yojson",] +deps = [ + "ISO8601", + "abb", + "abb_cache", + "abb_flow", + "abb_happy_eyeballs", + "abb_process", + "abbs", + "abbs_tls", + "base64", + "brtl", + "brtl_ep", + "brtl_mw_log", + "brtl_mw_session", + "brtl_pagination", + "brtl_permissions", + "brtl_static", + "cmdliner", + "containers", + "containers-data", + "containers.bencode", + "data_mig", + "git_config", + "githubc2", + "githubc2_abb", + "iter", + "jsonu", + "jwt", + "logs", + "logs.cli", + "logs.fmt", + "lru", + "lua_pattern", + "mirage-crypto-pk", + "mirage-crypto-rng.unix", + "path_glob", + "pgsql_pagination", + "pgsql_pool", + "ppx_deriving", + "ppx_deriving.eq", + "ppx_deriving.ord", + "ppx_deriving.show", + "prmths", + "sha", + "terrat_api", + "terrat_base_repo_config_v1", + "terrat_change", + "terrat_commit_check", + "terrat_config", + "terrat_data", + "terrat_dirspace", + "terrat_files", + "terrat_github", + "terrat_github_webhooks", + "terrat_plan_diff", + "terrat_repo_config", + "terrat_sql_of_tag_query", + "terrat_tag_query", + "terrat_tag_query_ast", + "terrat_tag_query_lexer", + "terrat_tag_query_parser", + "terrat_tag_set", + "terrat_work_manifest3", + "terratc_intf", + "tsort", + "uuidm", + "x509", +] -[src.terrat_tag_query] +[src.terrat_api] install = false -deps = [ "containers", "path_glob", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "terrat_dirspace", "terrat_tag_query_ast", "terrat_tag_set",] +deps = ["containers", "json_schema", "openapi", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson", "yojson"] +extra_makefile_lines = ["DOC_FILES:=$(wildcard $(SRC_DIR)/*.ml)"] -[src.openapi_conv] +[src.terrat_base_repo_config_v1] install = false -deps = [ "compiler-libs.common", "containers", "json_schema_conv", "ocaml-compiler-libs.common", "ocaml-compiler-libs.shadow", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show", "ppx_deriving_yojson", "tsort", "yojson",] +deps = ["containers", "containers-data", "iter", "lua_pattern", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson", "terrat_data", "terrat_repo_config", "terrat_tag_query", "yojson"] -[src.abb_intf] -install = true -deps = [ "ppx_deriving", "ppx_deriving.show", "ppx_deriving.eq",] -extra_makefile_lines = [ "DOC_FILES:=$(wildcard $(SRC_DIR)/*_intf.ml)",] - -[src.otls] -install = true -compile_deps = [ "otls_bindings_gen",] -deps = [ "ctypes", "ctypes.foreign", "otls_bindings",] -extra_makefile_lines = [ "include $(SRC_DIR)/otls.mk",] -meta_linkopts = "-cclib -ltls" -extra_compiler_opts = "-strict-sequence -strict-formats -safe-string -noassert -ccopt \"$(shell pkg-config --cflags libtls)\"" +[src.terrat_change] +install = false +deps = ["ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "terrat_base_repo_config_v1", "terrat_dirspace"] -[src.brtl_mw_session] -install = true -deps = [ "abb_intf", "brtl",] +[src.terrat_code_indexer] +install = false +type = "exec" +deps = ["cmdliner", "containers", "opentofu_mods", "path_glob", "ppx_deriving", "ppx_deriving.show", "ppx_deriving_yojson", "yojson"] -[src.kqueue_bindings] -install = true -deps = [ "ctypes", "ctypes.foreign", "ctypes.stubs",] +[src.terrat_commit_check] +install = false +deps = ["ppx_deriving", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show"] -[src.pgsql_pagination] -install = true -deps = [ "abb", "abbs", "containers", "pgsql_io",] +[src.terrat_config] +install = false +deps = ["containers", "mirage-crypto-pk", "ppx_deriving", "ppx_deriving.show", "uri", "x509"] -[src.terrat_files] +[src.terrat_data] install = false -extra_makefile_lines = [ "include $(SRC_DIR)/files.mk",] +deps = ["containers", "ppx_deriving", "ppx_deriving.show", "terrat_dirspace"] -[src.revops] -install = true -deps = [ "containers",] +[src.terrat_dirspace] +install = false +deps = ["ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show"] -[src.abb_channel] -install = true -deps = [ "abb_intf", "abb_future_combinators",] -extra_makefile_lines = [ "DOC_FILES:=$(wildcard *_intf.ml) $(wildcard *.mli)",] +[src.terrat_ee] +type = "exec" +install = false +deps = ["terrat", "terratc_ee"] -[src.jwk_fetch] -install = true -deps = [ "abb", "abbs", "cohttp_abb", "jwk", "uri",] +[src.terrat_files] +install = false +extra_makefile_lines = ["include $(SRC_DIR)/files.mk"] -[src.dns_cli] +[src.terrat_github] install = false -type = "exec" -deps = [ "abb", "abbs", "abb_dns",] +deps = ["abb", "abbs", "containers", "githubc2", "githubc2_abb", "jwt", "openapi", "prmths", "terrat_config"] -[src.terrat_tag_query_parser_value] +[src.terrat_github_webhooks] install = false -deps = [] +deps = ["cohttp", "containers", "json_schema", "mirage-crypto", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson", "yojson"] +extra_makefile_lines = ["DOC_FILES:=$(wildcard $(SRC_DIR)/*.ml)"] -[src.pgsql_test_client] +[src.terrat_oss] type = "exec" install = false -deps = [ "ISO8601", "abb", "abbs", "logs", "oth", "oth_abb", "pgsql_io",] +deps = ["terrat", "terratc_oss"] -[src.abb_service_serializer] -install = true -deps = [ "abb_channel", "abb_service_local",] +[src.terrat_plan_diff] +install = false +deps = [ + "containers", + "lua_pattern", +] -[src.abb_tls] -install = true -deps = [ "abb_future_combinators", "abb_intf", "abb_io", "otls", "ppx_deriving", "ppx_deriving.show", "unix",] +[src.terrat_repo_config] +install = false +deps = ["json_schema", "ppx_deriving.eq", "ppx_deriving.make", "ppx_deriving.show", "ppx_deriving_yojson", "yojson"] -[src.terrat_dirspace] +[src.terrat_sql_of_tag_query] install = false -deps = [ "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.ord", "ppx_deriving.show",] +deps = [ + "containers", + "terrat_tag_query_parser_value", + "yojson", +] -[src.hcl_ast] +[src.terrat_tag_query] install = false -deps = [ "containers", "hcl_lexer", "hcl_parser", "hcl_parser_value", "ppx_deriving", "ppx_deriving.show",] +deps = ["containers", "path_glob", "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "terrat_dirspace", "terrat_tag_query_ast", "terrat_tag_set"] -[src.hcl_lexer] +[src.terrat_tag_query_ast] install = false -deps = [ "containers", "hcl_parser", "sedlex", "sedlex.ppx",] +deps = ["containers", "ppx_deriving", "ppx_deriving.show", "terrat_tag_query_lexer", "terrat_tag_query_parser", "terrat_tag_query_parser_value"] -[src.terrat_data] +[src.terrat_tag_query_lexer] install = false -deps = [ "containers", "ppx_deriving", "ppx_deriving.show", "terrat_dirspace",] +deps = ["sedlex", "sedlex.ppx", "terrat_tag_query_parser"] -[src.oth_abb] -install = true -deps = [ "containers", "duration", "oth", "abb_intf", "abb_future_combinators",] +[src.terrat_tag_query_parser] +install = false +deps = ["menhirLib", "sedlex", "terrat_tag_query_parser_value"] +extra_makefile_lines = ["include $(SRC_DIR)/files.mk"] -[src.tls_client] -type = "exec" +[src.terrat_tag_query_parser_value] install = false -deps = [ "containers", "unix", "otls",] +deps = [] -[src.hcl_parser_value] +[src.terrat_tag_set] install = false -deps = [ "ppx_deriving", "ppx_deriving.eq", "ppx_deriving.show", "ppx_deriving_yojson", "yojson",] +deps = ["containers", "ppx_deriving", "ppx_deriving.show"] -[src.abb_test] -install = true -deps = [ "containers", "oth", "oth_abb", "abb_intf", "abb_future_combinators",] -extra_compiler_opts = "-bin-annot -strict-sequence -strict-formats -safe-string" +[src.terrat_ui] +type = "exec" +install = false +deps = ["cmdliner", "terrat_ui_files"] -[src.lua_pattern] -install = true +[src.terrat_ui_css] +install = false +compile_deps = ["tailwindcss", "terrat_ui_site", "terrat_ui_js"] +project_type = "third-party" -[src.kqueue] -install = true -deps = [ "ctypes", "ctypes.foreign", "kqueue_bindings",] -compile_deps = [ "kqueue_bindings_gen ",] -extra_makefile_lines = [ "include $(SRC_DIR)/kqueue.mk",] +[src.terrat_ui_files] +install = false +compile_deps = ["terrat_ui_css", "terrat_ui_site", "terrat_ui_js"] +extra_makefile_lines = ["include $(SRC_DIR)/files.mk"] -[src.snabela_cli] -install = true +[src.terrat_ui_js] type = "exec" -install_cmd = "cp -vf snabela_cli.native $(PREFIX)/bin/snabela" -remove_cmd = "rm -vf $(PREFIX)/bin/snabela" -deps = [ "cmdliner", "containers", "process", "toml", "snabela",] - -[src.abbs] -install = true +install = false deps = [ - "abb", - "abb_cache", - "abb_channel", - "abb_channel_queue", - "abb_future_combinators", - "abb_happy_eyeballs", - "abb_io", - "abb_service_local", - "abb_service_serializer", - "abb_tcp_server", - "abb_time", + "abb_fut_js", + "abb_js", + "abb_js_fetch", + "brtl_js2", + "duration", + "hljs", + "tabler_icons", + "terrat_api", + "terrat_data", + "terrat_dirspace", + "terrat_plan_diff", ] +extra_makefile_lines = ["OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_js.js", "terrat_ui_js.js: $(BYTE_TARGET)", "\tjs_of_ocaml $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_js.byte"] -[src.hljs] +[src.terrat_ui_js.debug] +extra_makefile_lines = ["OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_js.js", "terrat_ui_js.js: $(BYTE_TARGET)", "\tjs_of_ocaml --pretty --source-map-inline $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_js.byte"] + +[src.terrat_ui_js.profile] +extra_makefile_lines = ["OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_js.js", "terrat_ui_js.js: $(BYTE_TARGET)", "\tjs_of_ocaml --pretty --source-map-inline $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_js.byte"] + +[src.terrat_ui_js_cache] install = false -deps = ["brtl_js2"] -[src.opentofu_mods_cli] +[src.terrat_ui_site] install = false type = "exec" -deps = [ "cmdliner", "containers", "opentofu_mods", "path_glob", "ppx_deriving", "ppx_deriving.show", "ppx_deriving_yojson", "yojson",] +compile_deps = ["terrat_ui_js"] +project_type = "third-party" -[tests.abb_tls] -deps = [ "containers", "uri", "abb_scheduler_select", "abb_tls", "cohttp_abb",] +[src.terrat_ui_sw] +install = false +type = "exec" +deps = ["abb_fut_js", "brtl_js", "terrat_ui_js_cache", "js_of_ocaml", "js_of_ocaml-ppx", "service_worker"] +extra_makefile_lines = ["OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_sw.js", "terrat_ui_sw.js: $(BYTE_TARGET)", "\tjs_of_ocaml $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_sw.byte"] -[tests.abb_time] -deps = [ "unix", "mtime.clock.os", "oth", "abb_time",] +[src.terrat_ui_sw.debug] +extra_makefile_lines = ["OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_sw.js", "terrat_ui_sw.js: $(BYTE_TARGET)", "\tjs_of_ocaml --pretty --source-map-inline $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_sw.byte"] -[tests.abb_scheduler_select] -deps = [ "abb_intf", "abb_fut", "abb_test", "abb_scheduler_select",] +[src.terrat_ui_sw.profile] +extra_makefile_lines = ["OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_sw.js", "terrat_ui_sw.js: $(BYTE_TARGET)", "\tjs_of_ocaml --pretty --source-map-inline $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_sw.byte"] -[tests.abb_scheduler_kqueue] -build = false +[src.terrat_work_manifest3] +install = false +deps = ["terrat_base_repo_config_v1", "terrat_change", "terrat_tag_query", "uuidm"] -[tests.cohttp_abb] -deps = [ "uri", "oth", "oth_abb", "abb_scheduler_select", "cohttp_abb",] +[src.terratc_ee] +install = false +deps = ["abb", "abbs", "containers", "jsonu", "terrat_base_repo_config_v1", "terrat_github", "terratc_intf", "yojson"] -[tests.lua_pattern] -deps = [ "containers", "qcheck", "oth", "lua_pattern",] +[src.terratc_intf] +install = false +deps = ["abb", "githubc2_abb", "jsonu", "ppx_deriving", "ppx_deriving.show", "terrat_base_repo_config_v1", "terrat_change", "terrat_commit_check", "terrat_config", "terrat_work_manifest3"] -[tests.abb_flow] -deps = [ "abb_flow", "abb_scheduler_select", "containers", "oth_abb",] +[src.terratc_oss] +install = false +deps = ["abb", "abbs", "containers", "jsonu", "terrat_base_repo_config_v1", "terrat_change", "terrat_github", "terratc_intf", "yojson"] -[tests.abb_thread_pool] -deps = [ "unix", "oth", "abb_thread_pool",] +[src.tls_client] +type = "exec" +install = false +deps = ["containers", "unix", "otls"] -[tests.revops_ordering] -deps = [ "revops",] +[src.tls_server] +type = "exec" +install = false +deps = ["containers", "unix", "otls"] -[tests.pgsql_io] -deps = [ "pgsql_io", "oth",] +[src.uritmpl] +type = "library" +install = true +deps = ["sedlex", "sedlex.ppx", "ppx_deriving", "ppx_deriving.show", "ppx_deriving.eq", "uri"] -[tests.terrat] -deps = [ "containers", "oth", "terrat",] +[tests.abb_cache] +deps = [ + "abb_cache", + "abb_scheduler_select", + "containers", + "oth_abb", +] -[tests.terrat_github_webhooks] -deps = [ "terrat_github_webhooks", "oth",] +[tests.abb_channel_queue_fut] +deps = ["oth", "abb_fut", "abb_channel", "abb_channel_queue"] -[tests.abb_service_local] -deps = [ "oth", "abb_fut", "abb_channel", "abb_service_local",] +[tests.abb_flow] +deps = ["abb_flow", "abb_scheduler_select", "containers", "oth_abb"] -[tests.hcl_ast] -deps = [ "containers", "oth", "hcl_ast",] -extra_makefile_lines = [ "export SRC_DIR",] +[tests.abb_fut] +deps = ["oth", "abb_intf", "abb_fut"] -[tests.kqueue] -deps = [ "oth", "kqueue",] +[tests.abb_future_combinators] +deps = ["oth", "abb_intf", "abb_fut", "abb_future_combinators"] [tests.abb_io] -deps = [ "oth_abb", "abb_scheduler_select", "abb_io",] - -[tests.snabela] -deps = [ "containers", "oth", "snabela",] +deps = ["oth_abb", "abb_scheduler_select", "abb_io"] -[tests.furi] -deps = [ "uri", "furi", "oth",] - -[tests.revops_undo] -deps = [ "revops",] - -[tests.jsonu] -deps = [ "jsonu", "oth", "yojson",] - -[tests.revops_temp_file] -deps = [ "containers", "revops",] +[tests.abb_keyed_concurrent_executor] +deps = ["oth", "abb_intf", "abb_fut", "containers", "abb_keyed_concurrent_executor"] -[tests.abb_channel_queue_fut] -deps = [ "oth", "abb_fut", "abb_channel", "abb_channel_queue",] +[tests.abb_scheduler_kqueue] +build = false -[tests.git_config] -deps = [ "oth", "git_config",] +[tests.abb_scheduler_kqueue.selector.freebsd] +build = true +deps = ["abb_intf", "abb_test", "abb_scheduler_kqueue"] -[tests.abb_fut] -deps = [ "oth", "abb_intf", "abb_fut",] +[tests.abb_scheduler_kqueue.selector.linux] +build = true +deps = ["abb_intf", "abb_test", "abb_scheduler_kqueue"] -[tests.jwt] -deps = [ "containers", "jwt", "oth", "x509", "mirage-crypto-rng.unix",] +[tests.abb_scheduler_select] +deps = ["abb_intf", "abb_fut", "abb_test", "abb_scheduler_select"] -[tests.simple_diff] -deps = [ "oth", "simple_diff",] +[tests.abb_service_local] +deps = ["oth", "abb_fut", "abb_channel", "abb_service_local"] -[tests.uritmpl] -deps = [ "uritmpl", "oth",] +[tests.abb_thread_pool] +deps = ["unix", "oth", "abb_thread_pool"] -[tests.pgsql_codec] -deps = [ "pgsql_codec", "oth",] +[tests.abb_time] +deps = ["unix", "mtime.clock.os", "oth", "abb_time"] -[tests.otls] -deps = [ "oth", "otls",] +[tests.abb_tls] +deps = ["containers", "uri", "abb_scheduler_select", "abb_tls", "cohttp_abb"] -[tests.abb_future_combinators] -deps = [ "oth", "abb_intf", "abb_fut", "abb_future_combinators",] +[tests.cohttp_abb] +deps = ["uri", "oth", "oth_abb", "abb_scheduler_select", "cohttp_abb"] -[tests.abb_keyed_concurrent_executor] -deps = [ "oth", "abb_intf", "abb_fut", "containers", "abb_keyed_concurrent_executor" ] +[tests.furi] +deps = ["uri", "furi", "oth"] -[tests.oth] -deps = [ "oth",] +[tests.git_config] +deps = ["oth", "git_config"] -[src.terrat_ui_sw.debug] -extra_makefile_lines = [ "OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_sw.js", "terrat_ui_sw.js: $(BYTE_TARGET)", "\tjs_of_ocaml --pretty --source-map-inline $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_sw.byte",] +[tests.hcl_ast] +deps = ["containers", "oth", "hcl_ast"] +extra_makefile_lines = ["export SRC_DIR"] -[src.terrat_ui_sw.profile] -extra_makefile_lines = [ "OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_sw.js", "terrat_ui_sw.js: $(BYTE_TARGET)", "\tjs_of_ocaml --pretty --source-map-inline $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_sw.byte",] +[tests.jsonu] +deps = ["jsonu", "oth", "yojson"] -[src.terrat_ui_js.debug] -extra_makefile_lines = [ "OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_js.js", "terrat_ui_js.js: $(BYTE_TARGET)", "\tjs_of_ocaml --pretty --source-map-inline $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_js.byte",] +[tests.jwt] +deps = ["containers", "jwt", "oth", "x509", "mirage-crypto-rng.unix"] -[src.terrat_ui_js.profile] -extra_makefile_lines = [ "OCAMLC_LINK_OPTS=", "OCAMLOPT_LINK_OPTS=", "all: terrat_ui_js.js", "terrat_ui_js.js: $(BYTE_TARGET)", "\tjs_of_ocaml --pretty --source-map-inline $(shell env OCAMLPATH=$(OCAMLPATH) ocamlfind query -r -format '%+(jsoo_runtime)' -separator ' ' $(PACKAGES)) terrat_ui_js.byte",] +[tests.kqueue] +deps = ["oth", "kqueue"] -[src.otls.debug] -extra_compiler_opts = "-g -strict-sequence -strict-formats -safe-string -ccopt \"$(shell pkg-config --cflags libtls)\"" +[tests.lua_pattern] +deps = ["containers", "qcheck", "oth", "lua_pattern"] -[src.otls.profile] -extra_compiler_opts = "-g -strict-sequence -strict-formats -safe-string -ccopt \"$(shell pkg-config --cflags libtls)\"" +[tests.oth] +deps = ["oth"] -[src.abb_test.debug] -extra_compiler_opts = "-g -bin-annot -strict-sequence -strict-formats -safe-string -w '@d@f@p@u@s@40'" +[tests.otls] +deps = ["oth", "otls"] -[src.abb_test.profile] -extra_compiler_opts = "-g -bin-annot -strict-sequence -strict-formats -safe-string -w '@d@f@p@u@s@40'" +[tests.pgsql_codec] +deps = ["pgsql_codec", "oth"] -[src.abb.selector.freebsd] -deps = [ "abb_intf", "abb_scheduler_kqueue",] -extra_makefile_lines = [ "include $(SRC_DIR)/abb_kqueue.mk",] +[tests.pgsql_io] +deps = ["pgsql_io", "oth"] -[src.abb.selector.linux] -deps = [ "abb_intf", "abb_scheduler_kqueue",] -extra_makefile_lines = [ "include $(SRC_DIR)/abb_kqueue.mk",] +[tests.revops_ordering] +deps = ["revops"] -[src.abb_scheduler_kqueue.selector.freebsd] -build = true -deps = [ "abb_fut", "abb_intf", "abb_thread_pool", "containers", "iter", "kqueue", "mtime.clock.os", "ppx_deriving", "ppx_deriving.ord", "unix",] +[tests.revops_temp_file] +deps = ["containers", "revops"] -[src.abb_scheduler_kqueue.selector.linux] -build = true -deps = [ "abb_fut", "abb_intf", "abb_thread_pool", "containers", "iter", "kqueue", "mtime.clock.os", "ppx_deriving", "ppx_deriving.ord", "unix",] +[tests.revops_undo] +deps = ["revops"] -[src.kqueue.selector.linux] -meta_linkopts = "-cclib -lkqueue" -extra_compiler_opts = "-strict-sequence -strict-formats -safe-string -noassert -ccopt -I/usr/include/kqueue" +[tests.simple_diff] +deps = ["oth", "simple_diff"] -[tests.abb_scheduler_kqueue.selector.freebsd] -build = true -deps = [ "abb_intf", "abb_test", "abb_scheduler_kqueue",] +[tests.snabela] +deps = ["containers", "oth", "snabela"] -[tests.abb_scheduler_kqueue.selector.linux] -build = true -deps = [ "abb_intf", "abb_test", "abb_scheduler_kqueue",] +[tests.terrat] +deps = ["containers", "oth", "terrat"] -[src.kqueue.selector.linux.debug] -meta_linkopts = "-cclib -lkqueue" -extra_compiler_opts = "-g -strict-sequence -strict-formats -safe-string -w '@d@f@p@u@s@40' -ccopt -I/usr/include/kqueue" +[tests.terrat_github_webhooks] +deps = ["terrat_github_webhooks", "oth"] [tests.terrat_sql_of_tag_query] deps = [ - "containers", - "oth", - "terrat_sql_of_tag_query", - "terrat_tag_query_ast", + "containers", + "oth", + "terrat_sql_of_tag_query", + "terrat_tag_query_ast", ] -[tests.abb_cache] -deps = [ - "abb_cache", - "abb_scheduler_select", - "containers", - "oth_abb", -] +[tests.uritmpl] +deps = ["uritmpl", "oth"] From 399543a46c360a432e9f873b508117c6df0ea0c3 Mon Sep 17 00:00:00 2001 From: Malcolm Date: Fri, 22 Nov 2024 10:40:33 +0100 Subject: [PATCH 2/2] PRO-618 FIX Ngrok URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a2ff01be..a943a229 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ For those who prefer more control, you can deploy Terrateam in your own environm Before you begin, ensure you have the following: - Docker and Docker Compose installed on your machine. -- An [Ngrok auth token](https://dashboard.ngrok.com/get-started/your-authtoken) for tunneling. +- An [Ngrok auth token](https://ngrok.com/) for tunneling. #### Terrateam Setup Steps