openhab-core
openhab-core copied to clipboard
Introduce metadata for all add-ons
Closes #2058 Depends on #2994
- [x] Adjust add-ons in openhab-addons (https://github.com/openhab/openhab-addons/pull/13289)
- [x] Adjust zwave binding (https://github.com/openhab/org.openhab.binding.zwave/pull/1798)
- [ ] Adjust zigbee binding
- [x] Adjust add-ons on openhab-webui (https://github.com/openhab/openhab-webui/pull/1468)
- [x] Adjust Developer documentation (https://github.com/openhab/openhab-docs/pull/1872)
- [x] Adjust add-on template
This removes the binding.xml and replaces it with an addon.xml which allows to provide metadata for all add-ons. Also contains necessary changes in other components.
I don’t see a PR for updating the developer documentation / binding template etc. Am I overlooking something? I hope so.
The i18n-plugin also needs to be updated as it reads Binding XML info for generating translations. It will probably still compile locally because its bundle dependency still exists in your local and the OH snapshot repo.
The i18n-maven-plugin changes are already part of this PR.
What is the next step for this PR? Perhaps now would be a good time to get it finished so we have a full release cycle for testing, assuming it would make it into the first 4.0 milestone.
Before asking @J-N-K to resolve merge conflicts (also in related PR's) and preparing a PR for the Zigbee binding, perhaps a @openhab/core-maintainers could have a look and write some kind of statement about "conditional approval", so that Jan won't have to resolve conflicts and rebase too many times? @kaikreuzer - it seems this was suggested by you in #2058, so perhaps you could have a look and comment? 🙂
Good point @jlaur! Yes, I'll have a look at it the next days (latest by the end of the week). Thanks @J-N-K for rebasing it already.
Adjust zigbee binding
I assume it'll be pretty quick and straight forward to address this as well as soon as this PR here is merged, right?
Yes, a second zwave and zigbee PR are easy, as I said in webui: for openhab-addons I need a short time.
Could you please fix the project name in the 2 moved .project files? (I know, you are not using Eclipse, but for those who do this is important. 😄 )
Done
Thanks, I also prepared the missing PR for zwave and zigged (which are quite straight-forward) and updated the PR in openhab-addons (which is also mostly copying and addition of the new add-ons like persistence). What is missing is a proper review of the webui-PR regarding the changes in MainUI.
I think it's fine now, I removed some leftovers in addons, otherwise I would say: Go! If something comes up I can fix it on short notice.
Excellent, then let us go for it!
@kaikreuzer Can you upload the XSD so it is available for validation? I'll prepare a PR to change the static analysis.
It is all in git. :-) XSD uploaded here: https://github.com/openhab/website/pull/387