-
Notifications
You must be signed in to change notification settings - Fork 9
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
Check common.licenseInformation, common.tier, common.automaticUpgrade #157
Conversation
klein0r
commented
Feb 20, 2024
- Added check for licenseInformation
- Added check for required attribute common.tier
- Added check for required attribute common.automaticUpgrade
Line 2021 ( Line 2021 in d24e78d
seems to be corrupt:
Repo Checker MIUST not check anything not yet provided by adapter creator - at least not at level ERROR. |
Additional question: |
Just in the schema - so your IDE should help you to remove those warnings:
Okay, but those attributes (like |
licenseInformation is already included in create-adapter: ioBroker/create-adapter#1092 |
mybwe lets use warnings for now? in fact repo is built in a backward compatible way |
I've just updated the existing error message for the new attribute (which was also an error): Lines 874 to 876 in e81d359
|
What about [common.automaticUpgrade] ? |
tier defaults to
See PR. It's a js-controller 5.1 feature and just validated. There is no error or warning if nothing is defined. |
@klein0r We discussed today in Dev Meeting: automaticUpgrade should be validated as "not included" from developer side. This field is just set by the User via Admin ... So yes it is formally part of the schema, but irrelevant for the developer. Default tier schould be 2 in my eyes |