-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Since z-p-c was separated from UnifySDK-1.6, further effort should be done for cross project developments.
zpc-1.7 is adding UnifySDK-1.7 as a dependency, but may need to be patched or zpc features (a re-architecture maybe be desired to isolate generic features).
The current patches are stacked in this branch:
https://github.com/SiliconLabs/UnifySDK/tree/z-wave/core/zpc/main
On each Unify feature addition, some files should be re-generated and committed:
git clone https://github.com/SiliconLabs/UnifySDK/ -b z-wave/core/zpc/main
rm -rf build ; cmake_options=-DZAP_GENERATE=ON ./helper.mk
git commit -sam 'feat(zap): Regen zap files for feature F"
Then a series of patch can be generated using this command:
git -C UnifySDK rebase -i ver_1.7.0 # To make sure the branch is on the right base used for export
git -C UnifySDK format-patch --no-numbered -o z-wave-protocol-controller/patches/UnifySDK/ ver_1.7.0
git -C z-wave-protocol-controller -sam "p/Unify: Add patches for feature F"
To not loose trace of the flow, I keep trace of alignment in fork:
- https://github.com/SiliconLabsSoftware/z-wave-protocol-controller/tree/ver_1.7.1/patches/UnifySDK
- https://github.com/rzr/UnifySDK/releases/tag/ver_1.7.0.1
Further patches should stack on:
When patches are merged in zpc, then make sure to also push them UnifySDK , for the next serie.
This maintenance mode is not sustainable, and alternative would be use UnifySDK branch and to avoid floating code, tag it with a zpc scheme, or resume UnifySDK development in main branch.
Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/6