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

Updating attribute and command queries to use packageIds such that custom extensions for standard clusters are handled appropriately #717

Merged

Conversation

brdandu
Copy link
Collaborator

@brdandu brdandu commented Sep 9, 2022

  • When a cluster extension is added to standard clusters in the form of attributes or commands through custom xml then there is a need to account for packageIds
  • For eg if a user adds a custom xml for the above use case and removes it the generation continues to generate for the added custom xml since it is not checking for removed packages.
  • Github: ZAP#698

Copy link
Collaborator

@tecimovic tecimovic left a comment

Choose a reason for hiding this comment

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

Generally, looks ok. If you ran regeneration, and you see nothing weird happens after you regen, I am ok with this.

…stom extensions for standard clusters are handled appropriately

- When a cluster extension is added to standard clusters in the form of attributes or commands through custom xml then there is a need to account for packageIds
- For eg if a user adds a custom xml for the above use case and removes it the generation continues to generate for the added custom xml since it is not checking for removed packages.
- Github: ZAP#698
@brdandu brdandu force-pushed the bug/packageIdsForCustomXml/ZAP#698 branch from 3a5fc3d to 61aff8a Compare September 13, 2022 12:59
@brdandu
Copy link
Collaborator Author

brdandu commented Sep 13, 2022

Generally, looks ok. If you ran regeneration, and you see nothing weird happens after you regen, I am ok with this.

Yeah I created a chip repo branch and tested it with these changes. It passed the CI process in the following draft PR.
project-chip/connectedhomeip#22515

@brdandu brdandu merged commit 4043c97 into project-chip:master Sep 13, 2022
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.

Helpers not accounting for packageIds run into issues with cluster Extensions(custom xml)
2 participants