Informatievlaanderen / OSLO-SpecificationGenerator

Generates HTML specification pages based on RDF vocabularies.
1 stars 7 forks source link

JSON-LD context order not deterministic #11

Closed DieterDePaepe closed 6 years ago

DieterDePaepe commented 6 years ago

The order in which the JSON-LD context elements are listed does not seem deterministic. This causes updates of the vocabulary to have unnecessary differences, making it harder to audit the actual differences between versions.

EmidioStani commented 6 years ago

Can the classes and properties be ordered alphabetically ? At least as human to check if a class/property is in.

bertvannuffelen commented 6 years ago

What ever is chosen, make it so that a git diff is meaningfull. Otherwise it is much harder to assess. So a human friendly order is not the objective for me, but a machine friendly that leads to stable diffs.

jensscheerlinck commented 6 years ago

Updated script to sort terms alphabetically in commit, see commit.