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

Add field to store file hash #15

Open
jokasimr opened this issue Feb 6, 2024 · 1 comment
Open

Add field to store file hash #15

jokasimr opened this issue Feb 6, 2024 · 1 comment

Comments

@jokasimr
Copy link

jokasimr commented Feb 6, 2024

It would be good for reproducibility if the File class had an optional file hash field. The file hash field could for example be a string formatted like md5:<hash-value> or sha1:<hash-value>.

Advantages:

  • This would allow people to verify that the files they are working with are actually the same as the ones specified in a particular Orso file.
  • In the beautiful future when we have content addressed file storage for scientific data researchers will be able to directly download the data referenced in an Orso file, provided of course that someone has at some point uploaded the data to the content addressed file repository.
@bmaranville
Copy link
Contributor

I think we discussed this at one of our meetings, but I'm not sure. I can't think of a good reason not to include it. Would have to support sha256 etc. as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants