-
Notifications
You must be signed in to change notification settings - Fork 49
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
add submission schema and tools to generate it (New) #770
Conversation
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.
I'd prefer dropping the genson
instructions and build script dependent on it, since I'd prefer we relied on quicktype which is a very commonly used tool for the purpose (that it's slower just makes me think it does something more thoroughly 🙂 ).
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.
Lets keep one way to do this: quicktype.
How was the schema.json file generated in this PR? Did we use genson or quicktype? If we used genson please double check that the result is the same. Also, the build_schema.py
script should be updated to reflect this tool change (if we still need it)
I'll rerun the checks with submissions I used. |
The one in the PR is the genson one. |
Schema replaced, genson instructions dropped. Please review ASAP. |
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.
Few changes to get this landed
Use node from nodesource, introduce a package.json + a lock.
8c710fd
to
024f359
Compare
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.
+1, tyvm
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.
Description
This PR introduces the schema of submission.json that's uploaded to C3 from Checkbox.
Alongside there's an instruction on how to generate that.
Resolved issues
Resolves: https://warthogs.atlassian.net/browse/CHECKBOX-927