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

Create new VirtualFileCollection model #1135

Open
prioux opened this issue Jun 21, 2021 · 1 comment · May be fixed by #1441
Open

Create new VirtualFileCollection model #1135

prioux opened this issue Jun 21, 2021 · 1 comment · May be fixed by #1441

Comments

@prioux
Copy link
Member

prioux commented Jun 21, 2021

This new model would represent virtually a set of other CBRAIN file as a FileCollection of symlinks; synchronizing it would synchronize all the CBRAIN files and create symlinks to them in the top of the FileCollection. The list of CBRAIN files would be maintained in a hidden CbrainFileList-compatible file.

We already have something very similar to this in https://github.com/aces/cbrain-plugins-neuro in the model called CivetVirtualStudy .

Note that several important synchronization-related overrides need to be added the the model's behavior (see CivetVirtualStudy for examples).

@MontrealSergiy
Copy link
Contributor

  1. Following above requirements, the VirtualFileCollection works well (I created a fork for it in my profile). Since links do not support well merging of similarly named folders or files, a check is added. However it is not clear what should happen if one of sub-elements is renamed? One can either silently ignore the issue, send a warning or block rename, or perhaps somehow keep the old name?

  2. To avoid cyclic situations multilayer VirutalFileCollection are disallowed.

MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 7, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 7, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 8, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 8, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 21, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 21, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 21, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 24, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 28, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 28, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 28, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 28, 2024
@MontrealSergiy MontrealSergiy linked a pull request Oct 28, 2024 that will close this issue
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 29, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants