Skip to content

Restore missing history #327

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

Merged
merged 328 commits into from
Aug 21, 2017
Merged

Restore missing history #327

merged 328 commits into from
Aug 21, 2017

Conversation

adamvoss
Copy link
Contributor

@adamvoss adamvoss commented Jun 6, 2017

This PR makes not changes and requires no changes to process going forward, but it brings over all of the relevant commits from https://github.com/json-schema/json-schema. As a result, anyone trying to connect history between the repositories can, it far easier for anyone looking for the historical sources to be able to find them, historical contributors attribution is restored, and there is redundancy in case IETF were to stop hosting expired drafts or otherwise be unavailable.

I think I made good decisions on how to merge things in history, but of course there were decisions to be made meaning other ways this could have been done.

Notable decisions include:

  • I added new commits for the drafts 0 to 2 files that did not exist in either repository

  • I added new commits, merging from the appropriate place in history, that organize the historical version in the structure of the current repository for easy comparison.

  • I made an effort to allow linearizing of history if desired using git replace. Specifically,

    git replace 314b5c3040c5af13f838165189df3e0585b35a26 a14190b51fdfbc6a2d66a29e86185cb183b5363e
    git replace 314b5c3040c5af13f838165189df3e0585b35a26 d94d409627bcc5b0bd0b33eaec49bce78398e7d3

    would accurately join the disparate branches at the proper places in historical. (This does not include the commits I added that organize the old drafts, those only exist via merging). Once the commits hashes are known, one could then add an addition replace to hide this merge, if desired. (Note: if the ability to hide these merges is desired, best results would come from creating an empty commit on master before and after this merge.)

Relevant issue #205

fge and others added 30 commits July 11, 2012 19:52
* Get rid of the "color" and "style" format attributes.
* Specify the different instance types which can be validated by attributes.
* Specify that if an instance is not of a type which the format attribute can
  validate, the validation MUST succeed.
* "regex" is an ECMA 262 regular expression, remove "/perl5" since these
  dialects are not compatible (perl5 supports lookbehinds, ECMA 262 doesn't).
* Remove paragraph allowing other format attributes to be specified.
- Use a common addError in checkObj.
- Print out schema and value if given.
Keywords are split into three types:

* keywords validating only a certain type of instances;
* keywords validating all instance types;
* keywords not participating in instance validation.
- avoid "undefined" when top level is an array.
- replace '.' in properties with '\.'.
- Use a common addError in checkObj.
- Print out schema and value if given.
Now that the "integer" type is being reintroduced, we can redefine "type" as it
was in draft v3.
* Get rid of the "color" and "style" format attributes.
* Specify the different instance types which can be validated by attributes.
* Specify that if an instance is not of a type which the format attribute can
  validate, the validation MUST succeed.
* "regex" is an ECMA 262 regular expression, remove "/perl5" since these
  dialects are not compatible (perl5 supports lookbehinds, ECMA 262 doesn't).
* Remove paragraph allowing other format attributes to be specified.
Keywords are split into three types:

* keywords validating only a certain type of instances;
* keywords validating all instance types;
* keywords not participating in instance validation.
Shortlog as follows:

Camilo Aguilar (1):
      Fixes error message

Dave Longley (6):
      Add support for uniqueItems.
      Fix inverted comparison.
      Add missing schema and value to type error.
      Add support for uniqueItems.
      Fix inverted comparison.
      Add missing schema and value to type error.

David I. Lehn (6):
      Fix property path handling.
      Add value and schema to errors.
      Add more verbose handling.
      Fix property path handling.
      Add value and schema to errors.
      Add more verbose handling.

Enrico Marino (1):
      Replaced "maxDecimal" attribute with "divisibleBy" attribute

Francis Galiegue (5):
      draft-04/schema: modify the "type" property definition
      draft-04/schema: cosmetic: fix whitespaces
      draft-04/schema: catch up with "divisibleBy" rename
      Re-introduce "format" keyword, with some differences
      Separate core schema keywords into different sections

Gary Court (1):
      * Restored "integer" type.     * Renamed "divisibleBy" to "mod".

Kris Zyp (2):
      Better wording of items and their array indices
      bump version

Stacia Hartleben (1):
      Replaced obsolete optional with required     fixed package.json

nickl- (5):
      Merge branch 'master' of https://github.com/digitalbazaar/json-schema
      Merge branch 'master' of https://github.com/fge/json-schema
      Merge branch 'master' of https://github.com/c4milo/json-schema
      Merge branch 'master' of https://github.com/onirame/json-schema
      Merge branch 'master' of https://github.com/stacia/json-schema
Modified Readme introduction to new collaborated effort.
I think a CNAME file is needed for json-schema.org to point to this pages setup.
* Tabs are 4 in length, expanded to spaces.
* 100 chars maximum per line.
Both "disallow" and "type", when arrays, must have at least one element.

Unify style in the document:

* spaces, not tabs;
* tabs are 4 characters;
* no space between an object member and a semicolon;
* spaces after the opening bracket/before the closing bracket;
* spaces after the opening accolade/before the closing accolade.
@handrews
Copy link
Contributor

This seems fantastic to me! I'm a bit hesitant to unilaterally accept it: @awwright and/or @Relequestual what do you think? I don't see a downside here, and having a full history is definitely a good thing.

@handrews handrews merged commit beecae5 into json-schema-org:master Aug 21, 2017
@handrews
Copy link
Contributor

Thanks, @epoberezkin, two reviews and I say let's merge (and hopefully no one objects b/c I already did it :-)

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.