GEOS-DEV / GEOS-DEV/GEOS

XSD Schema versioning

Open
#2,971 8 comments 0 reactions 1 assignee View on GitHub

@untereiner is already working on this.

Since Feb 1, 2024.

type: feature type: new
Dominant language
C++
Stars
287
Forks
109
Avg merge
4d 41m
Merged PRs (30d)
5

Description

What is the requested feature?
Add versioning to the XSD schema.
There are few ways to do it (summary), more or less standard.
So I would like to open the discussion.

I put aside the result of the simulation as out of scope.
I only want to be sure that the objects and their parameters are valid to start a simulation.

Is your request related to a specific problem?
I want to identify a revision of GEOS' code corresponding to the xsd schema I have used to validate a deck
My point is: given a deck and the xsd schema validating it, I should be able to retrieve the code that runs this simulation to compile it and run it again.
I am also wondering:

  • Should the deck be sufficient ?
  • Should the xsd allow evolving: if v0 of the schema validates my deck and v0 is a valid subset of v10 of the schema, should I be able to start the simulation only by schema validation ?

Describe the solution you'd like
I am open to discussions. Each solution has its pros and cons.

Describe alternatives you've considered
save the commit hash somewhere (?)

Additional context
n.a.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.