From 65ba87f8cd3025b628bedacaae2601d9a2b35f08 Mon Sep 17 00:00:00 2001 From: davidlion Date: Wed, 19 Feb 2025 15:38:57 -0500 Subject: [PATCH 01/50] Initial impl. --- Taskfile.yml | 23 ++++++---- lint-requirements.txt | 1 + lint-tasks.yml | 103 ++++++++++++++++++++++++++++++------------ 3 files changed, 89 insertions(+), 38 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index d3f07b5d3e..b9d888be71 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -51,6 +51,12 @@ tasks: COMPONENT: "job-orchestration" - task: "clean-webui" + clean-core: + cmds: + - task: "utils:cmake-clean" + vars: + BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" + clean-log-viewer-webui: cmds: - "rm -rf 'components/log-viewer-webui/client/node_modules'" @@ -178,7 +184,7 @@ tasks: core: vars: - SRC_DIR: "components/core" + SRC_DIR: "{{.ROOT_DIR}}/components/core" sources: - "{{.G_DEPS_CORE_CHECKSUM_FILE}}" - "{{.SRC_DIR}}/cmake/**/*" @@ -194,13 +200,14 @@ tasks: - "{{.G_CORE_COMPONENT_BUILD_DIR}}/reducer-server" deps: ["deps:core", "init"] cmds: - - "mkdir -p '{{.G_CORE_COMPONENT_BUILD_DIR}}'" - - "cmake -S '{{.SRC_DIR}}' -B '{{.G_CORE_COMPONENT_BUILD_DIR}}'" - - >- - cmake - --build "{{.G_CORE_COMPONENT_BUILD_DIR}}" - --parallel - --target clg clo clp clp-s reducer-server + - task: "utils:cmake-generate" + vars: + BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" + SOURCE_DIR: "{{.SRC_DIR}}" + - task: "utils:cmake-build" + vars: + BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" + TARGETS: ["clg", "clo", "clp", "clp-s", "reducer-server"] clp-package-utils: - task: "python-component" diff --git a/lint-requirements.txt b/lint-requirements.txt index 95d0304de1..c6fd7b8d08 100644 --- a/lint-requirements.txt +++ b/lint-requirements.txt @@ -1,4 +1,5 @@ black>=24.4.2 clang-format>=19.1.6 +clang-tidy>=19.1.0 ruff>=0.4.4 yamllint>=1.35.1 diff --git a/lint-tasks.yml b/lint-tasks.yml index fc2972fbb5..0bfc8d1d5d 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -1,6 +1,8 @@ version: "3" vars: + G_CORE_DIR: "{{.ROOT_DIR}}/components/core" + G_LINT_CLANG_TIDY_DIR: "{{.G_BUILD_DIR}}/lint-clang-tidy" G_LINT_VENV_DIR: "{{.G_BUILD_DIR}}/lint-venv" G_WEBUI_SRC_DIR: "{{.ROOT_DIR}}/components/webui" @@ -24,28 +26,18 @@ tasks: - "{{.ROOT_DIR}}/.clang-format" - "{{.ROOT_DIR}}/.clang-tidy" - "{{.TASKFILE}}" - - ".clang-format" - - "src/**/*.cpp" - - "src/**/*.h" - - "src/**/*.hpp" - - "src/**/*.inc" - - "tests/**/*.cpp" - - "tests/**/*.h" - - "tests/**/*.hpp" - - "tests/**/*.inc" - dir: "components/core" - cmds: - - task: "cpp" - vars: - FLAGS: "--dry-run" + - "{{.G_CORE_DIR}}/.clang-format" + - "{{.G_CORE_DIR}}/src/**" + - "{{.G_CORE_DIR}}/tests/**" + cmds: + - task: "cpp-format-check" + - task: "cpp-static-check-ci" cpp-fix: sources: *cpp_source_files - dir: "components/core" cmds: - - task: "cpp" - vars: - FLAGS: "-i" + - task: "cpp-format-fix" + - task: "cpp-static-fix" js-check: sources: &js_source_files @@ -116,24 +108,74 @@ tasks: lint-tasks.yml \ Taskfile.yml - cpp: - internal: true - requires: - vars: ["FLAGS"] - dir: "components/core" + cpp-format-check: + sources: *cpp_source_files deps: ["cpp-lint-configs", "venv"] cmds: - - |- - . "{{.G_LINT_VENV_DIR}}/bin/activate" - find src tests \ - -type f \ - \( -iname "*.cpp" -o -iname "*.h" -o -iname "*.hpp" -o -iname "*.inc" \) \ - -print0 | \ - xargs -0 clang-format {{.FLAGS}} -Werror + - task: ":utils:clang-format" + vars: + FLAGS: ["--dry-run"] + ROOT_PATHS: *cpp_source_files + VENV_DIR: "{{.G_LINT_VENV_DIR}}" + + cpp-format-fix: + sources: *cpp_source_files + deps: ["cpp-lint-configs", "venv"] + cmds: + - task: ":utils:clang-format" + vars: + FLAGS: ["-i"] + ROOT_PATHS: *cpp_source_files + VENV_DIR: "{{.G_LINT_VENV_DIR}}" cpp-lint-configs: internal: true cmd: "{{.ROOT_DIR}}/tools/yscope-dev-utils/lint-configs/symlink-cpp-lint-configs.sh" + cpp-static-check-all: + sources: *cpp_source_files + deps: + - "cpp-lint-configs" + - "venv" + - task: ":utils:cmake-generate" + vars: + BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" + SOURCE_DIR: "{{.ROOT_DIR}}/components/core" + cmds: + - task: ":utils:clang-tidy-find" + vars: + EXCLUDE_PATTERNS: + - "{{.G_CORE_DIR}}/tests/LogSuppressor.hpp" + FLAGS: + - --config-file "{{.ROOT_DIR}}/.clang-tidy" + - -p "{{.G_CORE_COMPONENT_BUILD_DIR}}" + INCLUDE_PATTERNS: + - "{{.G_CORE_DIR}}/tests/*" + OUTPUT_DIR: "{{.G_LINT_CLANG_TIDY_DIR}}" + ROOT_PATHS: *cpp_source_files + VENV_DIR: "{{.G_LINT_VENV_DIR}}" + + cpp-static-check-ci: + # Alias task to `cpp-static-fix` since we don't currently support automatic fixes. + # NOTE: clang-tidy does have the ability to fix some errors, but the fixes can be inaccurate. + # When we eventually determine which errors can be safely fixed, we'll allow clang-tidy to + # fix them. + aliases: ["cpp-static-fix"] + sources: *cpp_source_files + deps: + - "cpp-lint-configs" + - "venv" + - task: ":utils:cmake-generate" + vars: + BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" + SOURCE_DIR: "{{.ROOT_DIR}}/components/core" + cmds: + - task: ":utils:clang-tidy-diff" + vars: + FLAGS: + - --config-file "{{.ROOT_DIR}}/.clang-tidy" + - -p "{{.G_CORE_COMPONENT_BUILD_DIR}}" + OUTPUT_DIR: "{{.G_LINT_CLANG_TIDY_DIR}}" + VENV_DIR: "{{.G_LINT_VENV_DIR}}" js: internal: true @@ -185,6 +227,7 @@ tasks: deps: - ":init" - ":webui-node-modules" + # - task: ":utils:validate-checksum" - task: ":utils:validate-checksum" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" From a0f78d89af2ece0ea0710c07b82398723f1673a0 Mon Sep 17 00:00:00 2001 From: davidlion Date: Wed, 26 Feb 2025 16:35:22 -0500 Subject: [PATCH 02/50] Add clang tidy tasks to cpp-static-check. --- Taskfile.yml | 56 ++--- lint-tasks.yml | 589 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 605 insertions(+), 40 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 1d5f9b700c..4bc3f25b8d 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -4,7 +4,7 @@ includes: deps: "deps-tasks.yml" docs: "docs/tasks.yml" lint: "lint-tasks.yml" - utils: "tools/yscope-dev-utils/taskfiles/utils.yaml" + utils: "tools/yscope-dev-utils/taskfiles/utils/utils.yaml" vars: # Source paths @@ -53,7 +53,7 @@ tasks: clean-core: cmds: - - task: "utils:cmake-clean" + - task: "utils:cmake:clean" vars: BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" @@ -120,7 +120,7 @@ tasks: - "log-viewer-webui-clients" - "nodejs-14" - "package-venv" - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -179,7 +179,7 @@ tasks: cd "{{.OUTPUT_DIR}}/var/www/log_viewer_webui/server" PATH="{{.G_NODEJS_22_BIN_DIR}}":$PATH npm clean-install # This command must be last - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -203,11 +203,11 @@ tasks: - "{{.G_CORE_COMPONENT_BUILD_DIR}}/reducer-server" deps: ["deps:core", "init"] cmds: - - task: "utils:cmake-generate" + - task: "utils:cmake:generate" vars: BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" SOURCE_DIR: "{{.SRC_DIR}}" - - task: "utils:cmake-build" + - task: "utils:cmake:build" vars: BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" TARGETS: ["clg", "clo", "clp", "clp-s", "reducer-server"] @@ -249,7 +249,7 @@ tasks: deps: - "init" - "log-viewer-webui-node-modules" - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -262,7 +262,7 @@ tasks: cd "{{.ITEM}}" PATH="{{.G_NODEJS_22_BIN_DIR}}":$PATH npm run build -- \ --output-path "{{.OUTPUT_DIR}}/{{.ITEM}}" - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -287,7 +287,7 @@ tasks: deps: - "init" - "meteor" - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -306,7 +306,7 @@ tasks: # Remove temp files generated by `meteor build` before checksum - "find node_modules -type f -name '.meteor-portable-2.json' -exec rm {} +" # This command must be last - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -349,7 +349,7 @@ tasks: generates: ["{{.CHECKSUM_FILE}}"] deps: - "init" - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -364,7 +364,7 @@ tasks: - "mv '{{.EXTRACTED_DIR}}' '{{.OUTPUT_DIR}}'" - "rm -rf '{{.OUTPUT_TMP_DIR}}'" # This command must be last - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -414,19 +414,19 @@ tasks: deps: - "deps:log-viewer" - "nodejs-22" - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CLIENT_CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.CLIENT_OUTPUT_DIR}}"] - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.SERVER_CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.SERVER_OUTPUT_DIR}}"] - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.PACKAGE_CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.PACKAGE_OUTPUT_DIR}}"] - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.LOG_VIEWER_CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.LOG_VIEWER_OUTPUT_DIR}}"] @@ -438,19 +438,19 @@ tasks: cd yscope-log-viewer PATH="{{.G_NODEJS_22_BIN_DIR}}":$PATH npm install # These commands must be last - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CLIENT_CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.CLIENT_OUTPUT_DIR}}"] - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.LOG_VIEWER_CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.LOG_VIEWER_OUTPUT_DIR}}"] - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.PACKAGE_CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.PACKAGE_OUTPUT_DIR}}"] - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.SERVER_CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.SERVER_OUTPUT_DIR}}"] @@ -557,18 +557,18 @@ tasks: generates: ["{{.CHECKSUM_FILE}}"] deps: - "init" - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] cmds: - - task: "utils:create-venv" + - task: "utils:misc:create-venv" vars: LABEL: "package" OUTPUT_DIR: "{{.OUTPUT_DIR}}" REQUIREMENTS_FILE: "{{.ROOT_DIR}}/requirements.txt" # This command must be last - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -621,7 +621,7 @@ tasks: deps: - "init" - "meteor" - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -629,7 +629,7 @@ tasks: - "rm -rf '{{.OUTPUT_DIR}}'" - "PATH='{{.G_METEOR_BUILD_DIR}}':$PATH meteor npm install --production" # This command must be last - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -650,18 +650,18 @@ tasks: generates: ["{{.CHECKSUM_FILE}}"] deps: - "init" - - task: "utils:validate-checksum" + - task: "utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] cmds: - - task: "utils:create-venv" + - task: "utils:misc:create-venv" vars: LABEL: "{{.COMPONENT}}" OUTPUT_DIR: "{{.OUTPUT_DIR}}" REQUIREMENTS_FILE: "{{.ROOT_DIR}}/requirements.txt" # This command must be last - - task: "utils:compute-checksum" + - task: "utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] diff --git a/lint-tasks.yml b/lint-tasks.yml index 0bfc8d1d5d..65e0880810 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -112,7 +112,7 @@ tasks: sources: *cpp_source_files deps: ["cpp-lint-configs", "venv"] cmds: - - task: ":utils:clang-format" + - task: ":utils:cpp-lint:clang-format" vars: FLAGS: ["--dry-run"] ROOT_PATHS: *cpp_source_files @@ -122,7 +122,7 @@ tasks: sources: *cpp_source_files deps: ["cpp-lint-configs", "venv"] cmds: - - task: ":utils:clang-format" + - task: ":utils:cpp-lint:clang-format" vars: FLAGS: ["-i"] ROOT_PATHS: *cpp_source_files @@ -131,24 +131,590 @@ tasks: cpp-lint-configs: internal: true cmd: "{{.ROOT_DIR}}/tools/yscope-dev-utils/lint-configs/symlink-cpp-lint-configs.sh" + cpp-static-check-all: sources: *cpp_source_files deps: - "cpp-lint-configs" - "venv" - - task: ":utils:cmake-generate" + - task: ":utils:cmake:generate" vars: BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" SOURCE_DIR: "{{.ROOT_DIR}}/components/core" cmds: - - task: ":utils:clang-tidy-find" + - task: ":utils:cpp-lint:clang-tidy-find" vars: + # Note, the following files only error is a circular header by including + # decoding_methods.hpp (due to decoding_methods.inc): + # src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp + # src/clp/ffi/ir_stream/IrUnitHandlerInterface.cpp + # src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp + # src/clp/ir/EncodedTextAst.cpp + # tests/test-ffi_IrUnitHandlerInterface.cpp EXCLUDE_PATTERNS: + - "{{.G_CORE_DIR}}/src/clp/ArrayBackedPosIntSet.hpp" + - "{{.G_CORE_DIR}}/src/clp/aws/AwsAuthenticationSigner.cpp" + - "{{.G_CORE_DIR}}/src/clp/BufferedFileReader.cpp" + - "{{.G_CORE_DIR}}/src/clp/BufferedFileReader.hpp" + - "{{.G_CORE_DIR}}/src/clp/BufferReader.cpp" + - "{{.G_CORE_DIR}}/src/clp/BufferReader.hpp" + - "{{.G_CORE_DIR}}/src/clp/clg/clg.cpp" + - "{{.G_CORE_DIR}}/src/clp/clg/CommandLineArguments.cpp" + - "{{.G_CORE_DIR}}/src/clp/clg/CommandLineArguments.hpp" + - "{{.G_CORE_DIR}}/src/clp/cli_utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/clo/clo.cpp" + - "{{.G_CORE_DIR}}/src/clp/clo/CommandLineArguments.cpp" + - "{{.G_CORE_DIR}}/src/clp/clo/CommandLineArguments.hpp" + - "{{.G_CORE_DIR}}/src/clp/clo/constants.hpp" + - "{{.G_CORE_DIR}}/src/clp/clo/OutputHandler.cpp" + - "{{.G_CORE_DIR}}/src/clp/clo/OutputHandler.hpp" + - "{{.G_CORE_DIR}}/src/clp/clp/clp.cpp" + - "{{.G_CORE_DIR}}/src/clp/clp/CommandLineArguments.cpp" + - "{{.G_CORE_DIR}}/src/clp/clp/CommandLineArguments.hpp" + - "{{.G_CORE_DIR}}/src/clp/clp/compression.cpp" + - "{{.G_CORE_DIR}}/src/clp/clp/compression.hpp" + - "{{.G_CORE_DIR}}/src/clp/clp/decompression.cpp" + - "{{.G_CORE_DIR}}/src/clp/clp/decompression.hpp" + - "{{.G_CORE_DIR}}/src/clp/clp/FileCompressor.cpp" + - "{{.G_CORE_DIR}}/src/clp/clp/FileCompressor.hpp" + - "{{.G_CORE_DIR}}/src/clp/clp/FileDecompressor.cpp" + - "{{.G_CORE_DIR}}/src/clp/clp/FileDecompressor.hpp" + - "{{.G_CORE_DIR}}/src/clp/clp/FileToCompress.hpp" + - "{{.G_CORE_DIR}}/src/clp/clp/run.cpp" + - "{{.G_CORE_DIR}}/src/clp/clp/run.hpp" + - "{{.G_CORE_DIR}}/src/clp/clp/utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/clp/utils.hpp" + - "{{.G_CORE_DIR}}/src/clp/CommandLineArgumentsBase.hpp" + - "{{.G_CORE_DIR}}/src/clp/CurlDownloadHandler.cpp" + - "{{.G_CORE_DIR}}/src/clp/CurlDownloadHandler.hpp" + - "{{.G_CORE_DIR}}/src/clp/CurlEasyHandle.hpp" + - "{{.G_CORE_DIR}}/src/clp/CurlStringList.hpp" + - "{{.G_CORE_DIR}}/src/clp/database_utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/database_utils.hpp" + - "{{.G_CORE_DIR}}/src/clp/Defs.h" + - "{{.G_CORE_DIR}}/src/clp/DictionaryEntry.hpp" + - "{{.G_CORE_DIR}}/src/clp/DictionaryReader.hpp" + - "{{.G_CORE_DIR}}/src/clp/dictionary_utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/dictionary_utils.hpp" + - "{{.G_CORE_DIR}}/src/clp/DictionaryWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp/EncodedVariableInterpreter.cpp" + - "{{.G_CORE_DIR}}/src/clp/EncodedVariableInterpreter.hpp" + - "{{.G_CORE_DIR}}/src/clp/ErrorCode.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/encoding_methods.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/encoding_methods.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/decoding_methods.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/decoding_methods.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/decoding_methods.inc" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/Deserializer.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/encoding_methods.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/encoding_methods.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/IrErrorCode.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/protocol_constants.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/Serializer.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/Serializer.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/utils.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/CompositeWildcardToken.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/CompositeWildcardToken.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/ExactVariableToken.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/ExactVariableToken.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/QueryMethodFailed.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/query_methods.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/query_methods.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/QueryToken.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/QueryWildcard.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/QueryWildcard.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/Subquery.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/Subquery.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/WildcardToken.cpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/search/WildcardToken.hpp" + - "{{.G_CORE_DIR}}/src/clp/ffi/utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/FileDescriptor.cpp" + - "{{.G_CORE_DIR}}/src/clp/FileDescriptor.hpp" + - "{{.G_CORE_DIR}}/src/clp/FileReader.cpp" + - "{{.G_CORE_DIR}}/src/clp/FileReader.hpp" + - "{{.G_CORE_DIR}}/src/clp/FileWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp/FileWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp/GlobalMetadataDBConfig.cpp" + - "{{.G_CORE_DIR}}/src/clp/GlobalMetadataDBConfig.hpp" + - "{{.G_CORE_DIR}}/src/clp/GlobalMetadataDB.hpp" + - "{{.G_CORE_DIR}}/src/clp/GlobalMySQLMetadataDB.cpp" + - "{{.G_CORE_DIR}}/src/clp/GlobalMySQLMetadataDB.hpp" + - "{{.G_CORE_DIR}}/src/clp/GlobalSQLiteMetadataDB.cpp" + - "{{.G_CORE_DIR}}/src/clp/GlobalSQLiteMetadataDB.hpp" + - "{{.G_CORE_DIR}}/src/clp/Grep.cpp" + - "{{.G_CORE_DIR}}/src/clp/Grep.hpp" + - "{{.G_CORE_DIR}}/src/clp/hash_utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/ir/EncodedTextAst.cpp" + - "{{.G_CORE_DIR}}/src/clp/ir/LogEventDeserializer.cpp" + - "{{.G_CORE_DIR}}/src/clp/ir/LogEventDeserializer.hpp" + - "{{.G_CORE_DIR}}/src/clp/ir/LogEvent.hpp" + - "{{.G_CORE_DIR}}/src/clp/ir/LogEventSerializer.cpp" + - "{{.G_CORE_DIR}}/src/clp/ir/parsing.cpp" + - "{{.G_CORE_DIR}}/src/clp/ir/parsing.hpp" + - "{{.G_CORE_DIR}}/src/clp/ir/utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/LibarchiveFileReader.cpp" + - "{{.G_CORE_DIR}}/src/clp/LibarchiveFileReader.hpp" + - "{{.G_CORE_DIR}}/src/clp/LibarchiveReader.cpp" + - "{{.G_CORE_DIR}}/src/clp/LibarchiveReader.hpp" + - "{{.G_CORE_DIR}}/src/clp/LogSurgeonReader.cpp" + - "{{.G_CORE_DIR}}/src/clp/LogSurgeonReader.hpp" + - "{{.G_CORE_DIR}}/src/clp/LogTypeDictionaryEntry.cpp" + - "{{.G_CORE_DIR}}/src/clp/LogTypeDictionaryEntry.hpp" + - "{{.G_CORE_DIR}}/src/clp/LogTypeDictionaryWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp/LogTypeDictionaryWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp/make_dictionaries_readable/CommandLineArguments.cpp" + - "{{.G_CORE_DIR}}/src/clp/make_dictionaries_readable/CommandLineArguments.hpp" + - "{{.G_CORE_DIR}}/src/clp/make_dictionaries_readable/make-dictionaries-readable.cpp" + - "{{.G_CORE_DIR}}/src/clp/MessageParser.cpp" + - "{{.G_CORE_DIR}}/src/clp/MessageParser.hpp" + - "{{.G_CORE_DIR}}/src/clp/MySQLDB.cpp" + - "{{.G_CORE_DIR}}/src/clp/MySQLDB.hpp" + - "{{.G_CORE_DIR}}/src/clp/MySQLParamBindings.cpp" + - "{{.G_CORE_DIR}}/src/clp/MySQLParamBindings.hpp" + - "{{.G_CORE_DIR}}/src/clp/MySQLPreparedStatement.cpp" + - "{{.G_CORE_DIR}}/src/clp/MySQLPreparedStatement.hpp" + - "{{.G_CORE_DIR}}/src/clp/networking/SocketOperationFailed.hpp" + - "{{.G_CORE_DIR}}/src/clp/networking/socket_utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/networking/socket_utils.hpp" + - "{{.G_CORE_DIR}}/src/clp/NetworkReader.cpp" + - "{{.G_CORE_DIR}}/src/clp/PageAllocatedVector.hpp" + - "{{.G_CORE_DIR}}/src/clp/ParsedMessage.cpp" + - "{{.G_CORE_DIR}}/src/clp/ParsedMessage.hpp" + - "{{.G_CORE_DIR}}/src/clp/Platform.hpp" + - "{{.G_CORE_DIR}}/src/clp/Profiler.cpp" + - "{{.G_CORE_DIR}}/src/clp/Profiler.hpp" + - "{{.G_CORE_DIR}}/src/clp/Query.cpp" + - "{{.G_CORE_DIR}}/src/clp/Query.hpp" + - "{{.G_CORE_DIR}}/src/clp/ReaderInterface.cpp" + - "{{.G_CORE_DIR}}/src/clp/ReaderInterface.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/archive_constants.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ArchiveReaderAdaptor.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ArchiveReaderAdaptor.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ArchiveReader.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ArchiveReader.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ArchiveWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ArchiveWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/BufferViewReader.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/clp-s.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ColumnReader.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ColumnReader.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ColumnWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ColumnWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/CommandLineArguments.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/CommandLineArguments.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/Compressor.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/Decompressor.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/Defs.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/DictionaryEntry.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/DictionaryEntry.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/DictionaryReader.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/DictionaryWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/DictionaryWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ErrorCode.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/FileReader.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/FileReader.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/FileWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/FileWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/indexer/CommandLineArguments.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/indexer/CommandLineArguments.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/indexer/indexer.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/indexer/IndexManager.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/indexer/IndexManager.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/indexer/MySQLIndexStorage.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/indexer/MySQLIndexStorage.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/InputConfig.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/InputConfig.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/JsonConstructor.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/JsonConstructor.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/JsonFileIterator.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/JsonFileIterator.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/JsonParser.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/JsonParser.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/JsonSerializer.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/PackedStreamReader.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/PackedStreamReader.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ParsedMessage.hpp" + - "{{.G_CORE_DIR}}/src/clp/spdlog_with_specializations.hpp" + - "{{.G_CORE_DIR}}/src/clp/SQLiteDB.cpp" + - "{{.G_CORE_DIR}}/src/clp/SQLiteDB.hpp" + - "{{.G_CORE_DIR}}/src/clp/SQLitePreparedStatement.cpp" + - "{{.G_CORE_DIR}}/src/clp/SQLitePreparedStatement.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ReaderUtils.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ReaderUtils.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/Schema.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/Schema.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/SchemaMap.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/SchemaMap.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/SchemaReader.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/SchemaReader.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/SchemaTree.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/SchemaTree.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/SchemaWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/SchemaWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/AddTimestampConditions.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/AddTimestampConditions.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/AndExpr.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/AndExpr.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/antlr_common/ErrorListener.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/BooleanLiteral.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/BooleanLiteral.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/EncodedVariableInterpreter.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/EncodedVariableInterpreter.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/Grep.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/Grep.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/Query.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/Query.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/ColumnDescriptor.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/ColumnDescriptor.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/ConstantProp.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/ConstantProp.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/ConvertToExists.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/ConvertToExists.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/DateLiteral.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/DateLiteral.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/EmptyExpr.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/EmptyExpr.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/EvaluateTimestampIndex.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/EvaluateTimestampIndex.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Expression.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Expression.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/FilterExpr.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/FilterExpr.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/FilterOperation.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Integral.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Integral.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/kql/kql.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/kql/kql.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Literal.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/NarrowTypes.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/NarrowTypes.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/NullLiteral.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/NullLiteral.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/OrExpr.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/OrExpr.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/OrOfAndForm.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/OrOfAndForm.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Output.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/OutputHandler.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/OutputHandler.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Output.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Projection.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Projection.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/SchemaMatch.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/SchemaMatch.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/SearchUtils.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/SearchUtils.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/sql/sql.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/StringLiteral.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/StringLiteral.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Transformation.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/search/Value.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/SingleFileArchiveDefs.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/TimestampDictionaryReader.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/TimestampDictionaryReader.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/TimestampDictionaryWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/TimestampDictionaryWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/TimestampEntry.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/TimestampEntry.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/TimestampPattern.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/TimestampPattern.hpp" + - "{{.G_CORE_DIR}}/src/clp/Stopwatch.cpp" + - "{{.G_CORE_DIR}}/src/clp/Stopwatch.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/TraceableException.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/ArchiveMetadata.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/ArchiveMetadata.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/Constants.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/MetadataDB.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/MetadataDB.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Archive.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Archive.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/File.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/File.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Message.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Message.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Segment.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Segment.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/SegmentManager.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/SegmentManager.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/Archive.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/Archive.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/File.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/File.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/Segment.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/Segment.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_compression/Constants.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_compression/Decompressor.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.hpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_compression/zstd/Decompressor.cpp" + - "{{.G_CORE_DIR}}/src/clp/streaming_compression/zstd/Decompressor.hpp" + - "{{.G_CORE_DIR}}/src/clp/StringReader.cpp" + - "{{.G_CORE_DIR}}/src/clp/StringReader.hpp" + - "{{.G_CORE_DIR}}/src/clp/string_utils/string_utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/string_utils/string_utils.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/Utils.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/Utils.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/VariableDecoder.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/VariableDecoder.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/VariableEncoder.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/VariableEncoder.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ZstdCompressor.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ZstdCompressor.hpp" + - "{{.G_CORE_DIR}}/src/clp_s/ZstdDecompressor.cpp" + - "{{.G_CORE_DIR}}/src/clp_s/ZstdDecompressor.hpp" + - "{{.G_CORE_DIR}}/src/clp/Thread.cpp" + - "{{.G_CORE_DIR}}/src/clp/Thread.hpp" + - "{{.G_CORE_DIR}}/src/clp/TimestampPattern.cpp" + - "{{.G_CORE_DIR}}/src/clp/TimestampPattern.hpp" + - "{{.G_CORE_DIR}}/src/clp/TraceableException.hpp" + - "{{.G_CORE_DIR}}/src/clp/type_utils.hpp" + - "{{.G_CORE_DIR}}/src/clp/Utils.cpp" + - "{{.G_CORE_DIR}}/src/clp/Utils.hpp" + - "{{.G_CORE_DIR}}/src/clp/VariableDictionaryEntry.cpp" + - "{{.G_CORE_DIR}}/src/clp/VariableDictionaryEntry.hpp" + - "{{.G_CORE_DIR}}/src/clp/VariableDictionaryWriter.cpp" + - "{{.G_CORE_DIR}}/src/clp/VariableDictionaryWriter.hpp" + - "{{.G_CORE_DIR}}/src/clp/version.hpp" + - "{{.G_CORE_DIR}}/src/clp/WriterInterface.cpp" + - "{{.G_CORE_DIR}}/src/clp/WriterInterface.hpp" + - "{{.G_CORE_DIR}}/src/glt/ArrayBackedPosIntSet.hpp" + - "{{.G_CORE_DIR}}/src/glt/BufferedFileReader.cpp" + - "{{.G_CORE_DIR}}/src/glt/BufferedFileReader.hpp" + - "{{.G_CORE_DIR}}/src/glt/BufferReader.cpp" + - "{{.G_CORE_DIR}}/src/glt/BufferReader.hpp" + - "{{.G_CORE_DIR}}/src/glt/CommandLineArgumentsBase.hpp" + - "{{.G_CORE_DIR}}/src/glt/database_utils.cpp" + - "{{.G_CORE_DIR}}/src/glt/database_utils.hpp" + - "{{.G_CORE_DIR}}/src/glt/Defs.h" + - "{{.G_CORE_DIR}}/src/glt/DictionaryEntry.hpp" + - "{{.G_CORE_DIR}}/src/glt/DictionaryReader.hpp" + - "{{.G_CORE_DIR}}/src/glt/dictionary_utils.cpp" + - "{{.G_CORE_DIR}}/src/glt/dictionary_utils.hpp" + - "{{.G_CORE_DIR}}/src/glt/DictionaryWriter.hpp" + - "{{.G_CORE_DIR}}/src/glt/EncodedVariableInterpreter.cpp" + - "{{.G_CORE_DIR}}/src/glt/EncodedVariableInterpreter.hpp" + - "{{.G_CORE_DIR}}/src/glt/ErrorCode.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/encoding_methods.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/encoding_methods.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/decoding_methods.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/decoding_methods.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/decoding_methods.inc" + - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/encoding_methods.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/encoding_methods.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/protocol_constants.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/CompositeWildcardToken.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/CompositeWildcardToken.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/ExactVariableToken.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/ExactVariableToken.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/QueryMethodFailed.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/query_methods.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/query_methods.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/QueryToken.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/QueryWildcard.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/QueryWildcard.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/Subquery.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/Subquery.hpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/WildcardToken.cpp" + - "{{.G_CORE_DIR}}/src/glt/ffi/search/WildcardToken.hpp" + - "{{.G_CORE_DIR}}/src/glt/FileReader.cpp" + - "{{.G_CORE_DIR}}/src/glt/FileReader.hpp" + - "{{.G_CORE_DIR}}/src/glt/FileWriter.cpp" + - "{{.G_CORE_DIR}}/src/glt/FileWriter.hpp" + - "{{.G_CORE_DIR}}/src/glt/GlobalMetadataDBConfig.cpp" + - "{{.G_CORE_DIR}}/src/glt/GlobalMetadataDBConfig.hpp" + - "{{.G_CORE_DIR}}/src/glt/GlobalMetadataDB.hpp" + - "{{.G_CORE_DIR}}/src/glt/GlobalMySQLMetadataDB.cpp" + - "{{.G_CORE_DIR}}/src/glt/GlobalMySQLMetadataDB.hpp" + - "{{.G_CORE_DIR}}/src/glt/GlobalSQLiteMetadataDB.cpp" + - "{{.G_CORE_DIR}}/src/glt/GlobalSQLiteMetadataDB.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/CommandLineArguments.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/CommandLineArguments.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/compression.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/compression.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/decompression.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/decompression.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/FileCompressor.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/FileCompressor.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/FileDecompressor.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/FileDecompressor.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/FileToCompress.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/glt.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/run.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/run.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/search.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/search.hpp" + - "{{.G_CORE_DIR}}/src/glt/glt/utils.cpp" + - "{{.G_CORE_DIR}}/src/glt/glt/utils.hpp" + - "{{.G_CORE_DIR}}/src/glt/Grep.cpp" + - "{{.G_CORE_DIR}}/src/glt/Grep.hpp" + - "{{.G_CORE_DIR}}/src/glt/ir/LogEventDeserializer.cpp" + - "{{.G_CORE_DIR}}/src/glt/ir/LogEventDeserializer.hpp" + - "{{.G_CORE_DIR}}/src/glt/ir/LogEvent.hpp" + - "{{.G_CORE_DIR}}/src/glt/ir/parsing.cpp" + - "{{.G_CORE_DIR}}/src/glt/ir/parsing.hpp" + - "{{.G_CORE_DIR}}/src/glt/ir/utils.cpp" + - "{{.G_CORE_DIR}}/src/glt/LibarchiveFileReader.cpp" + - "{{.G_CORE_DIR}}/src/glt/LibarchiveFileReader.hpp" + - "{{.G_CORE_DIR}}/src/glt/LibarchiveReader.cpp" + - "{{.G_CORE_DIR}}/src/glt/LibarchiveReader.hpp" + - "{{.G_CORE_DIR}}/src/glt/LogTypeDictionaryEntry.cpp" + - "{{.G_CORE_DIR}}/src/glt/LogTypeDictionaryEntry.hpp" + - "{{.G_CORE_DIR}}/src/glt/LogTypeDictionaryWriter.cpp" + - "{{.G_CORE_DIR}}/src/glt/LogTypeDictionaryWriter.hpp" + - "{{.G_CORE_DIR}}/src/glt/MessageParser.cpp" + - "{{.G_CORE_DIR}}/src/glt/MessageParser.hpp" + - "{{.G_CORE_DIR}}/src/glt/MySQLDB.cpp" + - "{{.G_CORE_DIR}}/src/glt/MySQLDB.hpp" + - "{{.G_CORE_DIR}}/src/glt/MySQLParamBindings.cpp" + - "{{.G_CORE_DIR}}/src/glt/MySQLParamBindings.hpp" + - "{{.G_CORE_DIR}}/src/glt/MySQLPreparedStatement.cpp" + - "{{.G_CORE_DIR}}/src/glt/MySQLPreparedStatement.hpp" + - "{{.G_CORE_DIR}}/src/glt/PageAllocatedVector.hpp" + - "{{.G_CORE_DIR}}/src/glt/ParsedMessage.cpp" + - "{{.G_CORE_DIR}}/src/glt/ParsedMessage.hpp" + - "{{.G_CORE_DIR}}/src/glt/Platform.hpp" + - "{{.G_CORE_DIR}}/src/glt/Profiler.cpp" + - "{{.G_CORE_DIR}}/src/glt/Profiler.hpp" + - "{{.G_CORE_DIR}}/src/glt/Query.cpp" + - "{{.G_CORE_DIR}}/src/glt/Query.hpp" + - "{{.G_CORE_DIR}}/src/glt/ReaderInterface.cpp" + - "{{.G_CORE_DIR}}/src/glt/ReaderInterface.hpp" + - "{{.G_CORE_DIR}}/src/glt/spdlog_with_specializations.hpp" + - "{{.G_CORE_DIR}}/src/glt/SQLiteDB.cpp" + - "{{.G_CORE_DIR}}/src/glt/SQLiteDB.hpp" + - "{{.G_CORE_DIR}}/src/glt/SQLitePreparedStatement.cpp" + - "{{.G_CORE_DIR}}/src/glt/SQLitePreparedStatement.hpp" + - "{{.G_CORE_DIR}}/src/glt/Stopwatch.cpp" + - "{{.G_CORE_DIR}}/src/glt/Stopwatch.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/ArchiveMetadata.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/ArchiveMetadata.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/Constants.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/LogtypeSizeTracker.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/MetadataDB.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/MetadataDB.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Archive.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Archive.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/CombinedLogtypeTable.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/CombinedLogtypeTable.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/File.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/File.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/GLTSegment.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/GLTSegment.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeMetadata.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeTable.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeTable.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeTableManager.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeTableManager.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Message.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Message.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/MultiLogtypeTablesManager.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/MultiLogtypeTablesManager.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Segment.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Segment.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/SegmentManager.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/SegmentManager.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/SingleLogtypeTableManager.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/SingleLogtypeTableManager.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/Archive.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/Archive.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/File.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/File.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/GLTSegment.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/GLTSegment.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/LogtypeTable.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/LogtypeTable.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/Segment.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/Segment.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/Compressor.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/Constants.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/Decompressor.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/passthrough/Compressor.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/passthrough/Compressor.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/passthrough/Decompressor.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/passthrough/Decompressor.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Compressor.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Compressor.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Constants.hpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Decompressor.cpp" + - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Decompressor.hpp" + - "{{.G_CORE_DIR}}/src/glt/StringReader.cpp" + - "{{.G_CORE_DIR}}/src/glt/StringReader.hpp" + - "{{.G_CORE_DIR}}/src/glt/string_utils/string_utils.cpp" + - "{{.G_CORE_DIR}}/src/glt/string_utils/string_utils.hpp" + - "{{.G_CORE_DIR}}/src/glt/TimestampPattern.cpp" + - "{{.G_CORE_DIR}}/src/glt/TimestampPattern.hpp" + - "{{.G_CORE_DIR}}/src/glt/TraceableException.hpp" + - "{{.G_CORE_DIR}}/src/glt/type_utils.hpp" + - "{{.G_CORE_DIR}}/src/glt/Utils.cpp" + - "{{.G_CORE_DIR}}/src/glt/Utils.hpp" + - "{{.G_CORE_DIR}}/src/glt/VariableDictionaryEntry.cpp" + - "{{.G_CORE_DIR}}/src/glt/VariableDictionaryEntry.hpp" + - "{{.G_CORE_DIR}}/src/glt/VariableDictionaryWriter.cpp" + - "{{.G_CORE_DIR}}/src/glt/VariableDictionaryWriter.hpp" + - "{{.G_CORE_DIR}}/src/glt/version.hpp" + - "{{.G_CORE_DIR}}/src/glt/WriterInterface.cpp" + - "{{.G_CORE_DIR}}/src/glt/WriterInterface.hpp" + - "{{.G_CORE_DIR}}/src/reducer/BufferedSocketWriter.cpp" + - "{{.G_CORE_DIR}}/src/reducer/BufferedSocketWriter.hpp" + - "{{.G_CORE_DIR}}/src/reducer/CommandLineArguments.cpp" + - "{{.G_CORE_DIR}}/src/reducer/CommandLineArguments.hpp" + - "{{.G_CORE_DIR}}/src/reducer/ConstRecordIterator.hpp" + - "{{.G_CORE_DIR}}/src/reducer/CountOperator.cpp" + - "{{.G_CORE_DIR}}/src/reducer/CountOperator.hpp" + - "{{.G_CORE_DIR}}/src/reducer/DeserializedRecordGroup.cpp" + - "{{.G_CORE_DIR}}/src/reducer/DeserializedRecordGroup.hpp" + - "{{.G_CORE_DIR}}/src/reducer/JsonArrayRecordIterator.hpp" + - "{{.G_CORE_DIR}}/src/reducer/JsonRecord.hpp" + - "{{.G_CORE_DIR}}/src/reducer/network_utils.cpp" + - "{{.G_CORE_DIR}}/src/reducer/network_utils.hpp" + - "{{.G_CORE_DIR}}/src/reducer/Operator.hpp" + - "{{.G_CORE_DIR}}/src/reducer/Pipeline.cpp" + - "{{.G_CORE_DIR}}/src/reducer/Pipeline.hpp" + - "{{.G_CORE_DIR}}/src/reducer/RecordGroup.hpp" + - "{{.G_CORE_DIR}}/src/reducer/RecordGroupIterator.hpp" + - "{{.G_CORE_DIR}}/src/reducer/Record.hpp" + - "{{.G_CORE_DIR}}/src/reducer/RecordReceiverContext.cpp" + - "{{.G_CORE_DIR}}/src/reducer/RecordReceiverContext.hpp" + - "{{.G_CORE_DIR}}/src/reducer/RecordTypedKeyIterator.hpp" + - "{{.G_CORE_DIR}}/src/reducer/reducer_server.cpp" + - "{{.G_CORE_DIR}}/src/reducer/ServerContext.cpp" + - "{{.G_CORE_DIR}}/src/reducer/ServerContext.hpp" - "{{.G_CORE_DIR}}/tests/LogSuppressor.hpp" + - "{{.G_CORE_DIR}}/tests/test-Array.cpp" + - "{{.G_CORE_DIR}}/tests/test-BoundedReader.cpp" + - "{{.G_CORE_DIR}}/tests/test-BufferedFileReader.cpp" + - "{{.G_CORE_DIR}}/tests/test-clp_s-end_to_end.cpp" + - "{{.G_CORE_DIR}}/tests/test-clp_s-search.cpp" + - "{{.G_CORE_DIR}}/tests/test-EncodedVariableInterpreter.cpp" + - "{{.G_CORE_DIR}}/tests/test-encoding_methods.cpp" + - "{{.G_CORE_DIR}}/tests/test-error_handling.cpp" + - "{{.G_CORE_DIR}}/tests/test-ffi_IrUnitHandlerInterface.cpp" + - "{{.G_CORE_DIR}}/tests/test-Grep.cpp" + - "{{.G_CORE_DIR}}/tests/test-hash_utils.cpp" + - "{{.G_CORE_DIR}}/tests/test-ir_encoding_methods.cpp" + - "{{.G_CORE_DIR}}/tests/test-ir_parsing.cpp" + - "{{.G_CORE_DIR}}/tests/test-ir_serializer.cpp" + - "{{.G_CORE_DIR}}/tests/test-kql.cpp" + - "{{.G_CORE_DIR}}/tests/test-main.cpp" + - "{{.G_CORE_DIR}}/tests/test-math_utils.cpp" + - "{{.G_CORE_DIR}}/tests/test-NetworkReader.cpp" + - "{{.G_CORE_DIR}}/tests/test-ParserWithUserSchema.cpp" + - "{{.G_CORE_DIR}}/tests/test-query_methods.cpp" + - "{{.G_CORE_DIR}}/tests/test-Segment.cpp" + - "{{.G_CORE_DIR}}/tests/test-SQLiteDB.cpp" + - "{{.G_CORE_DIR}}/tests/test-Stopwatch.cpp" + - "{{.G_CORE_DIR}}/tests/test-string_utils.cpp" + - "{{.G_CORE_DIR}}/tests/test-TimestampPattern.cpp" + - "{{.G_CORE_DIR}}/tests/test-utf8_utils.cpp" + - "{{.G_CORE_DIR}}/tests/test-Utils.cpp" FLAGS: - --config-file "{{.ROOT_DIR}}/.clang-tidy" - -p "{{.G_CORE_COMPONENT_BUILD_DIR}}" INCLUDE_PATTERNS: + - "{{.G_CORE_DIR}}/src/*" - "{{.G_CORE_DIR}}/tests/*" OUTPUT_DIR: "{{.G_LINT_CLANG_TIDY_DIR}}" ROOT_PATHS: *cpp_source_files @@ -164,12 +730,12 @@ tasks: deps: - "cpp-lint-configs" - "venv" - - task: ":utils:cmake-generate" + - task: ":utils:cmake:generate" vars: BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" SOURCE_DIR: "{{.ROOT_DIR}}/components/core" cmds: - - task: ":utils:clang-tidy-diff" + - task: ":utils:cpp-lint:clang-tidy-diff" vars: FLAGS: - --config-file "{{.ROOT_DIR}}/.clang-tidy" @@ -227,8 +793,7 @@ tasks: deps: - ":init" - ":webui-node-modules" - # - task: ":utils:validate-checksum" - - task: ":utils:validate-checksum" + - task: ":utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -237,7 +802,7 @@ tasks: - "rm -rf '{{.OUTPUT_DIR}}'" - "PATH='{{.G_NODEJS_22_BIN_DIR}}':$PATH npm clean-install" # This command must be last - - task: ":utils:compute-checksum" + - task: ":utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] @@ -254,18 +819,18 @@ tasks: generates: ["{{.CHECKSUM_FILE}}"] deps: - ":init" - - task: ":utils:validate-checksum" + - task: ":utils:checksum:validate" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] cmds: - - task: ":utils:create-venv" + - task: ":utils:misc:create-venv" vars: LABEL: "lint" OUTPUT_DIR: "{{.OUTPUT_DIR}}" REQUIREMENTS_FILE: "{{.ROOT_DIR}}/lint-requirements.txt" # This command must be last - - task: ":utils:compute-checksum" + - task: ":utils:checksum:compute" vars: CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] From fe16bf75da21bfb7bab94fb7c04bda4b8e7881ed Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 27 Feb 2025 04:40:28 -0500 Subject: [PATCH 03/50] Update clang tasks. --- Taskfile.yml | 29 +- lint-tasks.yml | 1126 ++++++++++++++++++++++++------------------------ 2 files changed, 579 insertions(+), 576 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index af06b1c689..323e2d509d 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -185,15 +185,27 @@ tasks: INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] core: - vars: - SRC_DIR: "{{.ROOT_DIR}}/components/core" - sources: + cmds: + - task: "core-generate" + - task: "core-build" + + core-generate: + sources: &core_source_files - "{{.G_DEPS_CORE_CHECKSUM_FILE}}" - - "{{.SRC_DIR}}/cmake/**/*" - - "{{.SRC_DIR}}/CMakeLists.txt" - - "{{.SRC_DIR}}/src/**/*" + - "{{.G_CORE_COMPONENT_DIR}}/cmake/**/*" + - "{{.G_CORE_COMPONENT_DIR}}/CMakeLists.txt" + - "{{.G_CORE_COMPONENT_DIR}}/src/**/*" - "{{.TASKFILE}}" - "/etc/os-release" + deps: ["deps:core"] + cmds: + - task: "utils:cmake:generate" + vars: + BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" + SOURCE_DIR: "{{.G_CORE_COMPONENT_DIR}}" + + core-build: + sources: *core_source_files generates: - "{{.G_CORE_COMPONENT_BUILD_DIR}}/clg" - "{{.G_CORE_COMPONENT_BUILD_DIR}}/clo" @@ -201,12 +213,7 @@ tasks: - "{{.G_CORE_COMPONENT_BUILD_DIR}}/clp-s" - "{{.G_CORE_COMPONENT_BUILD_DIR}}/indexer" - "{{.G_CORE_COMPONENT_BUILD_DIR}}/reducer-server" - deps: ["deps:core", "init"] cmds: - - task: "utils:cmake:generate" - vars: - BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" - SOURCE_DIR: "{{.SRC_DIR}}" - task: "utils:cmake:build" vars: BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" diff --git a/lint-tasks.yml b/lint-tasks.yml index 869397d219..f05cbd58b4 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -1,7 +1,6 @@ version: "3" vars: - G_CORE_DIR: "{{.ROOT_DIR}}/components/core" G_LINT_CLANG_TIDY_DIR: "{{.G_BUILD_DIR}}/lint-clang-tidy" G_LINT_VENV_DIR: "{{.G_BUILD_DIR}}/lint-venv" G_WEBUI_SRC_DIR: "{{.ROOT_DIR}}/components/webui" @@ -137,10 +136,7 @@ tasks: deps: - "cpp-lint-configs" - "venv" - - task: ":utils:cmake:generate" - vars: - BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" - SOURCE_DIR: "{{.ROOT_DIR}}/components/core" + - task: ":core-generate" cmds: - task: ":utils:cpp-lint:clang-tidy-find" vars: @@ -152,570 +148,570 @@ tasks: # src/clp/ir/EncodedTextAst.cpp # tests/test-ffi_IrUnitHandlerInterface.cpp EXCLUDE_PATTERNS: - - "{{.G_CORE_DIR}}/src/clp/ArrayBackedPosIntSet.hpp" - - "{{.G_CORE_DIR}}/src/clp/aws/AwsAuthenticationSigner.cpp" - - "{{.G_CORE_DIR}}/src/clp/BufferedFileReader.cpp" - - "{{.G_CORE_DIR}}/src/clp/BufferedFileReader.hpp" - - "{{.G_CORE_DIR}}/src/clp/BufferReader.cpp" - - "{{.G_CORE_DIR}}/src/clp/BufferReader.hpp" - - "{{.G_CORE_DIR}}/src/clp/clg/clg.cpp" - - "{{.G_CORE_DIR}}/src/clp/clg/CommandLineArguments.cpp" - - "{{.G_CORE_DIR}}/src/clp/clg/CommandLineArguments.hpp" - - "{{.G_CORE_DIR}}/src/clp/cli_utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/clo/clo.cpp" - - "{{.G_CORE_DIR}}/src/clp/clo/CommandLineArguments.cpp" - - "{{.G_CORE_DIR}}/src/clp/clo/CommandLineArguments.hpp" - - "{{.G_CORE_DIR}}/src/clp/clo/constants.hpp" - - "{{.G_CORE_DIR}}/src/clp/clo/OutputHandler.cpp" - - "{{.G_CORE_DIR}}/src/clp/clo/OutputHandler.hpp" - - "{{.G_CORE_DIR}}/src/clp/clp/clp.cpp" - - "{{.G_CORE_DIR}}/src/clp/clp/CommandLineArguments.cpp" - - "{{.G_CORE_DIR}}/src/clp/clp/CommandLineArguments.hpp" - - "{{.G_CORE_DIR}}/src/clp/clp/compression.cpp" - - "{{.G_CORE_DIR}}/src/clp/clp/compression.hpp" - - "{{.G_CORE_DIR}}/src/clp/clp/decompression.cpp" - - "{{.G_CORE_DIR}}/src/clp/clp/decompression.hpp" - - "{{.G_CORE_DIR}}/src/clp/clp/FileCompressor.cpp" - - "{{.G_CORE_DIR}}/src/clp/clp/FileCompressor.hpp" - - "{{.G_CORE_DIR}}/src/clp/clp/FileDecompressor.cpp" - - "{{.G_CORE_DIR}}/src/clp/clp/FileDecompressor.hpp" - - "{{.G_CORE_DIR}}/src/clp/clp/FileToCompress.hpp" - - "{{.G_CORE_DIR}}/src/clp/clp/run.cpp" - - "{{.G_CORE_DIR}}/src/clp/clp/run.hpp" - - "{{.G_CORE_DIR}}/src/clp/clp/utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/clp/utils.hpp" - - "{{.G_CORE_DIR}}/src/clp/CommandLineArgumentsBase.hpp" - - "{{.G_CORE_DIR}}/src/clp/CurlDownloadHandler.cpp" - - "{{.G_CORE_DIR}}/src/clp/CurlDownloadHandler.hpp" - - "{{.G_CORE_DIR}}/src/clp/CurlEasyHandle.hpp" - - "{{.G_CORE_DIR}}/src/clp/CurlStringList.hpp" - - "{{.G_CORE_DIR}}/src/clp/database_utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/database_utils.hpp" - - "{{.G_CORE_DIR}}/src/clp/Defs.h" - - "{{.G_CORE_DIR}}/src/clp/DictionaryEntry.hpp" - - "{{.G_CORE_DIR}}/src/clp/DictionaryReader.hpp" - - "{{.G_CORE_DIR}}/src/clp/dictionary_utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/dictionary_utils.hpp" - - "{{.G_CORE_DIR}}/src/clp/DictionaryWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp/EncodedVariableInterpreter.cpp" - - "{{.G_CORE_DIR}}/src/clp/EncodedVariableInterpreter.hpp" - - "{{.G_CORE_DIR}}/src/clp/ErrorCode.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/encoding_methods.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/encoding_methods.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/decoding_methods.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/decoding_methods.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/decoding_methods.inc" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/Deserializer.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/encoding_methods.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/encoding_methods.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/IrErrorCode.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/protocol_constants.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/Serializer.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/Serializer.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/ir_stream/utils.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/CompositeWildcardToken.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/CompositeWildcardToken.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/ExactVariableToken.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/ExactVariableToken.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/QueryMethodFailed.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/query_methods.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/query_methods.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/QueryToken.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/QueryWildcard.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/QueryWildcard.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/Subquery.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/Subquery.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/WildcardToken.cpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/search/WildcardToken.hpp" - - "{{.G_CORE_DIR}}/src/clp/ffi/utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/FileDescriptor.cpp" - - "{{.G_CORE_DIR}}/src/clp/FileDescriptor.hpp" - - "{{.G_CORE_DIR}}/src/clp/FileReader.cpp" - - "{{.G_CORE_DIR}}/src/clp/FileReader.hpp" - - "{{.G_CORE_DIR}}/src/clp/FileWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp/FileWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp/GlobalMetadataDBConfig.cpp" - - "{{.G_CORE_DIR}}/src/clp/GlobalMetadataDBConfig.hpp" - - "{{.G_CORE_DIR}}/src/clp/GlobalMetadataDB.hpp" - - "{{.G_CORE_DIR}}/src/clp/GlobalMySQLMetadataDB.cpp" - - "{{.G_CORE_DIR}}/src/clp/GlobalMySQLMetadataDB.hpp" - - "{{.G_CORE_DIR}}/src/clp/GlobalSQLiteMetadataDB.cpp" - - "{{.G_CORE_DIR}}/src/clp/GlobalSQLiteMetadataDB.hpp" - - "{{.G_CORE_DIR}}/src/clp/Grep.cpp" - - "{{.G_CORE_DIR}}/src/clp/Grep.hpp" - - "{{.G_CORE_DIR}}/src/clp/hash_utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/ir/EncodedTextAst.cpp" - - "{{.G_CORE_DIR}}/src/clp/ir/LogEventDeserializer.cpp" - - "{{.G_CORE_DIR}}/src/clp/ir/LogEventDeserializer.hpp" - - "{{.G_CORE_DIR}}/src/clp/ir/LogEvent.hpp" - - "{{.G_CORE_DIR}}/src/clp/ir/LogEventSerializer.cpp" - - "{{.G_CORE_DIR}}/src/clp/ir/parsing.cpp" - - "{{.G_CORE_DIR}}/src/clp/ir/parsing.hpp" - - "{{.G_CORE_DIR}}/src/clp/ir/utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/LibarchiveFileReader.cpp" - - "{{.G_CORE_DIR}}/src/clp/LibarchiveFileReader.hpp" - - "{{.G_CORE_DIR}}/src/clp/LibarchiveReader.cpp" - - "{{.G_CORE_DIR}}/src/clp/LibarchiveReader.hpp" - - "{{.G_CORE_DIR}}/src/clp/LogSurgeonReader.cpp" - - "{{.G_CORE_DIR}}/src/clp/LogSurgeonReader.hpp" - - "{{.G_CORE_DIR}}/src/clp/LogTypeDictionaryEntry.cpp" - - "{{.G_CORE_DIR}}/src/clp/LogTypeDictionaryEntry.hpp" - - "{{.G_CORE_DIR}}/src/clp/LogTypeDictionaryWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp/LogTypeDictionaryWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp/make_dictionaries_readable/CommandLineArguments.cpp" - - "{{.G_CORE_DIR}}/src/clp/make_dictionaries_readable/CommandLineArguments.hpp" - - "{{.G_CORE_DIR}}/src/clp/make_dictionaries_readable/make-dictionaries-readable.cpp" - - "{{.G_CORE_DIR}}/src/clp/MessageParser.cpp" - - "{{.G_CORE_DIR}}/src/clp/MessageParser.hpp" - - "{{.G_CORE_DIR}}/src/clp/MySQLDB.cpp" - - "{{.G_CORE_DIR}}/src/clp/MySQLDB.hpp" - - "{{.G_CORE_DIR}}/src/clp/MySQLParamBindings.cpp" - - "{{.G_CORE_DIR}}/src/clp/MySQLParamBindings.hpp" - - "{{.G_CORE_DIR}}/src/clp/MySQLPreparedStatement.cpp" - - "{{.G_CORE_DIR}}/src/clp/MySQLPreparedStatement.hpp" - - "{{.G_CORE_DIR}}/src/clp/networking/SocketOperationFailed.hpp" - - "{{.G_CORE_DIR}}/src/clp/networking/socket_utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/networking/socket_utils.hpp" - - "{{.G_CORE_DIR}}/src/clp/NetworkReader.cpp" - - "{{.G_CORE_DIR}}/src/clp/PageAllocatedVector.hpp" - - "{{.G_CORE_DIR}}/src/clp/ParsedMessage.cpp" - - "{{.G_CORE_DIR}}/src/clp/ParsedMessage.hpp" - - "{{.G_CORE_DIR}}/src/clp/Platform.hpp" - - "{{.G_CORE_DIR}}/src/clp/Profiler.cpp" - - "{{.G_CORE_DIR}}/src/clp/Profiler.hpp" - - "{{.G_CORE_DIR}}/src/clp/Query.cpp" - - "{{.G_CORE_DIR}}/src/clp/Query.hpp" - - "{{.G_CORE_DIR}}/src/clp/ReaderInterface.cpp" - - "{{.G_CORE_DIR}}/src/clp/ReaderInterface.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/archive_constants.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ArchiveReaderAdaptor.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ArchiveReaderAdaptor.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ArchiveReader.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ArchiveReader.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ArchiveWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ArchiveWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/BufferViewReader.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/clp-s.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ColumnReader.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ColumnReader.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ColumnWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ColumnWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/CommandLineArguments.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/CommandLineArguments.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/Compressor.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/Decompressor.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/Defs.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/DictionaryEntry.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/DictionaryEntry.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/DictionaryReader.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/DictionaryWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/DictionaryWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ErrorCode.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/FileReader.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/FileReader.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/FileWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/FileWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/indexer/CommandLineArguments.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/indexer/CommandLineArguments.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/indexer/indexer.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/indexer/IndexManager.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/indexer/IndexManager.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/indexer/MySQLIndexStorage.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/indexer/MySQLIndexStorage.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/InputConfig.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/InputConfig.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/JsonConstructor.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/JsonConstructor.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/JsonFileIterator.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/JsonFileIterator.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/JsonParser.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/JsonParser.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/JsonSerializer.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/PackedStreamReader.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/PackedStreamReader.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ParsedMessage.hpp" - - "{{.G_CORE_DIR}}/src/clp/spdlog_with_specializations.hpp" - - "{{.G_CORE_DIR}}/src/clp/SQLiteDB.cpp" - - "{{.G_CORE_DIR}}/src/clp/SQLiteDB.hpp" - - "{{.G_CORE_DIR}}/src/clp/SQLitePreparedStatement.cpp" - - "{{.G_CORE_DIR}}/src/clp/SQLitePreparedStatement.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ReaderUtils.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ReaderUtils.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/Schema.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/Schema.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/SchemaMap.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/SchemaMap.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/SchemaReader.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/SchemaReader.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/SchemaTree.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/SchemaTree.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/SchemaWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/SchemaWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/AddTimestampConditions.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/AddTimestampConditions.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/AndExpr.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/AndExpr.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/antlr_common/ErrorListener.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/BooleanLiteral.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/BooleanLiteral.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/EncodedVariableInterpreter.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/EncodedVariableInterpreter.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/Grep.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/Grep.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/Query.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/clp_search/Query.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/ColumnDescriptor.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/ColumnDescriptor.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/ConstantProp.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/ConstantProp.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/ConvertToExists.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/ConvertToExists.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/DateLiteral.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/DateLiteral.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/EmptyExpr.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/EmptyExpr.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/EvaluateTimestampIndex.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/EvaluateTimestampIndex.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Expression.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Expression.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/FilterExpr.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/FilterExpr.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/FilterOperation.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Integral.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Integral.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/kql/kql.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/kql/kql.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Literal.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/NarrowTypes.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/NarrowTypes.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/NullLiteral.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/NullLiteral.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/OrExpr.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/OrExpr.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/OrOfAndForm.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/OrOfAndForm.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Output.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/OutputHandler.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/OutputHandler.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Output.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Projection.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Projection.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/SchemaMatch.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/SchemaMatch.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/SearchUtils.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/SearchUtils.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/sql/sql.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/StringLiteral.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/StringLiteral.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Transformation.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/search/Value.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/SingleFileArchiveDefs.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/TimestampDictionaryReader.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/TimestampDictionaryReader.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/TimestampDictionaryWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/TimestampDictionaryWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/TimestampEntry.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/TimestampEntry.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/TimestampPattern.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/TimestampPattern.hpp" - - "{{.G_CORE_DIR}}/src/clp/Stopwatch.cpp" - - "{{.G_CORE_DIR}}/src/clp/Stopwatch.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/TraceableException.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/ArchiveMetadata.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/ArchiveMetadata.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/Constants.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/MetadataDB.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/MetadataDB.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Archive.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Archive.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/File.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/File.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Message.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Message.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Segment.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/Segment.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/SegmentManager.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/reader/SegmentManager.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/Archive.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/Archive.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/File.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/File.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/Segment.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_archive/writer/Segment.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_compression/Constants.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_compression/Decompressor.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.hpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_compression/zstd/Decompressor.cpp" - - "{{.G_CORE_DIR}}/src/clp/streaming_compression/zstd/Decompressor.hpp" - - "{{.G_CORE_DIR}}/src/clp/StringReader.cpp" - - "{{.G_CORE_DIR}}/src/clp/StringReader.hpp" - - "{{.G_CORE_DIR}}/src/clp/string_utils/string_utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/string_utils/string_utils.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/Utils.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/Utils.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/VariableDecoder.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/VariableDecoder.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/VariableEncoder.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/VariableEncoder.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ZstdCompressor.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ZstdCompressor.hpp" - - "{{.G_CORE_DIR}}/src/clp_s/ZstdDecompressor.cpp" - - "{{.G_CORE_DIR}}/src/clp_s/ZstdDecompressor.hpp" - - "{{.G_CORE_DIR}}/src/clp/Thread.cpp" - - "{{.G_CORE_DIR}}/src/clp/Thread.hpp" - - "{{.G_CORE_DIR}}/src/clp/TimestampPattern.cpp" - - "{{.G_CORE_DIR}}/src/clp/TimestampPattern.hpp" - - "{{.G_CORE_DIR}}/src/clp/TraceableException.hpp" - - "{{.G_CORE_DIR}}/src/clp/type_utils.hpp" - - "{{.G_CORE_DIR}}/src/clp/Utils.cpp" - - "{{.G_CORE_DIR}}/src/clp/Utils.hpp" - - "{{.G_CORE_DIR}}/src/clp/VariableDictionaryEntry.cpp" - - "{{.G_CORE_DIR}}/src/clp/VariableDictionaryEntry.hpp" - - "{{.G_CORE_DIR}}/src/clp/VariableDictionaryWriter.cpp" - - "{{.G_CORE_DIR}}/src/clp/VariableDictionaryWriter.hpp" - - "{{.G_CORE_DIR}}/src/clp/version.hpp" - - "{{.G_CORE_DIR}}/src/clp/WriterInterface.cpp" - - "{{.G_CORE_DIR}}/src/clp/WriterInterface.hpp" - - "{{.G_CORE_DIR}}/src/glt/ArrayBackedPosIntSet.hpp" - - "{{.G_CORE_DIR}}/src/glt/BufferedFileReader.cpp" - - "{{.G_CORE_DIR}}/src/glt/BufferedFileReader.hpp" - - "{{.G_CORE_DIR}}/src/glt/BufferReader.cpp" - - "{{.G_CORE_DIR}}/src/glt/BufferReader.hpp" - - "{{.G_CORE_DIR}}/src/glt/CommandLineArgumentsBase.hpp" - - "{{.G_CORE_DIR}}/src/glt/database_utils.cpp" - - "{{.G_CORE_DIR}}/src/glt/database_utils.hpp" - - "{{.G_CORE_DIR}}/src/glt/Defs.h" - - "{{.G_CORE_DIR}}/src/glt/DictionaryEntry.hpp" - - "{{.G_CORE_DIR}}/src/glt/DictionaryReader.hpp" - - "{{.G_CORE_DIR}}/src/glt/dictionary_utils.cpp" - - "{{.G_CORE_DIR}}/src/glt/dictionary_utils.hpp" - - "{{.G_CORE_DIR}}/src/glt/DictionaryWriter.hpp" - - "{{.G_CORE_DIR}}/src/glt/EncodedVariableInterpreter.cpp" - - "{{.G_CORE_DIR}}/src/glt/EncodedVariableInterpreter.hpp" - - "{{.G_CORE_DIR}}/src/glt/ErrorCode.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/encoding_methods.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/encoding_methods.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/decoding_methods.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/decoding_methods.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/decoding_methods.inc" - - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/encoding_methods.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/encoding_methods.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/ir_stream/protocol_constants.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/CompositeWildcardToken.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/CompositeWildcardToken.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/ExactVariableToken.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/ExactVariableToken.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/QueryMethodFailed.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/query_methods.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/query_methods.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/QueryToken.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/QueryWildcard.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/QueryWildcard.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/Subquery.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/Subquery.hpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/WildcardToken.cpp" - - "{{.G_CORE_DIR}}/src/glt/ffi/search/WildcardToken.hpp" - - "{{.G_CORE_DIR}}/src/glt/FileReader.cpp" - - "{{.G_CORE_DIR}}/src/glt/FileReader.hpp" - - "{{.G_CORE_DIR}}/src/glt/FileWriter.cpp" - - "{{.G_CORE_DIR}}/src/glt/FileWriter.hpp" - - "{{.G_CORE_DIR}}/src/glt/GlobalMetadataDBConfig.cpp" - - "{{.G_CORE_DIR}}/src/glt/GlobalMetadataDBConfig.hpp" - - "{{.G_CORE_DIR}}/src/glt/GlobalMetadataDB.hpp" - - "{{.G_CORE_DIR}}/src/glt/GlobalMySQLMetadataDB.cpp" - - "{{.G_CORE_DIR}}/src/glt/GlobalMySQLMetadataDB.hpp" - - "{{.G_CORE_DIR}}/src/glt/GlobalSQLiteMetadataDB.cpp" - - "{{.G_CORE_DIR}}/src/glt/GlobalSQLiteMetadataDB.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/CommandLineArguments.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/CommandLineArguments.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/compression.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/compression.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/decompression.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/decompression.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/FileCompressor.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/FileCompressor.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/FileDecompressor.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/FileDecompressor.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/FileToCompress.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/glt.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/run.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/run.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/search.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/search.hpp" - - "{{.G_CORE_DIR}}/src/glt/glt/utils.cpp" - - "{{.G_CORE_DIR}}/src/glt/glt/utils.hpp" - - "{{.G_CORE_DIR}}/src/glt/Grep.cpp" - - "{{.G_CORE_DIR}}/src/glt/Grep.hpp" - - "{{.G_CORE_DIR}}/src/glt/ir/LogEventDeserializer.cpp" - - "{{.G_CORE_DIR}}/src/glt/ir/LogEventDeserializer.hpp" - - "{{.G_CORE_DIR}}/src/glt/ir/LogEvent.hpp" - - "{{.G_CORE_DIR}}/src/glt/ir/parsing.cpp" - - "{{.G_CORE_DIR}}/src/glt/ir/parsing.hpp" - - "{{.G_CORE_DIR}}/src/glt/ir/utils.cpp" - - "{{.G_CORE_DIR}}/src/glt/LibarchiveFileReader.cpp" - - "{{.G_CORE_DIR}}/src/glt/LibarchiveFileReader.hpp" - - "{{.G_CORE_DIR}}/src/glt/LibarchiveReader.cpp" - - "{{.G_CORE_DIR}}/src/glt/LibarchiveReader.hpp" - - "{{.G_CORE_DIR}}/src/glt/LogTypeDictionaryEntry.cpp" - - "{{.G_CORE_DIR}}/src/glt/LogTypeDictionaryEntry.hpp" - - "{{.G_CORE_DIR}}/src/glt/LogTypeDictionaryWriter.cpp" - - "{{.G_CORE_DIR}}/src/glt/LogTypeDictionaryWriter.hpp" - - "{{.G_CORE_DIR}}/src/glt/MessageParser.cpp" - - "{{.G_CORE_DIR}}/src/glt/MessageParser.hpp" - - "{{.G_CORE_DIR}}/src/glt/MySQLDB.cpp" - - "{{.G_CORE_DIR}}/src/glt/MySQLDB.hpp" - - "{{.G_CORE_DIR}}/src/glt/MySQLParamBindings.cpp" - - "{{.G_CORE_DIR}}/src/glt/MySQLParamBindings.hpp" - - "{{.G_CORE_DIR}}/src/glt/MySQLPreparedStatement.cpp" - - "{{.G_CORE_DIR}}/src/glt/MySQLPreparedStatement.hpp" - - "{{.G_CORE_DIR}}/src/glt/PageAllocatedVector.hpp" - - "{{.G_CORE_DIR}}/src/glt/ParsedMessage.cpp" - - "{{.G_CORE_DIR}}/src/glt/ParsedMessage.hpp" - - "{{.G_CORE_DIR}}/src/glt/Platform.hpp" - - "{{.G_CORE_DIR}}/src/glt/Profiler.cpp" - - "{{.G_CORE_DIR}}/src/glt/Profiler.hpp" - - "{{.G_CORE_DIR}}/src/glt/Query.cpp" - - "{{.G_CORE_DIR}}/src/glt/Query.hpp" - - "{{.G_CORE_DIR}}/src/glt/ReaderInterface.cpp" - - "{{.G_CORE_DIR}}/src/glt/ReaderInterface.hpp" - - "{{.G_CORE_DIR}}/src/glt/spdlog_with_specializations.hpp" - - "{{.G_CORE_DIR}}/src/glt/SQLiteDB.cpp" - - "{{.G_CORE_DIR}}/src/glt/SQLiteDB.hpp" - - "{{.G_CORE_DIR}}/src/glt/SQLitePreparedStatement.cpp" - - "{{.G_CORE_DIR}}/src/glt/SQLitePreparedStatement.hpp" - - "{{.G_CORE_DIR}}/src/glt/Stopwatch.cpp" - - "{{.G_CORE_DIR}}/src/glt/Stopwatch.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/ArchiveMetadata.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/ArchiveMetadata.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/Constants.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/LogtypeSizeTracker.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/MetadataDB.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/MetadataDB.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Archive.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Archive.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/CombinedLogtypeTable.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/CombinedLogtypeTable.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/File.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/File.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/GLTSegment.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/GLTSegment.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeMetadata.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeTable.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeTable.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeTableManager.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/LogtypeTableManager.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Message.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Message.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/MultiLogtypeTablesManager.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/MultiLogtypeTablesManager.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Segment.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/Segment.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/SegmentManager.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/SegmentManager.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/SingleLogtypeTableManager.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/reader/SingleLogtypeTableManager.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/Archive.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/Archive.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/File.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/File.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/GLTSegment.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/GLTSegment.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/LogtypeTable.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/LogtypeTable.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/Segment.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_archive/writer/Segment.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/Compressor.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/Constants.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/Decompressor.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/passthrough/Compressor.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/passthrough/Compressor.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/passthrough/Decompressor.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/passthrough/Decompressor.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Compressor.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Compressor.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Constants.hpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Decompressor.cpp" - - "{{.G_CORE_DIR}}/src/glt/streaming_compression/zstd/Decompressor.hpp" - - "{{.G_CORE_DIR}}/src/glt/StringReader.cpp" - - "{{.G_CORE_DIR}}/src/glt/StringReader.hpp" - - "{{.G_CORE_DIR}}/src/glt/string_utils/string_utils.cpp" - - "{{.G_CORE_DIR}}/src/glt/string_utils/string_utils.hpp" - - "{{.G_CORE_DIR}}/src/glt/TimestampPattern.cpp" - - "{{.G_CORE_DIR}}/src/glt/TimestampPattern.hpp" - - "{{.G_CORE_DIR}}/src/glt/TraceableException.hpp" - - "{{.G_CORE_DIR}}/src/glt/type_utils.hpp" - - "{{.G_CORE_DIR}}/src/glt/Utils.cpp" - - "{{.G_CORE_DIR}}/src/glt/Utils.hpp" - - "{{.G_CORE_DIR}}/src/glt/VariableDictionaryEntry.cpp" - - "{{.G_CORE_DIR}}/src/glt/VariableDictionaryEntry.hpp" - - "{{.G_CORE_DIR}}/src/glt/VariableDictionaryWriter.cpp" - - "{{.G_CORE_DIR}}/src/glt/VariableDictionaryWriter.hpp" - - "{{.G_CORE_DIR}}/src/glt/version.hpp" - - "{{.G_CORE_DIR}}/src/glt/WriterInterface.cpp" - - "{{.G_CORE_DIR}}/src/glt/WriterInterface.hpp" - - "{{.G_CORE_DIR}}/src/reducer/BufferedSocketWriter.cpp" - - "{{.G_CORE_DIR}}/src/reducer/BufferedSocketWriter.hpp" - - "{{.G_CORE_DIR}}/src/reducer/CommandLineArguments.cpp" - - "{{.G_CORE_DIR}}/src/reducer/CommandLineArguments.hpp" - - "{{.G_CORE_DIR}}/src/reducer/ConstRecordIterator.hpp" - - "{{.G_CORE_DIR}}/src/reducer/CountOperator.cpp" - - "{{.G_CORE_DIR}}/src/reducer/CountOperator.hpp" - - "{{.G_CORE_DIR}}/src/reducer/DeserializedRecordGroup.cpp" - - "{{.G_CORE_DIR}}/src/reducer/DeserializedRecordGroup.hpp" - - "{{.G_CORE_DIR}}/src/reducer/JsonArrayRecordIterator.hpp" - - "{{.G_CORE_DIR}}/src/reducer/JsonRecord.hpp" - - "{{.G_CORE_DIR}}/src/reducer/network_utils.cpp" - - "{{.G_CORE_DIR}}/src/reducer/network_utils.hpp" - - "{{.G_CORE_DIR}}/src/reducer/Operator.hpp" - - "{{.G_CORE_DIR}}/src/reducer/Pipeline.cpp" - - "{{.G_CORE_DIR}}/src/reducer/Pipeline.hpp" - - "{{.G_CORE_DIR}}/src/reducer/RecordGroup.hpp" - - "{{.G_CORE_DIR}}/src/reducer/RecordGroupIterator.hpp" - - "{{.G_CORE_DIR}}/src/reducer/Record.hpp" - - "{{.G_CORE_DIR}}/src/reducer/RecordReceiverContext.cpp" - - "{{.G_CORE_DIR}}/src/reducer/RecordReceiverContext.hpp" - - "{{.G_CORE_DIR}}/src/reducer/RecordTypedKeyIterator.hpp" - - "{{.G_CORE_DIR}}/src/reducer/reducer_server.cpp" - - "{{.G_CORE_DIR}}/src/reducer/ServerContext.cpp" - - "{{.G_CORE_DIR}}/src/reducer/ServerContext.hpp" - - "{{.G_CORE_DIR}}/tests/LogSuppressor.hpp" - - "{{.G_CORE_DIR}}/tests/test-Array.cpp" - - "{{.G_CORE_DIR}}/tests/test-BoundedReader.cpp" - - "{{.G_CORE_DIR}}/tests/test-BufferedFileReader.cpp" - - "{{.G_CORE_DIR}}/tests/test-clp_s-end_to_end.cpp" - - "{{.G_CORE_DIR}}/tests/test-clp_s-search.cpp" - - "{{.G_CORE_DIR}}/tests/test-EncodedVariableInterpreter.cpp" - - "{{.G_CORE_DIR}}/tests/test-encoding_methods.cpp" - - "{{.G_CORE_DIR}}/tests/test-error_handling.cpp" - - "{{.G_CORE_DIR}}/tests/test-ffi_IrUnitHandlerInterface.cpp" - - "{{.G_CORE_DIR}}/tests/test-Grep.cpp" - - "{{.G_CORE_DIR}}/tests/test-hash_utils.cpp" - - "{{.G_CORE_DIR}}/tests/test-ir_encoding_methods.cpp" - - "{{.G_CORE_DIR}}/tests/test-ir_parsing.cpp" - - "{{.G_CORE_DIR}}/tests/test-ir_serializer.cpp" - - "{{.G_CORE_DIR}}/tests/test-kql.cpp" - - "{{.G_CORE_DIR}}/tests/test-main.cpp" - - "{{.G_CORE_DIR}}/tests/test-math_utils.cpp" - - "{{.G_CORE_DIR}}/tests/test-NetworkReader.cpp" - - "{{.G_CORE_DIR}}/tests/test-ParserWithUserSchema.cpp" - - "{{.G_CORE_DIR}}/tests/test-query_methods.cpp" - - "{{.G_CORE_DIR}}/tests/test-Segment.cpp" - - "{{.G_CORE_DIR}}/tests/test-SQLiteDB.cpp" - - "{{.G_CORE_DIR}}/tests/test-Stopwatch.cpp" - - "{{.G_CORE_DIR}}/tests/test-string_utils.cpp" - - "{{.G_CORE_DIR}}/tests/test-TimestampPattern.cpp" - - "{{.G_CORE_DIR}}/tests/test-utf8_utils.cpp" - - "{{.G_CORE_DIR}}/tests/test-Utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ArrayBackedPosIntSet.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/aws/AwsAuthenticationSigner.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/BufferedFileReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/BufferedFileReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/BufferReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/BufferReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clg/clg.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clg/CommandLineArguments.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clg/CommandLineArguments.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/cli_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clo/clo.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clo/CommandLineArguments.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clo/CommandLineArguments.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clo/constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clo/OutputHandler.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clo/OutputHandler.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/clp.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/CommandLineArguments.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/CommandLineArguments.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/compression.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/compression.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/decompression.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/decompression.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/FileCompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/FileCompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/FileDecompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/FileDecompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/FileToCompress.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/run.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/run.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/clp/utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/CommandLineArgumentsBase.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/CurlDownloadHandler.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/CurlDownloadHandler.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/CurlEasyHandle.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/CurlStringList.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/database_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/database_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Defs.h" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/dictionary_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/dictionary_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/EncodedVariableInterpreter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/EncodedVariableInterpreter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ErrorCode.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/encoding_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/encoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/decoding_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/decoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/decoding_methods.inc" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Deserializer.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/encoding_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/encoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrErrorCode.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/protocol_constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Serializer.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Serializer.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/CompositeWildcardToken.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/CompositeWildcardToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/ExactVariableToken.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/ExactVariableToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryMethodFailed.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryWildcard.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryWildcard.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/Subquery.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/Subquery.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/WildcardToken.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/WildcardToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileDescriptor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileDescriptor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMetadataDBConfig.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMetadataDBConfig.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMySQLMetadataDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMySQLMetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalSQLiteMetadataDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalSQLiteMetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Grep.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Grep.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/hash_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/EncodedTextAst.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEventDeserializer.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEventDeserializer.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEvent.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEventSerializer.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/parsing.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/parsing.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LibarchiveFileReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LibarchiveFileReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LibarchiveReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LibarchiveReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LogSurgeonReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LogSurgeonReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LogTypeDictionaryEntry.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LogTypeDictionaryEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LogTypeDictionaryWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/LogTypeDictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/make_dictionaries_readable/CommandLineArguments.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/make_dictionaries_readable/CommandLineArguments.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/make_dictionaries_readable/make-dictionaries-readable.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MessageParser.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MessageParser.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLParamBindings.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLParamBindings.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLPreparedStatement.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLPreparedStatement.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/networking/SocketOperationFailed.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/networking/socket_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/networking/socket_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/NetworkReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/PageAllocatedVector.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ParsedMessage.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ParsedMessage.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Platform.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Profiler.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Profiler.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Query.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Query.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ReaderInterface.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ReaderInterface.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/archive_constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReaderAdaptor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReaderAdaptor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/BufferViewReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/clp-s.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ColumnReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ColumnReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ColumnWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ColumnWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/CommandLineArguments.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/CommandLineArguments.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Compressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Defs.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/DictionaryEntry.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/DictionaryEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/DictionaryReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/DictionaryWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/DictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ErrorCode.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/FileReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/FileReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/FileWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/FileWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/indexer/CommandLineArguments.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/indexer/CommandLineArguments.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/indexer/indexer.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/indexer/IndexManager.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/indexer/IndexManager.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/indexer/MySQLIndexStorage.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/indexer/MySQLIndexStorage.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/InputConfig.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/InputConfig.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/JsonConstructor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/JsonConstructor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/JsonFileIterator.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/JsonFileIterator.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/JsonParser.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/JsonParser.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/JsonSerializer.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/PackedStreamReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/PackedStreamReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ParsedMessage.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/spdlog_with_specializations.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLiteDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLiteDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLitePreparedStatement.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLitePreparedStatement.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ReaderUtils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ReaderUtils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Schema.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Schema.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SchemaMap.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SchemaMap.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SchemaReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SchemaReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SchemaTree.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SchemaTree.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SchemaWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SchemaWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/AddTimestampConditions.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/AddTimestampConditions.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/AndExpr.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/AndExpr.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/antlr_common/ErrorListener.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/BooleanLiteral.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/BooleanLiteral.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/clp_search/EncodedVariableInterpreter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/clp_search/EncodedVariableInterpreter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/clp_search/Grep.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/clp_search/Grep.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/clp_search/Query.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/clp_search/Query.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/ColumnDescriptor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/ColumnDescriptor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/ConstantProp.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/ConstantProp.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/ConvertToExists.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/ConvertToExists.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/DateLiteral.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/DateLiteral.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/EmptyExpr.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/EmptyExpr.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/EvaluateTimestampIndex.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/EvaluateTimestampIndex.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Expression.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Expression.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/FilterExpr.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/FilterExpr.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/FilterOperation.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Integral.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Integral.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/kql/kql.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/kql/kql.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Literal.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/NarrowTypes.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/NarrowTypes.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/NullLiteral.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/NullLiteral.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OrExpr.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OrExpr.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OrOfAndForm.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OrOfAndForm.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Output.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OutputHandler.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OutputHandler.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Output.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Projection.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Projection.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/SchemaMatch.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/SchemaMatch.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/SearchUtils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/SearchUtils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/sql/sql.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/StringLiteral.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/StringLiteral.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Transformation.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Value.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/SingleFileArchiveDefs.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampDictionaryReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampDictionaryReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampDictionaryWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampDictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampEntry.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampPattern.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampPattern.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Stopwatch.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Stopwatch.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TraceableException.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/ArchiveMetadata.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/ArchiveMetadata.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/Constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/MetadataDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/MetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Archive.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Archive.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/File.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/File.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Message.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Message.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Segment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Segment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/SegmentManager.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/SegmentManager.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Archive.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Archive.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/File.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/File.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Segment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Segment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/zstd/Decompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/zstd/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/string_utils/string_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/string_utils/string_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/VariableDecoder.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/VariableDecoder.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/VariableEncoder.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/VariableEncoder.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ZstdCompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ZstdCompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ZstdDecompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ZstdDecompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Thread.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Thread.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TimestampPattern.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TimestampPattern.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TraceableException.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/type_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryEntry.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/version.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/WriterInterface.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/WriterInterface.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ArrayBackedPosIntSet.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/BufferedFileReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/BufferedFileReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/BufferReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/BufferReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/CommandLineArgumentsBase.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/database_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/database_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Defs.h" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/dictionary_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/dictionary_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/EncodedVariableInterpreter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/EncodedVariableInterpreter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ErrorCode.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/encoding_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/encoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/decoding_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/decoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/decoding_methods.inc" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/encoding_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/encoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/protocol_constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/CompositeWildcardToken.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/CompositeWildcardToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/ExactVariableToken.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/ExactVariableToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryMethodFailed.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryWildcard.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryWildcard.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/Subquery.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/Subquery.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/WildcardToken.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/WildcardToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/FileReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/FileReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/FileWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/FileWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMetadataDBConfig.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMetadataDBConfig.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMySQLMetadataDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMySQLMetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalSQLiteMetadataDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalSQLiteMetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/CommandLineArguments.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/CommandLineArguments.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/compression.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/compression.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/decompression.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/decompression.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/FileCompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/FileCompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/FileDecompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/FileDecompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/FileToCompress.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/glt.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/run.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/run.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/search.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/search.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Grep.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Grep.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/LogEventDeserializer.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/LogEventDeserializer.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/LogEvent.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/parsing.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/parsing.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/LibarchiveFileReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/LibarchiveFileReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/LibarchiveReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/LibarchiveReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/LogTypeDictionaryEntry.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/LogTypeDictionaryEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/LogTypeDictionaryWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/LogTypeDictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/MessageParser.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/MessageParser.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/MySQLDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/MySQLDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/MySQLParamBindings.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/MySQLParamBindings.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/MySQLPreparedStatement.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/MySQLPreparedStatement.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/PageAllocatedVector.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ParsedMessage.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ParsedMessage.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Platform.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Profiler.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Profiler.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Query.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Query.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ReaderInterface.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ReaderInterface.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/spdlog_with_specializations.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/SQLiteDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/SQLiteDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/SQLitePreparedStatement.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/SQLitePreparedStatement.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Stopwatch.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Stopwatch.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/ArchiveMetadata.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/ArchiveMetadata.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/Constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/LogtypeSizeTracker.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/MetadataDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/MetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/Archive.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/Archive.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/CombinedLogtypeTable.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/CombinedLogtypeTable.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/File.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/File.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/GLTSegment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/GLTSegment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/LogtypeMetadata.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/LogtypeTable.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/LogtypeTable.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/LogtypeTableManager.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/LogtypeTableManager.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/Message.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/Message.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/MultiLogtypeTablesManager.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/MultiLogtypeTablesManager.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/Segment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/Segment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/SegmentManager.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/SegmentManager.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/SingleLogtypeTableManager.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/reader/SingleLogtypeTableManager.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/Archive.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/Archive.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/File.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/File.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/GLTSegment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/GLTSegment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/LogtypeTable.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/LogtypeTable.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/Segment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_archive/writer/Segment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/Compressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/Constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/passthrough/Compressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/passthrough/Compressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/passthrough/Decompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/passthrough/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/zstd/Compressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/zstd/Compressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/zstd/Constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/zstd/Decompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/zstd/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/StringReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/StringReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/string_utils/string_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/string_utils/string_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/TimestampPattern.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/TimestampPattern.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/TraceableException.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/type_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/VariableDictionaryEntry.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/VariableDictionaryEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/VariableDictionaryWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/VariableDictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/version.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/WriterInterface.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/WriterInterface.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/BufferedSocketWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/BufferedSocketWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/CommandLineArguments.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/CommandLineArguments.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/ConstRecordIterator.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/CountOperator.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/CountOperator.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/DeserializedRecordGroup.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/DeserializedRecordGroup.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/JsonArrayRecordIterator.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/JsonRecord.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/network_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/network_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Operator.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Pipeline.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Pipeline.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordGroup.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordGroupIterator.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Record.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordReceiverContext.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordReceiverContext.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordTypedKeyIterator.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/reducer_server.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/ServerContext.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/ServerContext.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/LogSuppressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-Array.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-BoundedReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-BufferedFileReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-clp_s-end_to_end.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-clp_s-search.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-EncodedVariableInterpreter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-encoding_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-error_handling.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-ffi_IrUnitHandlerInterface.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-Grep.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-hash_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-ir_encoding_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-ir_parsing.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-ir_serializer.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-kql.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-main.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-math_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-NetworkReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-ParserWithUserSchema.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-query_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-Segment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-SQLiteDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-Stopwatch.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-string_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-TimestampPattern.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-utf8_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/tests/test-Utils.cpp" FLAGS: - --config-file "{{.ROOT_DIR}}/.clang-tidy" - -p "{{.G_CORE_COMPONENT_BUILD_DIR}}" INCLUDE_PATTERNS: - - "{{.G_CORE_DIR}}/src/*" - - "{{.G_CORE_DIR}}/tests/*" + - "{{.G_CORE_COMPONENT_DIR}}/src/*" + - "{{.G_CORE_COMPONENT_DIR}}/tests/*" OUTPUT_DIR: "{{.G_LINT_CLANG_TIDY_DIR}}" ROOT_PATHS: *cpp_source_files VENV_DIR: "{{.G_LINT_VENV_DIR}}" From 2403209d38ba9ce9821a2e5a93ccfcf6e1088fb2 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 27 Feb 2025 04:48:20 -0500 Subject: [PATCH 04/50] Fix ci dep and drop fix alias. --- lint-tasks.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lint-tasks.yml b/lint-tasks.yml index f05cbd58b4..f7807fe294 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -28,7 +28,6 @@ tasks: cpp-fix: cmds: - task: "cpp-format-fix" - - task: "cpp-static-fix" js-check: sources: &js_source_files @@ -717,19 +716,11 @@ tasks: VENV_DIR: "{{.G_LINT_VENV_DIR}}" cpp-static-check-ci: - # Alias task to `cpp-static-fix` since we don't currently support automatic fixes. - # NOTE: clang-tidy does have the ability to fix some errors, but the fixes can be inaccurate. - # When we eventually determine which errors can be safely fixed, we'll allow clang-tidy to - # fix them. - aliases: ["cpp-static-fix"] sources: *cpp_source_files deps: - "cpp-lint-configs" - "venv" - - task: ":utils:cmake:generate" - vars: - BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}" - SOURCE_DIR: "{{.ROOT_DIR}}/components/core" + - task: ":core-generate" cmds: - task: ":utils:cpp-lint:clang-tidy-diff" vars: From 475930ae40daef18383ecd78426465bfb802d940 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 3 Mar 2025 19:26:42 -0500 Subject: [PATCH 05/50] Update for ci. --- .github/workflows/clp-lint.yaml | 8 +++++++- lint-tasks.yml | 16 ++++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index bbe485c5dd..9dfc6df9c0 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -36,6 +36,12 @@ jobs: name: "Install coreutils (for md5sum)" run: "brew install coreutils" - - name: "Run lint task" + - if: "${{ github.event_name == 'schedule' }}" + name: "Run full lint task" + shell: "bash" + run: "task lint:check-full" + + - if: "${{ github.event_name != 'schedule' }}" + name: "Run lint task" shell: "bash" run: "task lint:check" diff --git a/lint-tasks.yml b/lint-tasks.yml index f7807fe294..931f111f07 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -13,6 +13,13 @@ tasks: - task: "py-check" - task: "yml-check" + check-full: + cmds: + - task: "cpp-check-full" + - task: "js-check" + - task: "py-check" + - task: "yml-check" + fix: cmds: - task: "cpp-fix" @@ -23,7 +30,12 @@ tasks: cpp-check: cmds: - task: "cpp-format-check" - - task: "cpp-static-check-ci" + - task: "cpp-static-check-diff" + + cpp-check: + cmds: + - task: "cpp-format-check" + - task: "cpp-static-check-full" cpp-fix: cmds: @@ -715,7 +727,7 @@ tasks: ROOT_PATHS: *cpp_source_files VENV_DIR: "{{.G_LINT_VENV_DIR}}" - cpp-static-check-ci: + cpp-static-check-diff: sources: *cpp_source_files deps: - "cpp-lint-configs" From d7d9c14a0a3f50dea23d4a3e6cc7f04561364d96 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 04:04:10 -0500 Subject: [PATCH 06/50] Add linting to workflows. --- .github/workflows/clp-core-build-macos.yaml | 11 ++++++++ .github/workflows/clp-core-build.yaml | 30 +++++++++++++++++++++ .github/workflows/clp-lint.yaml | 14 +++++----- 3 files changed, 47 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 8196e75d80..3c0a5c1dcb 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -78,3 +78,14 @@ jobs: --build-dir build --num-jobs $(getconf _NPROCESSORS_ONLN) --test-spec "~[Stopwatch]" + + - run: >- + task lint:check${{(github.event_name == "schedule") && "-full" || ""}} + shell: "bash" + # - if: "${{ github.event_name == 'schedule' }}" + # run: "task lint:check-full" + # shell: "bash" + + # - if: "${{ github.event_name != 'schedule' }}" + # run: "task lint:check" + # shell: "bash" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index 300443f3d8..adb6143dbd 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -304,3 +304,33 @@ jobs: push: true tags: "${{steps.core_image_meta.outputs.tags}}" labels: "${{steps.core_image_meta.outputs.labels}}" + + ubuntu-jammy-lint: + # Run if the ancestor jobs succeeded OR they were skipped and clp was changed. + if: >- + success() + || (!cancelled() && !failure() && needs.filter-relevant-changes.outputs.clp_changed == 'true') + needs: + - "filter-relevant-changes" + - "ubuntu-jammy-deps-image" + env: + OS_NAME: "ubuntu-jammy" + name: "ubuntu-jammy-${{matrix.use_shared_libs && 'dynamic' || 'static'}}-linked-bins" + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v4" + with: + submodules: "recursive" + + - name: "Work around actions/runner-images/issues/6775" + run: "chown $(id -u):$(id -g) -R ." + shell: "bash" + + - uses: "./.github/actions/run-on-image" + with: + image_name: "${{env.DEPS_IMAGE_NAME_PREFIX}}${{env.OS_NAME}}" + use_published_image: >- + ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' + || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} + run_command: >- + task lint:check${{(github.event_name == "schedule") && "-full" || ""}} diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index 9dfc6df9c0..8e1a80463d 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -36,12 +36,10 @@ jobs: name: "Install coreutils (for md5sum)" run: "brew install coreutils" - - if: "${{ github.event_name == 'schedule' }}" - name: "Run full lint task" - shell: "bash" - run: "task lint:check-full" +# - if: "github.event_name == 'schedule'" +# run: "task lint:check-full" +# shell: "bash" - - if: "${{ github.event_name != 'schedule' }}" - name: "Run lint task" - shell: "bash" - run: "task lint:check" +# - if: "github.event_name != 'schedule'" +# run: "task lint:check" +# shell: "bash" From 8d66712be960fdb8edd31bec9e9e88986e2b78c5 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 04:07:49 -0500 Subject: [PATCH 07/50] Try spaces. --- .github/workflows/clp-core-build-macos.yaml | 2 +- .github/workflows/clp-core-build.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 3c0a5c1dcb..aff1e08455 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -80,7 +80,7 @@ jobs: --test-spec "~[Stopwatch]" - run: >- - task lint:check${{(github.event_name == "schedule") && "-full" || ""}} + task lint:check${{ (github.event_name == "schedule") && "-full" || "" }} shell: "bash" # - if: "${{ github.event_name == 'schedule' }}" # run: "task lint:check-full" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index adb6143dbd..faba7a3949 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -333,4 +333,4 @@ jobs: ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} run_command: >- - task lint:check${{(github.event_name == "schedule") && "-full" || ""}} + task lint:check${{ (github.event_name == "schedule") && "-full" || "" }} From 9c593ab3e839c6884fb536ebbe0c129a5173a709 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 04:10:01 -0500 Subject: [PATCH 08/50] Needs to be single quotes. --- .github/workflows/clp-core-build-macos.yaml | 2 +- .github/workflows/clp-core-build.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index aff1e08455..769ba823b1 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -80,7 +80,7 @@ jobs: --test-spec "~[Stopwatch]" - run: >- - task lint:check${{ (github.event_name == "schedule") && "-full" || "" }} + task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} shell: "bash" # - if: "${{ github.event_name == 'schedule' }}" # run: "task lint:check-full" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index faba7a3949..68801719dd 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -333,4 +333,4 @@ jobs: ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} run_command: >- - task lint:check${{ (github.event_name == "schedule") && "-full" || "" }} + task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} From 768cb78c40699bda26797ad244373b62f0463066 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 09:53:08 -0500 Subject: [PATCH 09/50] Fix lint workflow name; Change task lint check suffix -full -> -all. --- .github/workflows/clp-core-build-macos.yaml | 7 ------- .github/workflows/clp-core-build.yaml | 3 --- lint-tasks.yml | 12 ++++++------ 3 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 769ba823b1..b7640097d8 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -82,10 +82,3 @@ jobs: - run: >- task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} shell: "bash" - # - if: "${{ github.event_name == 'schedule' }}" - # run: "task lint:check-full" - # shell: "bash" - - # - if: "${{ github.event_name != 'schedule' }}" - # run: "task lint:check" - # shell: "bash" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index 68801719dd..c2bd12d91e 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -313,9 +313,6 @@ jobs: needs: - "filter-relevant-changes" - "ubuntu-jammy-deps-image" - env: - OS_NAME: "ubuntu-jammy" - name: "ubuntu-jammy-${{matrix.use_shared_libs && 'dynamic' || 'static'}}-linked-bins" runs-on: "ubuntu-latest" steps: - uses: "actions/checkout@v4" diff --git a/lint-tasks.yml b/lint-tasks.yml index 931f111f07..fac5bebea7 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -7,15 +7,15 @@ vars: tasks: check: - cmds: + deps: - task: "cpp-check" - task: "js-check" - task: "py-check" - task: "yml-check" - check-full: - cmds: - - task: "cpp-check-full" + check-all: + deps: + - task: "cpp-check-all" - task: "js-check" - task: "py-check" - task: "yml-check" @@ -32,10 +32,10 @@ tasks: - task: "cpp-format-check" - task: "cpp-static-check-diff" - cpp-check: + cpp-check-all: cmds: - task: "cpp-format-check" - - task: "cpp-static-check-full" + - task: "cpp-static-check-all" cpp-fix: cmds: From 2375bb6ef500f1f37cef88dc21cc43b1b422b80e Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 10:38:29 -0500 Subject: [PATCH 10/50] Fix name; Change create-venv to once. --- .github/workflows/clp-core-build.yaml | 2 ++ lint-tasks.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index c2bd12d91e..0fd5cce932 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -324,6 +324,8 @@ jobs: shell: "bash" - uses: "./.github/actions/run-on-image" + env: + OS_NAME: "ubuntu-jammy" with: image_name: "${{env.DEPS_IMAGE_NAME_PREFIX}}${{env.OS_NAME}}" use_published_image: >- diff --git a/lint-tasks.yml b/lint-tasks.yml index fac5bebea7..9ff89a7738 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -816,6 +816,7 @@ tasks: - "{{.TASKFILE}}" - "lint-requirements.txt" generates: ["{{.CHECKSUM_FILE}}"] + run: "once" deps: - ":init" - task: ":utils:checksum:validate" From 2d515eeee43f124f969e82f710694432659a4200 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 11:25:26 -0500 Subject: [PATCH 11/50] Fix yamllint issues. --- lint-tasks.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lint-tasks.yml b/lint-tasks.yml index 9ff89a7738..b929e10830 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -158,6 +158,7 @@ tasks: # src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp # src/clp/ir/EncodedTextAst.cpp # tests/test-ffi_IrUnitHandlerInterface.cpp + # yamllint disable rule:line-length EXCLUDE_PATTERNS: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ArrayBackedPosIntSet.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/aws/AwsAuthenticationSigner.cpp" @@ -717,9 +718,10 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/tests/test-TimestampPattern.cpp" - "{{.G_CORE_COMPONENT_DIR}}/tests/test-utf8_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/tests/test-Utils.cpp" + # yamllint enable rule:line-length FLAGS: - - --config-file "{{.ROOT_DIR}}/.clang-tidy" - - -p "{{.G_CORE_COMPONENT_BUILD_DIR}}" + - "--config-file \"{{.ROOT_DIR}}/.clang-tidy\"" + - "-p \"{{.G_CORE_COMPONENT_BUILD_DIR}}\"" INCLUDE_PATTERNS: - "{{.G_CORE_COMPONENT_DIR}}/src/*" - "{{.G_CORE_COMPONENT_DIR}}/tests/*" @@ -737,8 +739,8 @@ tasks: - task: ":utils:cpp-lint:clang-tidy-diff" vars: FLAGS: - - --config-file "{{.ROOT_DIR}}/.clang-tidy" - - -p "{{.G_CORE_COMPONENT_BUILD_DIR}}" + - "--config-file \"{{.ROOT_DIR}}/.clang-tidy\"" + - "-p \"{{.G_CORE_COMPONENT_BUILD_DIR}}\"" OUTPUT_DIR: "{{.G_LINT_CLANG_TIDY_DIR}}" VENV_DIR: "{{.G_LINT_VENV_DIR}}" From e91ca620d0b1828ba843f0f64602a83c5ddd6600 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 11:27:16 -0500 Subject: [PATCH 12/50] Try venv workaround for now. --- .github/workflows/clp-core-build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index 0fd5cce932..a4fc348f65 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -332,4 +332,5 @@ jobs: ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} run_command: >- - task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} + sudo apt install python3.10-venv + && task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} From 01c3975533656ed1c6796ae7e9763fc5e7f7e471 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 18:34:52 -0500 Subject: [PATCH 13/50] Add python3-venv to install package scripts. --- .github/workflows/clp-core-build.yaml | 3 +-- .../lib_install/centos-stream-9/install-prebuilt-packages.sh | 1 + .../lib_install/ubuntu-jammy/install-prebuilt-packages.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index a4fc348f65..0fd5cce932 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -332,5 +332,4 @@ jobs: ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} run_command: >- - sudo apt install python3.10-venv - && task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} + task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} diff --git a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh index c51a521c19..57a4f5abc9 100755 --- a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh @@ -19,4 +19,5 @@ dnf install -y \ make \ mariadb-connector-c-devel \ openssl-devel \ + python3-venv \ xz-devel diff --git a/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh index ea055ffdff..402ee7e3a1 100755 --- a/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh @@ -24,4 +24,5 @@ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ pkg-config \ python3 \ python3-pip \ + python3-venv \ software-properties-common From 8ab378de1676ca2117bf492780e2a0ad2679e56e Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 18:38:31 -0500 Subject: [PATCH 14/50] Change centos venv to virtualenv. --- .../lib_install/centos-stream-9/install-prebuilt-packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh index 57a4f5abc9..2f15c0dc71 100755 --- a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh @@ -19,5 +19,5 @@ dnf install -y \ make \ mariadb-connector-c-devel \ openssl-devel \ - python3-venv \ + python3-virtualenv \ xz-devel From c5afc3154abd18d121fe553ecad4bc086971f9f6 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 18:40:03 -0500 Subject: [PATCH 15/50] Remove separate lint workflow. --- .github/workflows/clp-lint.yaml | 45 --------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/clp-lint.yaml diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml deleted file mode 100644 index 8e1a80463d..0000000000 --- a/.github/workflows/clp-lint.yaml +++ /dev/null @@ -1,45 +0,0 @@ -name: "clp-lint" - -on: - pull_request: - push: - schedule: - # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) - - cron: "15 0 * * *" - workflow_dispatch: - -concurrency: - group: "${{github.workflow}}-${{github.ref}}" - # Cancel in-progress jobs for efficiency - cancel-in-progress: true - -jobs: - lint-check: - strategy: - matrix: - os: ["macos-latest", "ubuntu-latest"] - runs-on: "${{matrix.os}}" - steps: - - uses: "actions/checkout@v4" - with: - submodules: "recursive" - - - uses: "actions/setup-python@v5" - with: - python-version: "3.11" - - - name: "Install task" - shell: "bash" - run: "npm install -g @go-task/cli" - - - if: "matrix.os == 'macos-latest'" - name: "Install coreutils (for md5sum)" - run: "brew install coreutils" - -# - if: "github.event_name == 'schedule'" -# run: "task lint:check-full" -# shell: "bash" - -# - if: "github.event_name != 'schedule'" -# run: "task lint:check" -# shell: "bash" From 7951416cbdd48eb2d5f7ac5267e349f6ab69d9a2 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 18:56:37 -0500 Subject: [PATCH 16/50] Tweak macos push/pull filters. --- .github/workflows/clp-core-build-macos.yaml | 26 ++++++++++----------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index b7640097d8..6e2e6f939f 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -4,29 +4,27 @@ on: pull_request: paths: - ".github/workflows/clp-core-build-macos.yaml" - - "components/core/cmake/**" - - "components/core/CMakeLists.txt" - - "components/core/src/**" - - "components/core/tests/**" - - "components/core/tools/scripts/lib_install/macos/**" - - "components/core/tools/scripts/deps-download/**" - - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" + - ".gitmodules" + - "components/core/**" - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" + - "!components/core/tools/scripts/docker-images/*-centos-*/**" + - "!components/core/tools/scripts/docker-images/*-ubuntu-*/**" + - "!components/core/tools/scripts/lib_install/centos-*/**" + - "!components/core/tools/scripts/lib_install/ubuntu-*/**" push: paths: - ".github/workflows/clp-core-build-macos.yaml" - - "components/core/cmake/**" - - "components/core/CMakeLists.txt" - - "components/core/src/**" - - "components/core/tests/**" - - "components/core/tools/scripts/lib_install/macos/**" - - "components/core/tools/scripts/deps-download/**" - - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" + - ".gitmodules" + - "components/core/**" - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" + - "!components/core/tools/scripts/docker-images/*-centos-*/**" + - "!components/core/tools/scripts/docker-images/*-ubuntu-*/**" + - "!components/core/tools/scripts/lib_install/centos-*/**" + - "!components/core/tools/scripts/lib_install/ubuntu-*/**" schedule: # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) - cron: "15 0 * * *" From 82f39dff5993b25c915e9ad24170ee622065c48a Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 18:56:50 -0500 Subject: [PATCH 17/50] centos debug package search --- .../lib_install/centos-stream-9/install-prebuilt-packages.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh index 2f15c0dc71..653cc777fb 100755 --- a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh @@ -6,6 +6,9 @@ set -e # Error on undefined variable set -u +dnf search venv +dnf search virtualenv + dnf install -y \ cmake \ diffutils \ From 7715622079f2524d53f977b926d44c69f908cd60 Mon Sep 17 00:00:00 2001 From: davidlion Date: Thu, 6 Mar 2025 19:07:15 -0500 Subject: [PATCH 18/50] centos debug pip --- .../centos-stream-9/install-prebuilt-packages.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh index 653cc777fb..e4d63d7f66 100755 --- a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh @@ -6,9 +6,6 @@ set -e # Error on undefined variable set -u -dnf search venv -dnf search virtualenv - dnf install -y \ cmake \ diffutils \ @@ -22,5 +19,8 @@ dnf install -y \ make \ mariadb-connector-c-devel \ openssl-devel \ - python3-virtualenv \ + python3-pip \ xz-devel + +pip3 install --upgrade pip +pip3 install clang-tidy From 17204a98272b9aa0770c5218b294584d3b60dae2 Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 7 Mar 2025 11:08:32 -0500 Subject: [PATCH 19/50] Drop debugging from centos. --- .../lib_install/centos-stream-9/install-prebuilt-packages.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh index e4d63d7f66..572b3ebfc6 100755 --- a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh @@ -21,6 +21,3 @@ dnf install -y \ openssl-devel \ python3-pip \ xz-devel - -pip3 install --upgrade pip -pip3 install clang-tidy From 98d025a47cc5167d8c7574b3ce3338119501f879 Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 7 Mar 2025 12:03:22 -0500 Subject: [PATCH 20/50] Split cpp and no-cpp workflows. --- .github/workflows/clp-core-build-macos.yaml | 2 +- .github/workflows/clp-core-build.yaml | 2 +- lint-tasks.yml | 25 ++++++++++----------- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 6e2e6f939f..7833325788 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -78,5 +78,5 @@ jobs: --test-spec "~[Stopwatch]" - run: >- - task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} + task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} shell: "bash" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index 0fd5cce932..33d151b213 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -332,4 +332,4 @@ jobs: ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} run_command: >- - task lint:check${{(github.event_name == 'schedule') && '-full' || ''}} + task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} diff --git a/lint-tasks.yml b/lint-tasks.yml index 4233741a0d..3d49211977 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -7,15 +7,24 @@ vars: tasks: check: - cmds: + deps: - task: "check-cpp-diff" - task: "check-js" - task: "check-py" - task: "check-yaml" - check-full: + check-cpp-diff: + cmds: + - task: "check-cpp-format" + - task: "check-cpp-static-diff" + + check-cpp-full: + cmds: + - task: "check-cpp-format" + - task: "check-cpp-static-full" + + check-no-cpp: deps: - - task: "check-cpp-full" - task: "check-js" - task: "check-py" - task: "check-yaml" @@ -27,16 +36,6 @@ tasks: - task: "fix-py" - task: "fix-yaml" - check-cpp-diff: - cmds: - - task: "check-cpp-format" - - task: "check-cpp-static-diff" - - check-cpp-full: - cmds: - - task: "check-cpp-format" - - task: "check-cpp-static-full" - fix-cpp: cmds: - task: "fix-cpp-format" From b6b216339725359d08b23d299ca83a1eba7ce04c Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 7 Mar 2025 12:03:38 -0500 Subject: [PATCH 21/50] Add clp-lint.yaml workflow back. --- .github/workflows/clp-lint.yaml | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/clp-lint.yaml diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml new file mode 100644 index 0000000000..b29a40e3e3 --- /dev/null +++ b/.github/workflows/clp-lint.yaml @@ -0,0 +1,41 @@ +name: "clp-lint" + +on: + pull_request: + push: + schedule: + # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) + - cron: "15 0 * * *" + workflow_dispatch: + +concurrency: + group: "${{github.workflow}}-${{github.ref}}" + # Cancel in-progress jobs for efficiency + cancel-in-progress: true + +jobs: + lint-check: + strategy: + matrix: + os: ["macos-latest", "ubuntu-latest"] + runs-on: "${{matrix.os}}" + steps: + - uses: "actions/checkout@v4" + with: + submodules: "recursive" + + - uses: "actions/setup-python@v5" + with: + python-version: "3.11" + + - name: "Install task" + shell: "bash" + run: "npm install -g @go-task/cli" + + - if: "matrix.os == 'macos-latest'" + name: "Install coreutils (for md5sum)" + run: "brew install coreutils" + + - name: "Run lint task" + shell: "bash" + run: "task lint:check-no-cpp" From 43e2a39371659418633f9f76599086fd6879bfe3 Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 7 Mar 2025 12:39:38 -0500 Subject: [PATCH 22/50] DEBUG test. --- .github/workflows/clp-lint.yaml | 6 ++++++ tools/yscope-dev-utils | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index b29a40e3e3..a2fc9be128 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -24,6 +24,12 @@ jobs: with: submodules: "recursive" + - name: "DEBUG" + shell: "bash" + run: |- + git remote -vvv + git branch -vvva + - uses: "actions/setup-python@v5" with: python-version: "3.11" diff --git a/tools/yscope-dev-utils b/tools/yscope-dev-utils index 869fa53339..6023bb45a4 160000 --- a/tools/yscope-dev-utils +++ b/tools/yscope-dev-utils @@ -1 +1 @@ -Subproject commit 869fa53339630402fa354d93cbc2a1e24364a645 +Subproject commit 6023bb45a4b040ab2c63dee9c0f330765b66d284 From 02634e7b0c5d94e6eae3a37e616c65928bf2dced Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 7 Mar 2025 19:14:44 -0500 Subject: [PATCH 23/50] Remove debug. --- .github/workflows/clp-lint.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index a2fc9be128..b29a40e3e3 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -24,12 +24,6 @@ jobs: with: submodules: "recursive" - - name: "DEBUG" - shell: "bash" - run: |- - git remote -vvv - git branch -vvva - - uses: "actions/setup-python@v5" with: python-version: "3.11" From 1ee3509e6e36e3fdfe96ca39e45b9492aae821cc Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 7 Mar 2025 19:48:18 -0500 Subject: [PATCH 24/50] more debugging --- .github/workflows/clp-lint.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index b29a40e3e3..4696157519 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -24,6 +24,11 @@ jobs: with: submodules: "recursive" + - name: "DEBUG" + shell: "bash" + run: |- + git diff --name-only --ignore-submodules "origin/HEAD" -- **/*.{cpp,h,hpp} + - uses: "actions/setup-python@v5" with: python-version: "3.11" From ff82837f7c330c023aa104cd2298ce98800e25ee Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 7 Mar 2025 19:49:45 -0500 Subject: [PATCH 25/50] more debugging --- .github/workflows/clp-lint.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index 4696157519..742ee8e801 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -27,7 +27,8 @@ jobs: - name: "DEBUG" shell: "bash" run: |- - git diff --name-only --ignore-submodules "origin/HEAD" -- **/*.{cpp,h,hpp} + git branch -avvv + git diff --name-only --ignore-submodules "origin/main" -- **/*.{cpp,h,hpp} - uses: "actions/setup-python@v5" with: From 2d6771730fa5e62fe7ee7e6c3d3a2b915e106ed8 Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 7 Mar 2025 19:50:56 -0500 Subject: [PATCH 26/50] more debugging --- .github/workflows/clp-lint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index 742ee8e801..82c640949b 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -28,6 +28,7 @@ jobs: shell: "bash" run: |- git branch -avvv + git fetch origin git diff --name-only --ignore-submodules "origin/main" -- **/*.{cpp,h,hpp} - uses: "actions/setup-python@v5" From b8b439ba9a466c32ad6f6081b157e76f1446940b Mon Sep 17 00:00:00 2001 From: davidlion Date: Sun, 9 Mar 2025 20:17:23 -0400 Subject: [PATCH 27/50] Try fetch-depth: 0 --- .github/workflows/clp-core-build.yaml | 1 + .github/workflows/clp-lint.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index 33d151b213..8f37e92064 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -317,6 +317,7 @@ jobs: steps: - uses: "actions/checkout@v4" with: + fetch-depth: 0 submodules: "recursive" - name: "Work around actions/runner-images/issues/6775" diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index 82c640949b..9514be9a18 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -22,14 +22,14 @@ jobs: steps: - uses: "actions/checkout@v4" with: + fetch-depth: 0 submodules: "recursive" - name: "DEBUG" shell: "bash" run: |- git branch -avvv - git fetch origin - git diff --name-only --ignore-submodules "origin/main" -- **/*.{cpp,h,hpp} + git diff --name-only --ignore-submodules "origin/HEAD" -- **/*.{cpp,h,hpp} - uses: "actions/setup-python@v5" with: From a9fec814edb75aa8c5515d3547b40576a745e6b4 Mon Sep 17 00:00:00 2001 From: davidlion Date: Sun, 9 Mar 2025 23:44:57 -0400 Subject: [PATCH 28/50] remove debug; fix missing fetch depth --- .github/workflows/clp-core-build-macos.yaml | 1 + .github/workflows/clp-lint.yaml | 7 ------- tools/yscope-dev-utils | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 7833325788..48faeb63e2 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -45,6 +45,7 @@ jobs: steps: - uses: "actions/checkout@v4" with: + fetch-depth: 0 submodules: "recursive" # See https://github.com/actions/setup-python/issues/577 diff --git a/.github/workflows/clp-lint.yaml b/.github/workflows/clp-lint.yaml index 9514be9a18..b29a40e3e3 100644 --- a/.github/workflows/clp-lint.yaml +++ b/.github/workflows/clp-lint.yaml @@ -22,15 +22,8 @@ jobs: steps: - uses: "actions/checkout@v4" with: - fetch-depth: 0 submodules: "recursive" - - name: "DEBUG" - shell: "bash" - run: |- - git branch -avvv - git diff --name-only --ignore-submodules "origin/HEAD" -- **/*.{cpp,h,hpp} - - uses: "actions/setup-python@v5" with: python-version: "3.11" diff --git a/tools/yscope-dev-utils b/tools/yscope-dev-utils index 6023bb45a4..584e85c6b0 160000 --- a/tools/yscope-dev-utils +++ b/tools/yscope-dev-utils @@ -1 +1 @@ -Subproject commit 6023bb45a4b040ab2c63dee9c0f330765b66d284 +Subproject commit 584e85c6b06a722734857381e2459ebc04c08e6b From c6576da189ad0e35234a93e74a15be34ca42e5b4 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 00:09:39 -0400 Subject: [PATCH 29/50] Fix bad submodule update. --- tools/yscope-dev-utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/yscope-dev-utils b/tools/yscope-dev-utils index 584e85c6b0..0c11129ed2 160000 --- a/tools/yscope-dev-utils +++ b/tools/yscope-dev-utils @@ -1 +1 @@ -Subproject commit 584e85c6b06a722734857381e2459ebc04c08e6b +Subproject commit 0c11129ed28b7217a3f3d28acc0af21549b41ce5 From 5c365cd00ccaf37d39ccfd5aea3f9befa14b8f17 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 09:57:12 -0400 Subject: [PATCH 30/50] Bump dev-utils to contain lint taskfile fixes. --- tools/yscope-dev-utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/yscope-dev-utils b/tools/yscope-dev-utils index 0c11129ed2..e55afb0747 160000 --- a/tools/yscope-dev-utils +++ b/tools/yscope-dev-utils @@ -1 +1 @@ -Subproject commit 0c11129ed28b7217a3f3d28acc0af21549b41ce5 +Subproject commit e55afb074788f2e2092d4f24069f16ac66b993bf From 0c87753d29d87d23fbc09b8e173639c7a281a986 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 10:53:17 -0400 Subject: [PATCH 31/50] Split out CI changes. --- .github/workflows/clp-core-build-macos.yaml | 31 +++++++++---------- .github/workflows/clp-core-build.yaml | 30 ------------------ .../install-prebuilt-packages.sh | 1 - .../ubuntu-jammy/install-prebuilt-packages.sh | 1 - lint-tasks.yml | 4 +-- 5 files changed, 16 insertions(+), 51 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 14178cd57a..c26f1b0943 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -4,27 +4,29 @@ on: pull_request: paths: - ".github/workflows/clp-core-build-macos.yaml" - - ".gitmodules" - - "components/core/**" + - "components/core/cmake/**" + - "components/core/CMakeLists.txt" + - "components/core/src/**" + - "components/core/tests/**" + - "components/core/tools/scripts/lib_install/macos/**" + - "components/core/tools/scripts/deps-download/**" + - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" - - "!components/core/tools/scripts/docker-images/*-centos-*/**" - - "!components/core/tools/scripts/docker-images/*-ubuntu-*/**" - - "!components/core/tools/scripts/lib_install/centos-*/**" - - "!components/core/tools/scripts/lib_install/ubuntu-*/**" push: paths: - ".github/workflows/clp-core-build-macos.yaml" - - ".gitmodules" - - "components/core/**" + - "components/core/cmake/**" + - "components/core/CMakeLists.txt" + - "components/core/src/**" + - "components/core/tests/**" + - "components/core/tools/scripts/lib_install/macos/**" + - "components/core/tools/scripts/deps-download/**" + - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" - - "!components/core/tools/scripts/docker-images/*-centos-*/**" - - "!components/core/tools/scripts/docker-images/*-ubuntu-*/**" - - "!components/core/tools/scripts/lib_install/centos-*/**" - - "!components/core/tools/scripts/lib_install/ubuntu-*/**" schedule: # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) - cron: "15 0 * * *" @@ -45,7 +47,6 @@ jobs: steps: - uses: "actions/checkout@v4" with: - fetch-depth: 0 submodules: "recursive" # See https://github.com/actions/setup-python/issues/577 @@ -77,7 +78,3 @@ jobs: --build-dir build --num-jobs $(getconf _NPROCESSORS_ONLN) --test-spec "~[Stopwatch]" - - - run: >- - task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} - shell: "bash" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index d5b265cc8c..e2f28263fd 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -301,33 +301,3 @@ jobs: push: true tags: "${{steps.core_image_meta.outputs.tags}}" labels: "${{steps.core_image_meta.outputs.labels}}" - - ubuntu-jammy-lint: - # Run if the ancestor jobs succeeded OR they were skipped and clp was changed. - if: >- - success() - || (!cancelled() && !failure() && needs.filter-relevant-changes.outputs.clp_changed == 'true') - needs: - - "filter-relevant-changes" - - "ubuntu-jammy-deps-image" - runs-on: "ubuntu-latest" - steps: - - uses: "actions/checkout@v4" - with: - fetch-depth: 0 - submodules: "recursive" - - - name: "Work around actions/runner-images/issues/6775" - run: "chown $(id -u):$(id -g) -R ." - shell: "bash" - - - uses: "./.github/actions/run-on-image" - env: - OS_NAME: "ubuntu-jammy" - with: - image_name: "${{env.DEPS_IMAGE_NAME_PREFIX}}${{env.OS_NAME}}" - use_published_image: >- - ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' - || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} - run_command: >- - task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} diff --git a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh index 572b3ebfc6..c51a521c19 100755 --- a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh @@ -19,5 +19,4 @@ dnf install -y \ make \ mariadb-connector-c-devel \ openssl-devel \ - python3-pip \ xz-devel diff --git a/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh index 402ee7e3a1..ea055ffdff 100755 --- a/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh @@ -24,5 +24,4 @@ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ pkg-config \ python3 \ python3-pip \ - python3-venv \ software-properties-common diff --git a/lint-tasks.yml b/lint-tasks.yml index 3d49211977..64647bb3dc 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -7,7 +7,7 @@ vars: tasks: check: - deps: + cmds: - task: "check-cpp-diff" - task: "check-js" - task: "check-py" @@ -24,7 +24,7 @@ tasks: - task: "check-cpp-static-full" check-no-cpp: - deps: + cmds: - task: "check-js" - task: "check-py" - task: "check-yaml" From 52b24f7fd538e5761db57a781e293df27f11f7a1 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 15:57:17 -0400 Subject: [PATCH 32/50] Bump dev-utils. --- tools/yscope-dev-utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/yscope-dev-utils b/tools/yscope-dev-utils index e55afb0747..4580f2ab77 160000 --- a/tools/yscope-dev-utils +++ b/tools/yscope-dev-utils @@ -1 +1 @@ -Subproject commit e55afb074788f2e2092d4f24069f16ac66b993bf +Subproject commit 4580f2ab77d014f9923efa221bdff7ecd9c6476d From 8b9c3a3c5e92bba8f848bd9a977b0c13b079a71a Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 16:51:28 -0400 Subject: [PATCH 33/50] Apply suggestions from code review. Co-authored-by: kirkrodrigues <2454684+kirkrodrigues@users.noreply.github.com> --- lint-tasks.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/lint-tasks.yml b/lint-tasks.yml index 64647bb3dc..a9cf734823 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -151,8 +151,8 @@ tasks: - task: ":utils:cpp-lint:clang-tidy-diff" vars: FLAGS: - - "--config-file \"{{.ROOT_DIR}}/.clang-tidy\"" - - "-p \"{{.G_CORE_COMPONENT_BUILD_DIR}}\"" + - "--config-file '{{.ROOT_DIR}}/.clang-tidy'" + - "-p '{{.G_CORE_COMPONENT_BUILD_DIR}}'" OUTPUT_DIR: "{{.G_LINT_CLANG_TIDY_DIR}}" VENV_DIR: "{{.G_LINT_VENV_DIR}}" @@ -165,13 +165,14 @@ tasks: cmds: - task: ":utils:cpp-lint:clang-tidy-find" vars: - # Note, the following files only error is a circular header by including - # decoding_methods.hpp (due to decoding_methods.inc): - # src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp - # src/clp/ffi/ir_stream/IrUnitHandlerInterface.cpp - # src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp - # src/clp/ir/EncodedTextAst.cpp - # tests/test-ffi_IrUnitHandlerInterface.cpp + # NOTE: The only error in the following files is a circular include due to including + # decoding_methods.hpp (decoding_methods.hpp and decoding_methods.inc include each other): + # + # - src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp + # - src/clp/ffi/ir_stream/IrUnitHandlerInterface.cpp + # - src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp + # - src/clp/ir/EncodedTextAst.cpp + # - tests/test-ffi_IrUnitHandlerInterface.cpp # yamllint disable rule:line-length EXCLUDE_PATTERNS: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ArrayBackedPosIntSet.hpp" @@ -734,8 +735,8 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/tests/test-Utils.cpp" # yamllint enable rule:line-length FLAGS: - - "--config-file \"{{.ROOT_DIR}}/.clang-tidy\"" - - "-p \"{{.G_CORE_COMPONENT_BUILD_DIR}}\"" + - "--config-file '{{.ROOT_DIR}}/.clang-tidy'" + - "-p '{{.G_CORE_COMPONENT_BUILD_DIR}}'" INCLUDE_PATTERNS: - "{{.G_CORE_COMPONENT_DIR}}/src/*" - "{{.G_CORE_COMPONENT_DIR}}/tests/*" From 81f6424f95a2cb0ae0ef742c9eabfd2af8ed8de8 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 16:52:21 -0400 Subject: [PATCH 34/50] Add internal to core tasks; Fix fix tasks; remove task from deps statements. --- Taskfile.yml | 2 ++ lint-tasks.yml | 20 ++++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 323e2d509d..c43d9193da 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -190,6 +190,7 @@ tasks: - task: "core-build" core-generate: + internal: true sources: &core_source_files - "{{.G_DEPS_CORE_CHECKSUM_FILE}}" - "{{.G_CORE_COMPONENT_DIR}}/cmake/**/*" @@ -205,6 +206,7 @@ tasks: SOURCE_DIR: "{{.G_CORE_COMPONENT_DIR}}" core-build: + internal: true sources: *core_source_files generates: - "{{.G_CORE_COMPONENT_BUILD_DIR}}/clg" diff --git a/lint-tasks.yml b/lint-tasks.yml index a9cf734823..e74052c258 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -31,14 +31,26 @@ tasks: fix: cmds: - - task: "fix-cpp" + - task: "fix-cpp-diff" - task: "fix-js" - task: "fix-py" - task: "fix-yaml" - fix-cpp: + fix-cpp-diff: cmds: - task: "fix-cpp-format" + - task: "fix-cpp-static-diff" + + fix-cpp-full: + cmds: + - task: "fix-cpp-format" + - task: "fix-cpp-static-full" + + fix-no-cpp: + cmds: + - task: "fix-js" + - task: "fix-py" + - task: "fix-yaml" check-js: sources: &js_source_files @@ -145,8 +157,8 @@ tasks: sources: *cpp_source_files deps: - "cpp-lint-configs" + - ":core-generate" - "venv" - - task: ":core-generate" cmds: - task: ":utils:cpp-lint:clang-tidy-diff" vars: @@ -160,8 +172,8 @@ tasks: sources: *cpp_source_files deps: - "cpp-lint-configs" + - ":core-generate" - "venv" - - task: ":core-generate" cmds: - task: ":utils:cpp-lint:clang-tidy-find" vars: From b45b13e6d3c656979ef72da764ac4ff0cb5822d9 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 17:06:44 -0400 Subject: [PATCH 35/50] Add .inc note to NOTE; Include IrUnitHandlerInterface.cpp. --- lint-tasks.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lint-tasks.yml b/lint-tasks.yml index e74052c258..d635b5e7fe 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -177,11 +177,14 @@ tasks: cmds: - task: ":utils:cpp-lint:clang-tidy-find" vars: - # NOTE: The only error in the following files is a circular include due to including - # decoding_methods.hpp (decoding_methods.hpp and decoding_methods.inc include each other): + # NOTE: We do not lint `.inc` files because they result in false positives due to circular + # includes and we plan to remove them going forward. + # + # The only error in the following files is a circular include due to including + # decoding_methods.hpp (decoding_methods.hpp and decoding_methods.inc include each other) + # and should be removed from the exclude list once decoding_methods.inc is removed: # # - src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp - # - src/clp/ffi/ir_stream/IrUnitHandlerInterface.cpp # - src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp # - src/clp/ir/EncodedTextAst.cpp # - tests/test-ffi_IrUnitHandlerInterface.cpp @@ -245,7 +248,6 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/encoding_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrErrorCode.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/protocol_constants.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Serializer.cpp" From eb79186d90b48ed453882c42e95d8f3d125748e7 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 17:54:18 -0400 Subject: [PATCH 36/50] Change check and fix to use full rather than diff. --- lint-tasks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lint-tasks.yml b/lint-tasks.yml index d635b5e7fe..abef57064d 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -8,7 +8,7 @@ vars: tasks: check: cmds: - - task: "check-cpp-diff" + - task: "check-cpp-full" - task: "check-js" - task: "check-py" - task: "check-yaml" @@ -31,7 +31,7 @@ tasks: fix: cmds: - - task: "fix-cpp-diff" + - task: "fix-cpp-full" - task: "fix-js" - task: "fix-py" - task: "fix-yaml" From 45fc584e58823d441b77e20856cf78b2500f7783 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 18:05:35 -0400 Subject: [PATCH 37/50] Apply suggestions from code review. Co-authored-by: kirkrodrigues <2454684+kirkrodrigues@users.noreply.github.com> --- lint-tasks.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/lint-tasks.yml b/lint-tasks.yml index abef57064d..d17612dc6a 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -156,8 +156,8 @@ tasks: check-cpp-static-diff: sources: *cpp_source_files deps: - - "cpp-lint-configs" - ":core-generate" + - "cpp-lint-configs" - "venv" cmds: - task: ":utils:cpp-lint:clang-tidy-diff" @@ -171,23 +171,24 @@ tasks: check-cpp-static-full: sources: *cpp_source_files deps: - - "cpp-lint-configs" - ":core-generate" + - "cpp-lint-configs" - "venv" cmds: - task: ":utils:cpp-lint:clang-tidy-find" vars: - # NOTE: We do not lint `.inc` files because they result in false positives due to circular - # includes and we plan to remove them going forward. - # - # The only error in the following files is a circular include due to including - # decoding_methods.hpp (decoding_methods.hpp and decoding_methods.inc include each other) - # and should be removed from the exclude list once decoding_methods.inc is removed: + # NOTE: # - # - src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp - # - src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp - # - src/clp/ir/EncodedTextAst.cpp - # - tests/test-ffi_IrUnitHandlerInterface.cpp + # - We don't lint `.inc` files because they result in false positives due to circular + # includes, and we plan to remove them going forward. + # - The only error in the following files is a circular include due to including + # decoding_methods.hpp (decoding_methods.hpp and decoding_methods.inc include each + # other); the files should be removed from the exclude list once decoding_methods.inc + # is removed: + # - src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp + # - src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp + # - src/clp/ir/EncodedTextAst.cpp + # - tests/test-ffi_IrUnitHandlerInterface.cpp # yamllint disable rule:line-length EXCLUDE_PATTERNS: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ArrayBackedPosIntSet.hpp" From 95f8d2f7c2bfad0087ddf5285d70c549634d6f11 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 18:20:33 -0400 Subject: [PATCH 38/50] Revert "Split out CI changes." This reverts commit 0c87753d29d87d23fbc09b8e173639c7a281a986. --- .github/workflows/clp-core-build-macos.yaml | 31 ++++++++++--------- .github/workflows/clp-core-build.yaml | 30 ++++++++++++++++++ .../install-prebuilt-packages.sh | 1 + .../ubuntu-jammy/install-prebuilt-packages.sh | 1 + 4 files changed, 49 insertions(+), 14 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index c26f1b0943..14178cd57a 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -4,29 +4,27 @@ on: pull_request: paths: - ".github/workflows/clp-core-build-macos.yaml" - - "components/core/cmake/**" - - "components/core/CMakeLists.txt" - - "components/core/src/**" - - "components/core/tests/**" - - "components/core/tools/scripts/lib_install/macos/**" - - "components/core/tools/scripts/deps-download/**" - - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" + - ".gitmodules" + - "components/core/**" - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" + - "!components/core/tools/scripts/docker-images/*-centos-*/**" + - "!components/core/tools/scripts/docker-images/*-ubuntu-*/**" + - "!components/core/tools/scripts/lib_install/centos-*/**" + - "!components/core/tools/scripts/lib_install/ubuntu-*/**" push: paths: - ".github/workflows/clp-core-build-macos.yaml" - - "components/core/cmake/**" - - "components/core/CMakeLists.txt" - - "components/core/src/**" - - "components/core/tests/**" - - "components/core/tools/scripts/lib_install/macos/**" - - "components/core/tools/scripts/deps-download/**" - - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" + - ".gitmodules" + - "components/core/**" - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" + - "!components/core/tools/scripts/docker-images/*-centos-*/**" + - "!components/core/tools/scripts/docker-images/*-ubuntu-*/**" + - "!components/core/tools/scripts/lib_install/centos-*/**" + - "!components/core/tools/scripts/lib_install/ubuntu-*/**" schedule: # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) - cron: "15 0 * * *" @@ -47,6 +45,7 @@ jobs: steps: - uses: "actions/checkout@v4" with: + fetch-depth: 0 submodules: "recursive" # See https://github.com/actions/setup-python/issues/577 @@ -78,3 +77,7 @@ jobs: --build-dir build --num-jobs $(getconf _NPROCESSORS_ONLN) --test-spec "~[Stopwatch]" + + - run: >- + task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} + shell: "bash" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index e2f28263fd..d5b265cc8c 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -301,3 +301,33 @@ jobs: push: true tags: "${{steps.core_image_meta.outputs.tags}}" labels: "${{steps.core_image_meta.outputs.labels}}" + + ubuntu-jammy-lint: + # Run if the ancestor jobs succeeded OR they were skipped and clp was changed. + if: >- + success() + || (!cancelled() && !failure() && needs.filter-relevant-changes.outputs.clp_changed == 'true') + needs: + - "filter-relevant-changes" + - "ubuntu-jammy-deps-image" + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v4" + with: + fetch-depth: 0 + submodules: "recursive" + + - name: "Work around actions/runner-images/issues/6775" + run: "chown $(id -u):$(id -g) -R ." + shell: "bash" + + - uses: "./.github/actions/run-on-image" + env: + OS_NAME: "ubuntu-jammy" + with: + image_name: "${{env.DEPS_IMAGE_NAME_PREFIX}}${{env.OS_NAME}}" + use_published_image: >- + ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' + || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} + run_command: >- + task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} diff --git a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh index c51a521c19..572b3ebfc6 100755 --- a/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/centos-stream-9/install-prebuilt-packages.sh @@ -19,4 +19,5 @@ dnf install -y \ make \ mariadb-connector-c-devel \ openssl-devel \ + python3-pip \ xz-devel diff --git a/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh b/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh index ea055ffdff..402ee7e3a1 100755 --- a/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh +++ b/components/core/tools/scripts/lib_install/ubuntu-jammy/install-prebuilt-packages.sh @@ -24,4 +24,5 @@ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ pkg-config \ python3 \ python3-pip \ + python3-venv \ software-properties-common From cfdaf3b0047153fd8d4e6dffa5d4fa293c435489 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 18:22:54 -0400 Subject: [PATCH 39/50] Update lint contrib doc. --- docs/src/dev-guide/contributing-linting.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/dev-guide/contributing-linting.md b/docs/src/dev-guide/contributing-linting.md index fb246d0455..0a4226a47b 100644 --- a/docs/src/dev-guide/contributing-linting.md +++ b/docs/src/dev-guide/contributing-linting.md @@ -2,7 +2,7 @@ Before submitting a PR, ensure you've run our linting tools and either fixed any violations or suppressed the warning. If you can't run the linting workflows locally, you can enable and run the -[clp-lint] workflow in your fork. +[clp-lint] and [clp-core-build] workflows in your fork. ## Requirements @@ -32,5 +32,6 @@ task lint:fix ``` [clp-lint]: https://github.com/y-scope/clp/blob/main/.github/workflows/clp-lint.yaml +[clp-core-build]: https://github.com/y-scope/clp/blob/main/.github/workflows/clp-core-build.yaml [feature-req]: https://github.com/y-scope/clp/issues/new?assignees=&labels=enhancement&projects=&template=feature-request.yml [Task]: https://taskfile.dev/ From c5b5840a21ab71c7a3ff5633d7569261189e15e6 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 16:37:34 -0400 Subject: [PATCH 40/50] Switch to always run full rather than diff. --- .github/workflows/clp-core-build-macos.yaml | 6 ++++-- .github/workflows/clp-core-build.yaml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 14178cd57a..36acb72ae2 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -78,6 +78,8 @@ jobs: --num-jobs $(getconf _NPROCESSORS_ONLN) --test-spec "~[Stopwatch]" - - run: >- - task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} + # When enough files are passing clang-tidy switch to a full pass on schedule only. + # - run: >- + # task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} + - run: "task lint:check-cpp-full" shell: "bash" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index d5b265cc8c..14a2d2eaf7 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -329,5 +329,7 @@ jobs: use_published_image: >- ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} - run_command: >- - task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} + # When enough files are passing clang-tidy switch to a full pass on schedule only. + # run_command: >- + # task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} + run_command: "task lint:check-cpp-full" From bddf03eb17ea9052d30d823b52f4a231b698d605 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 20:07:37 -0400 Subject: [PATCH 41/50] Apply suggestions from code review. Co-authored-by: kirkrodrigues <2454684+kirkrodrigues@users.noreply.github.com> --- .github/workflows/clp-core-build-macos.yaml | 3 ++- .github/workflows/clp-core-build.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 36acb72ae2..33e6a44aa7 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -45,6 +45,7 @@ jobs: steps: - uses: "actions/checkout@v4" with: + # Fetch history so that the `clang-tidy-diff` task can compare against the main branch. fetch-depth: 0 submodules: "recursive" @@ -78,7 +79,7 @@ jobs: --num-jobs $(getconf _NPROCESSORS_ONLN) --test-spec "~[Stopwatch]" - # When enough files are passing clang-tidy switch to a full pass on schedule only. + # TODO: When enough files are passing clang-tidy, switch to a full pass on schedule only. # - run: >- # task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} - run: "task lint:check-cpp-full" diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index 14a2d2eaf7..3f5d17e731 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -314,6 +314,7 @@ jobs: steps: - uses: "actions/checkout@v4" with: + # Fetch history so that the `clang-tidy-diff` task can compare against the main branch. fetch-depth: 0 submodules: "recursive" @@ -329,7 +330,7 @@ jobs: use_published_image: >- ${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false' || (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}} - # When enough files are passing clang-tidy switch to a full pass on schedule only. + # TODO: When enough files are passing clang-tidy, switch to a full pass on schedule only. # run_command: >- # task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}} run_command: "task lint:check-cpp-full" From 51f116fc4d055e4f9589803b6e0423550a07ff02 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 21:45:55 -0400 Subject: [PATCH 42/50] Blacklist byteswap.hpp due to defining macros on macos. --- lint-tasks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lint-tasks.yml b/lint-tasks.yml index d17612dc6a..bc2b6da3dd 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -241,6 +241,7 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ErrorCode.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/encoding_methods.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/encoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/byteswap.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/decoding_methods.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/decoding_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/decoding_methods.inc" @@ -537,6 +538,7 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ErrorCode.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/encoding_methods.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/encoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/byteswap.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/decoding_methods.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/decoding_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/ir_stream/decoding_methods.inc" From 7948c73a6b4b230f4613ef61ee97a4f66e851e33 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 22:20:05 -0400 Subject: [PATCH 43/50] Add clp/streaming_compression/Compressor.hpp for macos. --- lint-tasks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lint-tasks.yml b/lint-tasks.yml index bc2b6da3dd..0d9f39fac7 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -484,6 +484,7 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/File.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Segment.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Segment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Compressor.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Constants.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Decompressor.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.cpp" From c2fe3c5eb5b01c9480ab787fbc917c32b9dadd49 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 22:28:32 -0400 Subject: [PATCH 44/50] Revert core-build-macos pull/push paths. --- .github/workflows/clp-core-build-macos.yaml | 25 ++++++++++++--------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 33e6a44aa7..a9cd63a646 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -5,26 +5,31 @@ on: paths: - ".github/workflows/clp-core-build-macos.yaml" - ".gitmodules" - - "components/core/**" + - "components/core/cmake/**" + - "components/core/CMakeLists.txt" + - "components/core/src/**" + - "components/core/tests/**" + - "components/core/tools/scripts/lib_install/macos/**" + - "components/core/tools/scripts/deps-download/**" + - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" - - "!components/core/tools/scripts/docker-images/*-centos-*/**" - - "!components/core/tools/scripts/docker-images/*-ubuntu-*/**" - - "!components/core/tools/scripts/lib_install/centos-*/**" - - "!components/core/tools/scripts/lib_install/ubuntu-*/**" push: paths: - ".github/workflows/clp-core-build-macos.yaml" - ".gitmodules" - - "components/core/**" + - "components/core/cmake/**" + - "components/core/CMakeLists.txt" + - "components/core/src/**" + - "components/core/tests/**" + - "components/core/tools/scripts/lib_install/macos/**" + - "components/core/tools/scripts/deps-download/**" + - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" - - "!components/core/tools/scripts/docker-images/*-centos-*/**" - - "!components/core/tools/scripts/docker-images/*-ubuntu-*/**" - - "!components/core/tools/scripts/lib_install/centos-*/**" - - "!components/core/tools/scripts/lib_install/ubuntu-*/**" + schedule: # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) - cron: "15 0 * * *" From 16b102c57084153dbbef3c284ee40b10607d5476 Mon Sep 17 00:00:00 2001 From: davidlion Date: Mon, 10 Mar 2025 22:39:14 -0400 Subject: [PATCH 45/50] Remove bonus space. --- .github/workflows/clp-core-build-macos.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index a9cd63a646..f6d87f7cef 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -29,7 +29,6 @@ on: - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" - schedule: # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) - cron: "15 0 * * *" From fc77fd5d3f322ad27cbfe11abe77f0f30a7f6d3a Mon Sep 17 00:00:00 2001 From: davidlion Date: Tue, 11 Mar 2025 21:42:59 -0400 Subject: [PATCH 46/50] Bump dev-utils. --- tools/yscope-dev-utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/yscope-dev-utils b/tools/yscope-dev-utils index 4580f2ab77..e6b3f0c917 160000 --- a/tools/yscope-dev-utils +++ b/tools/yscope-dev-utils @@ -1 +1 @@ -Subproject commit 4580f2ab77d014f9923efa221bdff7ecd9c6476d +Subproject commit e6b3f0c917867a49cfb712994e51e1a2b74ed561 From f1b0e89d8fcc701da76ceff21b57832b7d3b9f02 Mon Sep 17 00:00:00 2001 From: davidlion Date: Tue, 11 Mar 2025 23:06:56 -0400 Subject: [PATCH 47/50] Drop extra 0 on tidy version. --- lint-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint-requirements.txt b/lint-requirements.txt index 774cab289e..e8e014cd83 100644 --- a/lint-requirements.txt +++ b/lint-requirements.txt @@ -1,5 +1,5 @@ black>=24.4.2 clang-format>=20.1 -clang-tidy>=19.1.0 +clang-tidy>=19.1 ruff>=0.4.4 yamllint>=1.35.1 From 653ad79857897e46ec9a5dcf44815b2a42955a13 Mon Sep 17 00:00:00 2001 From: davidlion Date: Tue, 11 Mar 2025 23:07:15 -0400 Subject: [PATCH 48/50] Add FileDescriptorReader.cpp to exclude list for macos. --- lint-tasks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lint-tasks.yml b/lint-tasks.yml index 0d9f39fac7..205b46fa6d 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -272,6 +272,7 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileDescriptor.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileDescriptor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileDescriptorReader.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileReader.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileWriter.cpp" From c7df107567b197854d58fe07ca5406e83b2dd4ca Mon Sep 17 00:00:00 2001 From: davidlion Date: Wed, 12 Mar 2025 01:24:19 -0400 Subject: [PATCH 49/50] Fix exclude list alphabetization. --- lint-tasks.yml | 140 ++++++++++++++++++++++++------------------------- 1 file changed, 70 insertions(+), 70 deletions(-) diff --git a/lint-tasks.yml b/lint-tasks.yml index 205b46fa6d..e4a7dd888e 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -233,9 +233,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Defs.h" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryEntry.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryWriter.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/dictionary_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/dictionary_utils.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryWriter.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/EncodedVariableInterpreter.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/EncodedVariableInterpreter.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ErrorCode.hpp" @@ -249,8 +249,8 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/encoding_methods.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/encoding_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrErrorCode.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/protocol_constants.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Serializer.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Serializer.hpp" @@ -260,11 +260,11 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/ExactVariableToken.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/ExactVariableToken.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryMethodFailed.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryToken.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryWildcard.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryWildcard.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/Subquery.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/Subquery.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/WildcardToken.cpp" @@ -277,9 +277,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileWriter.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/FileWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMetadataDB.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMetadataDBConfig.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMetadataDBConfig.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMetadataDB.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMySQLMetadataDB.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalMySQLMetadataDB.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/GlobalSQLiteMetadataDB.cpp" @@ -288,9 +288,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Grep.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/hash_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/EncodedTextAst.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEvent.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEventDeserializer.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEventDeserializer.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEvent.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/LogEventSerializer.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/parsing.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ir/parsing.hpp" @@ -330,13 +330,67 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Query.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ReaderInterface.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ReaderInterface.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/archive_constants.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReaderAdaptor.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReaderAdaptor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/spdlog_with_specializations.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLiteDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLiteDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLitePreparedStatement.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLitePreparedStatement.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Stopwatch.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Stopwatch.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/ArchiveMetadata.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/ArchiveMetadata.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/Constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/MetadataDB.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/MetadataDB.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Archive.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Archive.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/File.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/File.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Message.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Message.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Segment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Segment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/SegmentManager.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/SegmentManager.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Archive.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Archive.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/File.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/File.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Segment.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Segment.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Compressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Constants.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/zstd/Decompressor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/zstd/Decompressor.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/string_utils/string_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/string_utils/string_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Thread.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Thread.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TimestampPattern.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TimestampPattern.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TraceableException.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/type_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryEntry.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryEntry.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryWriter.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/version.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/WriterInterface.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/WriterInterface.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReader.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReaderAdaptor.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReaderAdaptor.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveWriter.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/archive_constants.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/BufferViewReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/clp-s.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ColumnReader.cpp" @@ -377,11 +431,6 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/PackedStreamReader.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/PackedStreamReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ParsedMessage.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/spdlog_with_specializations.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLiteDB.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLiteDB.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLitePreparedStatement.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/SQLitePreparedStatement.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ReaderUtils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ReaderUtils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Schema.cpp" @@ -438,9 +487,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OrOfAndForm.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OrOfAndForm.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Output.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Output.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OutputHandler.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/OutputHandler.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Output.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Projection.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/Projection.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/search/SchemaMatch.cpp" @@ -461,41 +510,7 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampEntry.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampPattern.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TimestampPattern.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Stopwatch.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Stopwatch.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/TraceableException.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/ArchiveMetadata.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/ArchiveMetadata.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/Constants.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/MetadataDB.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/MetadataDB.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Archive.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Archive.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/File.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/File.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Message.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Message.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Segment.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/Segment.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/SegmentManager.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/reader/SegmentManager.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Archive.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Archive.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/File.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/File.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Segment.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_archive/writer/Segment.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Compressor.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Constants.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/Decompressor.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/zstd/Decompressor.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/zstd/Decompressor.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/string_utils/string_utils.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/string_utils/string_utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/Utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/VariableDecoder.cpp" @@ -506,21 +521,6 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ZstdCompressor.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ZstdDecompressor.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ZstdDecompressor.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Thread.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Thread.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TimestampPattern.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TimestampPattern.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TraceableException.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/type_utils.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Utils.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Utils.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryEntry.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryEntry.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryWriter.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/VariableDictionaryWriter.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/version.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/WriterInterface.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/WriterInterface.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ArrayBackedPosIntSet.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/BufferedFileReader.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/BufferedFileReader.hpp" @@ -532,9 +532,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Defs.h" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryEntry.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryReader.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryWriter.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/dictionary_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/dictionary_utils.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryWriter.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/EncodedVariableInterpreter.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/EncodedVariableInterpreter.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ErrorCode.hpp" @@ -552,11 +552,11 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/ExactVariableToken.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/ExactVariableToken.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryMethodFailed.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryToken.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryWildcard.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryWildcard.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/Subquery.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/Subquery.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/WildcardToken.cpp" @@ -565,9 +565,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/glt/FileReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/FileWriter.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/FileWriter.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMetadataDB.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMetadataDBConfig.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMetadataDBConfig.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMetadataDB.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMySQLMetadataDB.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalMySQLMetadataDB.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/GlobalSQLiteMetadataDB.cpp" @@ -592,9 +592,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/glt/glt/utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Grep.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Grep.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/LogEvent.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/LogEventDeserializer.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/LogEventDeserializer.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/LogEvent.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/parsing.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/parsing.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ir/utils.cpp" @@ -715,9 +715,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Operator.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Pipeline.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Pipeline.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Record.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordGroup.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordGroupIterator.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/Record.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordReceiverContext.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordReceiverContext.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/reducer/RecordTypedKeyIterator.hpp" From 51de6b3fce1ead41bfc21411286592233fdd4427 Mon Sep 17 00:00:00 2001 From: davidlion Date: Wed, 12 Mar 2025 02:11:37 -0400 Subject: [PATCH 50/50] Fix exclude list to be lexicographic case-insensitive sorted. --- lint-tasks.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lint-tasks.yml b/lint-tasks.yml index e4a7dd888e..eda82b95fe 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -231,11 +231,11 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/database_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/database_utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Defs.h" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/dictionary_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/dictionary_utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryEntry.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/DictionaryWriter.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/dictionary_utils.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/dictionary_utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/EncodedVariableInterpreter.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/EncodedVariableInterpreter.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ErrorCode.hpp" @@ -248,9 +248,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Deserializer.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/encoding_methods.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/encoding_methods.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrErrorCode.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/IrUnitHandlerInterface.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/ir_unit_deserialization_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/protocol_constants.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Serializer.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/ir_stream/Serializer.hpp" @@ -259,12 +259,12 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/CompositeWildcardToken.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/ExactVariableToken.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/ExactVariableToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryMethodFailed.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryToken.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryWildcard.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/QueryWildcard.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/query_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/Subquery.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/Subquery.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ffi/search/WildcardToken.cpp" @@ -316,9 +316,9 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLParamBindings.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLPreparedStatement.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/MySQLPreparedStatement.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/networking/SocketOperationFailed.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/networking/socket_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/networking/socket_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/networking/SocketOperationFailed.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/NetworkReader.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/PageAllocatedVector.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/ParsedMessage.cpp" @@ -365,10 +365,10 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/passthrough/Decompressor.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/zstd/Decompressor.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/streaming_compression/zstd/Decompressor.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/string_utils/string_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/string_utils/string_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp/StringReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Thread.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/Thread.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/TimestampPattern.cpp" @@ -384,13 +384,13 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/clp/version.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/WriterInterface.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp/WriterInterface.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/archive_constants.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReader.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReaderAdaptor.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveReaderAdaptor.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveWriter.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ArchiveWriter.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/archive_constants.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/BufferViewReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/clp-s.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/clp_s/ColumnReader.cpp" @@ -530,11 +530,11 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/glt/database_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/database_utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/Defs.h" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/dictionary_utils.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/dictionary_utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryEntry.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/DictionaryWriter.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/dictionary_utils.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/dictionary_utils.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/EncodedVariableInterpreter.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/EncodedVariableInterpreter.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ErrorCode.hpp" @@ -551,12 +551,12 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/CompositeWildcardToken.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/ExactVariableToken.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/ExactVariableToken.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryMethodFailed.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryToken.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryWildcard.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/QueryWildcard.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/query_methods.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/Subquery.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/Subquery.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/ffi/search/WildcardToken.cpp" @@ -682,10 +682,10 @@ tasks: - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/zstd/Constants.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/zstd/Decompressor.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/streaming_compression/zstd/Decompressor.hpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/StringReader.cpp" - - "{{.G_CORE_COMPONENT_DIR}}/src/glt/StringReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/string_utils/string_utils.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/string_utils/string_utils.hpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/StringReader.cpp" + - "{{.G_CORE_COMPONENT_DIR}}/src/glt/StringReader.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/TimestampPattern.cpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/TimestampPattern.hpp" - "{{.G_CORE_COMPONENT_DIR}}/src/glt/TraceableException.hpp"