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

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new da71180311 Ignore the ext extensions from git (#12833)
da71180311 is described below

commit da71180311417dea5f4770bb8c6dbf5306980657
Author: Leif Hedstrom <[email protected]>
AuthorDate: Wed Jan 28 15:45:52 2026 -0800

    Ignore the ext extensions from git (#12833)
---
 .gitignore    |  7 ++++++-
 ext/README.md | 37 +++++++++++++++++++++++--------------
 2 files changed, 29 insertions(+), 15 deletions(-)

diff --git a/.gitignore b/.gitignore
index ed61211595..7ac3b3b8eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -212,5 +212,10 @@ src/iocore/cache/unit_tests/var/trafficserver/cache.db
 
 # LLM / AI
 .cursor/
-.claude/*
+.claude/
 !.claude/CLAUDE.md
+
+# Extensions
+ext/
+!ext/CMakeLists.txt
+!ext/README.md
diff --git a/ext/README.md b/ext/README.md
index 3653291c2b..244ecc8298 100644
--- a/ext/README.md
+++ b/ext/README.md
@@ -5,25 +5,34 @@ Placing directories in this directoy will automatically 
include them in the buil
 want to include additional plugins or cripts bundles in your build, you can do 
so using this
 mechanism.
 
-Below is an example CMakeFiles.txt to include an additional cripts bundle for 
your cripts to use.
+Below is an example CMakeLists.txt to include an additional Cripts modules and
+bundles for your Cripts to use. This would go into a `ext/cripts` subdirectory.
 
 ```
-# Include additional source files with the feature implementation
 cripts_sources(
-  ${CMAKE_CURRENT_SOURCE_DIR}/src/MyBundle/Feature1.cc
-  ${CMAKE_CURRENT_SOURCE_DIR}/src/MyBundle/Feature2.cc
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/Company/Module1.cc
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/Company/Module2.cc
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/CompanyBundles/Bundle1.cc
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/CompanyBundles/Bundle2.cc
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/CompanyBundles/YamlBundle.cc
 )
-# Add the local include directories
-cripts_include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include>)
-# Its even possible to link additional libraries should your bundle need
-cripts_link_libraries(yaml-cpp::yaml-cpp)
 
-# finally, install the additional bundle headers that your cripts
-# can include to access the new features.
-cripts_install_bundle_headers(MyBundle
-  ${CMAKE_CURRENT_SOURCE_DIR}/include/cripts/MyBundle/Feature1.hpp
-  ${CMAKE_CURRENT_SOURCE_DIR}/include/cripts/MyBundle/Feature1.hpp
+cripts_include_directories(
+  ${CMAKE_CURRENT_SOURCE_DIR}/include
 )
-```
 
+# Only because the YamlBundle needs YAML-CPP
+cripts_link_libraries(yaml-cpp::yaml-cpp)
 
+cripts_install_bundle_headers(Company
+  ${CMAKE_CURRENT_SOURCE_DIR}/include/cripts/Company/Module1.hpp
+  ${CMAKE_CURRENT_SOURCE_DIR}/include/cripts/Company/Module2.hpp
+  ${CMAKE_CURRENT_SOURCE_DIR}/include/cripts/Company/Module3.h
+)
+
+cripts_install_bundle_headers(CompanyBundles
+  ${CMAKE_CURRENT_SOURCE_DIR}/include/cripts/CompanyBundles/Bundle1.hpp
+  ${CMAKE_CURRENT_SOURCE_DIR}/include/cripts/CompanyBundles/Bundle2.hpp
+  ${CMAKE_CURRENT_SOURCE_DIR}/include/cripts/CompanyBundles/YamlBundle.hpp
+)
+```

Reply via email to