-
Notifications
You must be signed in to change notification settings - Fork 33
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
resolves symlinks to .git/annex/-ed content #39
Comments
@yarikoptic can you provide a simple demo of this issue. Is the filename provided by a Python script running inside MRIcroGL, or from an external source (drag and drop, command line call). I wonder if it is the operating system itself that is resolving the filenames, hiding the symlink name from the user and MRIcroGL. macOS graphical applications must live in a sandbox, and the OS tends to be pretty explicit about filenames to protect the user from phishing exploits. |
datalad install ///openneuro/ds000001
cd ds000001
datalad get sub-0[12]/anat/*T1w*nii.gz
mricrogl sub-0[12]/anat/*T1w*nii.gz on OSX or linux (on windows you would not get symlinks) although could not try with my half-built mricrogl, but I believe it would reproduce . May be @jungheejung would provide a screenshot later on from OSX |
ha -- apparently the reproducer I had in mind didn't reproduce. @jungheejung reproduced by
|
@yarikoptic I am unable to replicate on my ARM based M1 MacBook. I can not install datalad. The simple
I suggest we defer this issue a bit until the datalad team supports the latest Macs. I do think that this is not an issue with MRIcroGL, but rather the way the operating system resolves names for the user. |
Thanks for trying ! Unfortunately indeed there is a problem building git-annex on M1 datalad/datalad#5701 and thus we lack builds for it at datalad/git-annex#61 . I bet we could easily reproduce it without involving git-annex/datalad by simply symlinking some file manually and seeing what name mricrogl would use (original one of symlink or the target one it points to). I will try in our next interactive session with @jungheejung . |
BTW @neurolabusc -- rosetta is the quick workaround for now on how to make git-annex available on M1. Some instructions are at https://github.com/fraimondo/csguide-hands-on#problem-3--git-annex-on-m1-mac and our datalad-installer would install rosetta on such beasts. I have tested on our m1 instance -- seems to work nicely. |
@yarikoptic I have not forgotten this. I am still unable to install the datalad on my computer.
|
what if you do not try to |
@yarikoptic what .dmg are you referring to? The installer does not include a dmg file? Seems like I must install from source:
|
1 similar comment
@yarikoptic what .dmg are you referring to? The installer does not include a dmg file? Seems like I must install from source:
|
you can download dmg from https://github.com/datalad/git-annex/releases/tag/10.20220822 . I believe that |
Looks like this installs git-annex but
A
|
I think this is relevant. No override appears on the While one user reported that |
did that resolve the issue so that you could run installed git annex or not? |
No, installing the dmg leads to the |
Hi @neurolabusc - was it addressed somehow? |
I do not have experience with datalad to resolve this. MRIcroGL is reporting the file name provided by the file system. Feel free to provide a PR if you wish. |
user reported that when opening a git-annex'ed file, mricrogl shows the filename of the resolved file which is a long git-annex key:
I wonder if there could be an option to avoid resolving symlinks either globally or for specific files? Thanks in advance!
The text was updated successfully, but these errors were encountered: