-
Notifications
You must be signed in to change notification settings - Fork 12
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 for common.licenseInformation #593
Conversation
Like this @foxriver76 ? |
LGTM, but will of course fail if new attribute not provided, but if someone touches adapter should not hurt. Question is if this is used by RepoChecker, then it would be annoying, because not urgent @mcm1957 do you know details? |
Like the schema check for io-package in my IDE 😄 |
@AlCalzone The check MUST NOT fail if new attribute is missing. Otherwise every dependabot PR will fail for older adapters. @Apollon77 |
This test is used at GITHUB actions only. Repochecker is completly independent. |
In that case the schema should also be valid if one of the attributes is configured. At the moment Now all tests of all my adapters fail and I provided this PR which matches the schema of io-package (removed a deprecated attribute and check for the required attribute)... |
In my opinion the schema is the leading instance here and all other processes (create-adapter, repochecker, testing, ...) have to follow that definition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would break tests for all existing adapters - unlike the schema check in VSCode, which you can choose to ignore.
Until license
is removed from js-controller
or admin, we should enforce that at least one of license
or licenseInformation
exists.
create-adapter
can be stricter, since it is used for new adapters.
IMO the repo-checker should only warn for now and guide devs to migrating from license
to licenseInformation
.
Ok then I'll wait for the official solution |
Happy to merge your PR if you modify it :) |
common.licenseInformation
instead of `common.license #592