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

Update the top level template json file based on ZCL extensions #1475

Conversation

brdandu
Copy link
Collaborator

@brdandu brdandu commented Oct 28, 2024

  • Add the zcl extension files to part of its crc check.
  • If the crc changes based on the inclusion of extensions then reload the top level template json file and turn its IN_SYNC to true and turn the old on to false
  • These changes make sure that when a zcl extension file (eg json files in zcl section such as cluster-to-component.json) is updated then everything from the top level json files are loaded again
  • JIRA: ZAPP-1092

Copy link
Collaborator

@paulr34 paulr34 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

src-electron/util/env.js Outdated Show resolved Hide resolved
@brdandu brdandu force-pushed the bug/updateTopLevelTemplatePackageBasedOnZCLExtensionChanges/ZAPP-1092 branch from 9b46e0c to c1b487b Compare October 29, 2024 18:32
- Add the zcl extension files to part of its crc check.
- If the crc changes based on the inclusion of extensions then reload the top level template json file and turn its IN_SYNC to true and turn the old on to false
- These changes make sure that when a zcl extension file (eg json files in zcl section such as cluster-to-component.json) is updated then everything from the top level json files are loaded again
- Add tests to make sure top level template json file is reloaded when the zcl extension file is modified

- JIRA: ZAPP-1092
@brdandu brdandu force-pushed the bug/updateTopLevelTemplatePackageBasedOnZCLExtensionChanges/ZAPP-1092 branch from c1b487b to f175c63 Compare October 29, 2024 18:33
@brdandu
Copy link
Collaborator Author

brdandu commented Oct 29, 2024

Unify CI failure is a known failure and is being looked into. Will be disabled for the short term.

@brdandu brdandu merged commit ecf3659 into project-chip:master Oct 29, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants