Skip to content

Define a flow for patching UnifyCore #154

@rzr

Description

@rzr

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions