Rename extensions directory to addons#2163
Conversation
|
WebPlatformForEmbedded/ThunderOnWindows#18 @sebaszm needs to be merged with |
There was a problem hiding this comment.
Pull request overview
This PR introduces a new Source/extras/ subtree (replacing the previous extensions include/build references) and updates build files to consume headers from extras instead of extensions. It also adds several “extras” components (process container backends, warning reporting, hibernate, privileged request example, and local tracer) with corresponding CMake/Visual Studio project integration.
Changes:
- Updated multiple Visual Studio projects and
Source/CMakeLists.txtto replaceextensionsinclude paths/subdirectory withextras. - Added
Source/extras/CMakeLists.txtand new extras components:hibernate,localtracer,privilegedrequest,processcontainers,warningreporting. - Updated Thunder runtime include to reference
extras/hibernate/hibernate.h.
Reviewed changes
Copilot reviewed 8 out of 69 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Source/ThunderPlugin/comprocess.vcxproj | Switch framework include path from extensions to extras. |
| Source/Thunder/PluginServer.cpp | Update hibernate include to ../extras/hibernate/hibernate.h. |
| Source/Thunder/bridge.vcxproj | Switch framework include path from extensions to extras. |
| Source/plugins/proxystubs.vcxproj | Switch framework include path from extensions to extras. |
| Source/plugins/plugins.vcxproj | Switch framework include path from extensions to extras. |
| Source/common/common.vcxproj | Switch framework include path from extensions to extras. |
| Source/com/com.vcxproj | Switch framework include path from extensions to extras. |
| Source/CMakeLists.txt | Replace add_subdirectory(extensions) with add_subdirectory(extras). |
| Source/extras/CMakeLists.txt | Add top-level extras feature toggles and subdirectories. |
| Source/extras/hibernate/hibernate.h | Add hibernate public API header under extras. |
| Source/extras/hibernate/common/Log.h | Add hibernate logging helper header. |
| Source/extras/hibernate/CMakeLists.txt | Add hibernate library build/install rules. |
| Source/extras/hibernate/checkpointserver/CheckpointServer.c | Add checkpoint-server based hibernate implementation. |
| Source/extras/hibernate/checkpointlib/CheckpointLib.c | Add checkpoint-lib based hibernate implementation skeleton. |
| Source/extras/localtracer/CMakeLists.txt | Add LocalTracer header-only library packaging and optional example. |
| Source/extras/localtracer/include/localtracer/localtracer.h | Add LocalTracer implementation header. |
| Source/extras/localtracer/example/CMakeLists.txt | Add LocalTracer example build/install rules. |
| Source/extras/localtracer/example/main.cpp | Add LocalTracer example application. |
| Source/extras/privilegedrequest/CMakeLists.txt | Add PrivilegedRequest header-only library packaging + example. |
| Source/extras/privilegedrequest/example/CMakeLists.txt | Add fdpassing example build/install rules. |
| Source/extras/privilegedrequest/example/main.cpp | Add fdpassing example application. |
| Source/extras/processcontainers/CMakeLists.txt | Add ProcessContainers shared lib with selectable backend implementations. |
| Source/extras/processcontainers/processcontainers.h | Add ProcessContainers public umbrella header. |
| Source/extras/processcontainers/Module.h | Add ProcessContainers module header. |
| Source/extras/processcontainers/Module.cpp | Add ProcessContainers module declaration TU. |
| Source/extras/processcontainers/Messaging.h | Add ProcessContainers tracing category definitions. |
| Source/extras/processcontainers/IProcessContainers.h | Add ProcessContainers interfaces (containers, producers, iterators). |
| Source/extras/processcontainers/ContainerProducer.h | Add producer registration helper. |
| Source/extras/processcontainers/ContainerAdministrator.h | Add runtime selection + container registry API. |
| Source/extras/processcontainers/ContainerAdministrator.cpp | Implement runtime initialization/selection and container creation. |
| Source/extras/processcontainers/common/BaseRefCount.h | Add ref-counted base for ProcessContainers helper interfaces. |
| Source/extras/processcontainers/common/BaseContainerIterator.h | Add container ID iterator implementation. |
| Source/extras/processcontainers/common/CGroupContainerInfo.h | Add cgroup-based Memory/CPU metrics helper implementation. |
| Source/extras/processcontainers/implementations/RunCImplementation/CMakeLists.txt | Add RunC backend build rules. |
| Source/extras/processcontainers/implementations/RunCImplementation/RunCImplementation.h | Add RunC backend API/impl declarations. |
| Source/extras/processcontainers/implementations/RunCImplementation/RunCImplementation.cpp | Add RunC backend implementation. |
| Source/extras/processcontainers/implementations/LXCImplementation/CMakeLists.txt | Add LXC backend build rules. |
| Source/extras/processcontainers/implementations/LXCImplementation/LXCImplementation.h | Add LXC backend API/impl declarations. |
| Source/extras/processcontainers/implementations/DobbyImplementation/CMakeLists.txt | Add Dobby backend build rules. |
| Source/extras/processcontainers/implementations/DobbyImplementation/DobbyImplementation.h | Add Dobby backend API/impl declarations. |
| Source/extras/processcontainers/implementations/DobbyImplementation/DobbyImplementation.cpp | Add Dobby backend implementation. |
| Source/extras/processcontainers/implementations/CRunImplementation/CMakeLists.txt | Add CRun backend build rules. |
| Source/extras/processcontainers/implementations/CRunImplementation/CRunImplementation.h | Add CRun backend API/impl declarations. |
| Source/extras/processcontainers/implementations/CRunImplementation/CRunImplementation.cpp | Add CRun backend implementation. |
| Source/extras/processcontainers/implementations/AWCImplementation/CMakeLists.txt | Add AWC backend build rules. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWC.h | Add AWC backend helper types. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWC.cpp | Implement AWC state-change notifier. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWCImplementation.h | Add direct AWC container implementation declaration. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWCImplementation.cpp | Add direct AWC container implementation. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWCContainerBase.h | Add AWC container base class declaration. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWCContainerBase.cpp | Add AWC container base class implementation. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWCProxyContainer.h | Add DBus proxy-based AWC container declaration. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWCProxyContainer.cpp | Add DBus proxy-based AWC container implementation. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWCContainerAdministrator.h | Add AWC container producer declaration and JSON config parser. |
| Source/extras/processcontainers/implementations/AWCImplementation/AWCContainerAdministrator.cpp | Add AWC producer implementation and backend selection logic. |
| Source/extras/processcontainers/implementations/AWCImplementation/dbus/api.xml | Add DBus interface definition for container control. |
| Source/extras/processcontainers/implementations/AWCImplementation/dbus/Client.h | Add DBus client wrapper declaration. |
| Source/extras/processcontainers/implementations/AWCImplementation/dbus/Client.cpp | Add DBus client wrapper implementation. |
| Source/extras/warningreporting/CMakeLists.txt | Add WarningReporting library build/install rules. |
| Source/extras/warningreporting/Module.h | Add WarningReporting module header. |
| Source/extras/warningreporting/Module.cpp | Add WarningReporting module declaration TU. |
| Source/extras/warningreporting/warningreporting.h | Add WarningReporting public umbrella header. |
| Source/extras/warningreporting/IWarningReportingMedia.h | Add WarningReporting media output interface. |
| Source/extras/warningreporting/WarningReportingUnit.h | Add WarningReportingUnit declaration and JSON helpers. |
| Source/extras/warningreporting/WarningReportingUnit.cpp | Add WarningReportingUnit implementation. |
| Source/extras/warningreporting/warningreporting.vcxproj | Add/adjust VS project for WarningReporting. |
| Source/extras/warningreporting/warningreporting.vcxproj.filters | Add VS filters file for WarningReporting. |
…to renameThunderExtensions
|
Hi @nxtum : Appreciate that this is existing code, but please will you modify NOTICE at top level, where it says: |
Hello, I have edited the file as requested |
|
…to renameThunderExtensions
|
b'## WARNING: A Blackduck scan failure has been waived A prior failure has been upvoted
|
sebaszm
left a comment
There was a problem hiding this comment.
Watch out for the new real extensions paths!
No description provided.