Skip to content

DO NOT MERGE: mistakenly ask for new schema for an improperly-converted JSON file#1073

Closed
petertseng wants to merge 4 commits intoexercism:masterfrom
petertseng:ci-new-schema-breakit
Closed

DO NOT MERGE: mistakenly ask for new schema for an improperly-converted JSON file#1073
petertseng wants to merge 4 commits intoexercism:masterfrom
petertseng:ci-new-schema-breakit

Conversation

@petertseng
Copy link
Copy Markdown
Member

If #1072 was done correctly, this must fail.

@petertseng
Copy link
Copy Markdown
Member Author

Hooray, it failed.

Derived from the list of invalid exercises listed in:
#998 (comment)
@petertseng petertseng reopened this Jan 5, 2018
@petertseng petertseng closed this Jan 5, 2018
@petertseng petertseng reopened this Jan 5, 2018
This schema was proposed and accepted in
#996
If it is present, use the old schema, else use the new schema.

This plan is proposed in:
#998

Its merits are that it allows us to:

* Track progress by simply counting number of USE_OLD_SCHEMA file.
* Verify, as each PR is made, that each JSON file intending to use new
  schema does in fact validate.
  * Otherwise we have to manually run a schema check at periodic
    intervals.
* Keep compatibility with old schema, to support moving over one file at
  a time instead of all at once.

Note that old-schema.json is the same canonical-schema.json as is
currently on master.

The intention is that when all exercises use the new schema, **this
commit can/should be reverted** and then all exercises will in fact use
the new schema, which will replace the old completely.
USE_OLD_SCHEMA file removed, BUT not properly converted to new schema.
@petertseng petertseng closed this Jan 5, 2018
@petertseng petertseng deleted the ci-new-schema-breakit branch January 15, 2018 22:20
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

Successfully merging this pull request may close these issues.

1 participant