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

AEP: Push and pull mechanism to easily share parts of provenance graphs #31

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrisjsewell
Copy link
Member

Empty at the moment!
But I will write up the notes from our discussion here, then start to flesh it out

  • Used AEP template from AEP 0
  • Status is submitted
  • Added type & status labels to PR
  • Added AEP to README.md
  • Provided github handles for authors

Empty at the moment!
But I will write up the notes from our discussion here, then start to flesh it out
@chrisjsewell
Copy link
Member Author

Some initial notes:

Archive Push-Pull Mechanism

Introduction

AiiDA provides an archiving feature, for exporting/importing provenance graphs to a self-contained file. With AiiDA 2.0, the archive format and export/import API has been re-designed, allowing for the possibility of incremental updates to an archive and selective imports. This now opens the door for a push/pull feature, whereby collaborators could share a central "provenance repository", push/pulling delta differences in much the same way as collaborators use GitHub remotes and local git checkouts

aiidateam/aiida-core#4535

Discussion

Partial pulls

Hash of uuids

Security

Checksums

Enforce schema version of backend (could be a pain for users)
Think of changes with sharing in mind

Low-level vs high-level migrations

Pulling:

Create an empty profile with connection to remote
Ask remote for node UUID(s)
Handshake
Remote gives back all entity UUIDs required for the node’s provenance
Fetching …
Must be allowed for connection to be lost and we still have the data to that point stored
Temporary profile?
Copying node topology (links)

Make AEP

Always push

@sphuber sphuber changed the title ✨ NEW: AEP For push/pull mechanism AEP: Push and pull mechanism to easily share parts of provenance graphs Dec 16, 2021
@sphuber sphuber added status/draft type/standard Standard Track AEP labels Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants