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

Versioning data format #106

Closed
alecandido opened this issue Mar 17, 2022 · 2 comments
Closed

Versioning data format #106

alecandido opened this issue Mar 17, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request output Output format and management
Milestone

Comments

@alecandido
Copy link
Member

Since:

we should definitely start to assign versions to it (see NNPDF/pineappl#118).

Versions should be:

  • written in all the files
  • be easy to query (as easy as possible)
  • not overwritten by a library that generates new ones (even if it's able to read them)

Ideally, instead of reading old versions with a new version of the library (that might generate incompatibilities, or severely limit upgrades), the form of backward compatibility should be to allow the new library to convert an old format to the new one, but refuse direct reading of an old format (that might have undefined behavior in general).

@alecandido alecandido self-assigned this Apr 8, 2022
@alecandido alecandido added the enhancement New feature or request label Apr 8, 2022
@alecandido alecandido modified the milestones: 1., 1.0 May 21, 2022
@alecandido alecandido added the output Output format and management label Jul 20, 2022
@alecandido
Copy link
Member Author

Partly addressed by #172.

It has not been completed yet. However, a new version of this issue has been spelled out in #175, adding relevant details about the version behavior. Should we close this as superseded? @felixhekhorn

@felixhekhorn
Copy link
Contributor

Agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request output Output format and management
Projects
None yet
Development

No branches or pull requests

2 participants