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

Acceptance Criteria #2

Open
16 tasks
jimmykodes opened this issue Apr 23, 2019 · 0 comments
Open
16 tasks

Acceptance Criteria #2

jimmykodes opened this issue Apr 23, 2019 · 0 comments

Comments

@jimmykodes
Copy link
Contributor

jimmykodes commented Apr 23, 2019

Bundle Validation

  • validates a single yaml file according to schema
    • prints out fields that do not match schema
    • correctly verifies there are not duplicate indexes
    • validates UUID keys
      • warns that if keys are supplied, all other fields will be ignored and the task with the provided key will be used instead.
    • works when a directory is the file path end point
    • works when .zip file is file path end point

Bundle comparison

  • validates bundles before comparing
  • alerts that un-zipped programs that are zipped by the uploader cannot be compared to their zipped counterpart in dumps
  • validates zip program files are the same using hashes.
  • ignores default values if they are present in one yaml file and not the other.
    • alerts if value on field that has a default is not the default value but has not been declared on the other file at all.
  • Prints differences by telling where the difference is located (i.e. phase w/ index:0, task w/ index:1, etc.) and what the differences are, (Dir 1 = some value, Dir 2 = something different)
  • Prints in an easily readable format.
  • maps indexes 0-n from whatever other ordered schema that was present
    • displays differences using old indexes, not new ones
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

No branches or pull requests

1 participant