-
Notifications
You must be signed in to change notification settings - Fork 10
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
Implement describe-file-collection
#652
Comments
FTR, my directory listing compilers:
these were really quick drafts, see commit messages for explanations why they ended up the way they are. |
https://concepts.datalad.org/ now provides JSON-LD context, LinkML YAML and OWL for every schema. A sensible behavior for
I see no real need to implement the complexity required for being able to report in multiple "languages" (schemas and versions). We can simply refer to the one that is used. https://concepts.datalad.org/ is already set up to continue to serve past schema versions. |
After making the first code steps with this, I believe this is not suitable for datalad-next. Too little s understood with confidence. I will pursue this development over at https://github.com/mih/datalad-mihextras until a bigger picture emerges. |
The work over at https://github.com/psychoinformatics-de/datalad-concepts has reached a state that makes it worthwhile to start implementing the first pieces for a dataset serializer. I am thinking that a good first step would be to provide the analog of the directory listing compiler that is used in the context of https://github.com/datalad/datalad-catalog. I am thinking that an implementation could simply wrap
ls-file-collection
. Internally, it would more or less translate the data classesls-file-collection
uses already. But I believe it would be sensible to not pollutels-file-collection
API with this functionality.I am further thinking that
describe-file-collection
would be a good name, and it would support any file collection thatls-file-collection
supports:directory, tarfile, zipfile, gittree, gitworktree, annexworktree
.The implementation would (need to) be done in a way that feature additions to
ls-file-collection
(i.e. new collection types) automatically become available fordescribe-file-collection
too.In terms of metadata types, a file collection maps to a https://concepts.datalad.org/s/distribution/unreleased/Distribution
The text was updated successfully, but these errors were encountered: