Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zpc: Deduplicate cmock #60

Open
rzr opened this issue Mar 6, 2025 · 0 comments
Open

zpc: Deduplicate cmock #60

rzr opened this issue Mar 6, 2025 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@rzr
Copy link
Collaborator

rzr commented Mar 6, 2025

It is used in various locations, we need to find a strategy to use only one

Relate-to: #47

rzr added a commit that referenced this issue Mar 6, 2025
)

Observed issue on ver_1.7.0-27-g1302b2a5 was:

    docker build https://github.com/SiliconLabsSoftware/z-wave-protocol-controller.git#main
    unable to prepare context: unable to 'git clone' to temporary context directory: \
      error initializing submodules: fatal: No url found for submodule path \
        'applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock' in .gitmodules

This was done using:

    git submodule add --force \
      https://github.com/throwtheswitch/cmock \
      applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock

     git -C applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock \
        checkout v2.5.3-g9d092898

Relate-to: #57 (comment)
Relate-to: #50
Origin: #59
Relate-to: #60
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
@rzr rzr added the help wanted Extra attention is needed label Mar 6, 2025
@rzr rzr changed the title Deduplicate cmock zpc: Deduplicate cmock Mar 6, 2025
rzr added a commit to rzr/z-wave-protocol-controller that referenced this issue Mar 6, 2025
…iliconLabsSoftware#59)

Observed issue on ver_1.7.0-27-g1302b2a5 was:

    docker build https://github.com/SiliconLabsSoftware/z-wave-protocol-controller.git#main
    unable to prepare context: unable to 'git clone' to temporary context directory: \
      error initializing submodules: fatal: No url found for submodule path \
        'applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock' in .gitmodules

This was done using:

    git submodule add --force \
      https://github.com/throwtheswitch/cmock \
      applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock

     git -C applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock \
        checkout v2.5.3-g9d092898

Relate-to: SiliconLabsSoftware#57 (comment)
Relate-to: SiliconLabsSoftware#50
Origin: SiliconLabsSoftware#59
Relate-to: SiliconLabsSoftware#60
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr added a commit that referenced this issue Mar 6, 2025
)

Observed issue on ver_1.7.0-27-g1302b2a5 was:

    docker build https://github.com/SiliconLabsSoftware/z-wave-protocol-controller.git#main
    unable to prepare context: unable to 'git clone' to temporary context directory: \
      error initializing submodules: fatal: No url found for submodule path \
        'applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock' in .gitmodules

This was done using:

    git submodule add --force \
      https://github.com/throwtheswitch/cmock \
      applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock

     git -C applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/cmock \
        checkout v2.5.3-g9d092898

Relate-to: #57 (comment)
Relate-to: #50
Origin: #59
Relate-to: #60
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
@rzr rzr mentioned this issue Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant