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

Handle versioning of primary datasets #382

Open
shirey opened this issue Jul 22, 2022 · 0 comments
Open

Handle versioning of primary datasets #382

shirey opened this issue Jul 22, 2022 · 0 comments
Labels
P Pitt dev team

Comments

@shirey
Copy link
Member

shirey commented Jul 22, 2022

Currently datasets, on POST/create, can specify a previous_revision_uuid which creates a REVISION_OF relationship in Neo4j to an older version of a dataset. We have only ever done this for processed/derived (has another dataset as a parent) dataset. We need to start doing this for primary datasets too (has a Sample as a parent). To this end we need to make sure that:

  • we aren't constraining this feature to derived datasets at POST time
  • any query that returns "provenance information" will handle these correctly
  • the next_revision_uuid and previous_revision_uuid fields are generated correctly on a GET call
@shirey shirey added the P Pitt dev team label Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P Pitt dev team
Projects
Status: Ready
Development

No branches or pull requests

1 participant