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

Support 'single-record-per-directory' format #82

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Support 'single-record-per-directory' format #82

merged 1 commit into from
Jul 19, 2023

Conversation

mih
Copy link
Contributor

@mih mih commented Jul 19, 2023

In preparation for
#79 and despite the conclusion in
#50 this change adds support for a simplified set of files that form a tabby record.

The only thing that is simplified is that the common prefix is removed from all filename. The demo record is not also included in this format.

This layout is what we would like put into a ZIP file container.

The prefix continues to exist (this was the main concern in #50), but is now the name of the parent directory.

In #55 this simplifies the setup for the self-description of a dataset. All files could go into .datalad/tabby/self/ and have short names like:

  • dataset.tsv
  • dataset.override.json
  • ...

There is no particular additional markup necessary to distinguish single-item-dir format from the prefixed-layout. The absence of an underscore char, is evidence enough.

Closes #50 (for real)

@mih
Copy link
Contributor Author

mih commented Jul 19, 2023

Yeah, windows does not like the symlinks in the repo. We better have the fixture generator the singledir format from the other.

In preparation for
#79 and
despite the conclusion in
#50 this
change adds support for a simplified set of files that form a tabby
record.

The only thing that is simplified is that the common prefix is removed
from all filename. The demo record is not also included in this format.

This layout is what we would like put into a ZIP file container.

The prefix continues to exist (this was the main concern in #50), but is
now the name of the parent directory.

In #55
this simplifies the setup for the self-description of a dataset. All
files could go into `.datalad/tabby/self/` and have short names like:

- `dataset.tsv`
- `dataset.override.json`
- ...

There is no particular additional markup necessary to distinguish
single-item-dir format from the prefixed-layout. The absence of an
underscore char, is evidence enough.

Closes #50 (for real)
@mih mih merged commit 9de6052 into main Jul 19, 2023
@mih mih deleted the singledir branch July 19, 2023 20:11
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

Successfully merging this pull request may close these issues.

Support no-prefix metadata records (one record per directory)
1 participant