This is an automated email from the ASF dual-hosted git repository.

fgerlits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 92fb88dca MINIFICPP-2638 Fix package source and gitignore lists
92fb88dca is described below

commit 92fb88dca9aaff75b5c6795d25d6e437649c1c77
Author: Gabor Gyimesi <[email protected]>
AuthorDate: Fri Sep 26 09:27:04 2025 +0200

    MINIFICPP-2638 Fix package source and gitignore lists
    
    - Remove build_description.cpp from package source ignore list
    - Add asset test generated files to ignore list
    - Add CMakePresets.json and CMakeUserPresets.json to ignore list
    
    Signed-off-by: Ferenc Gerlits <[email protected]>
    
    Closes #2037
---
 .gitignore     | 5 +++++
 CMakeLists.txt | 6 +++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 83a5b56ab..581718a29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -56,6 +56,9 @@ thirdparty/**/*.o
 thirdparty/**/*.a
 libminifi/test/**/*.a
 libminifi/test/corecomponentstate/
+libminifi/test/asset/
+libminifi/test/conf/
+extensions/standard-processors/tests/conf/
 docs/generated
 /compile_commands.json
 __pycache__/
@@ -80,6 +83,8 @@ docker/behavex_output
 /.vscode
 .ccache
 *profraw
+CMakePresets.json
+CMakeUserPresets.json
 
 # generated files from WEL test
 extensions/windows-event-log/tests/custom-provider/unit-test-provider.cs
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d36e94dd..5cf1c4e5f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -570,7 +570,6 @@ endif(WIN32)
 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${ASSEMBLY_BASE_NAME}-source")
 set(CPACK_SOURCE_IGNORE_FILES
     "/.*build.*/"
-    "/build_description\\\\.cpp"
     "~"
     "\\\\.git/"
     "\\\\.idea"
@@ -609,6 +608,11 @@ set(CPACK_SOURCE_IGNORE_FILES
     "bootstrap/option_state\\\\.json"
     "docker/test-env-py3"
     "\\\\.ropeproject"
+    "CMakePresets\\\\.json"
+    "CMakeUserPresets\\\\.json"
+    "extensions/standard-processors/tests/conf/"
+    "libminifi/test/asset/"
+    "libminifi/test/conf/"
 )
 
 add_subdirectory(conf)

Reply via email to