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

MNT: Add netbase to Docker image to ensure correct datalad operation #2682

Merged
merged 1 commit into from
Jan 8, 2022

Conversation

effigies
Copy link
Member

@effigies effigies commented Jan 7, 2022

This creates the /etc/protocols file that allows Haskell (git-annex) to fetch web objects. Without it you can get responses like:

$ singularity exec code/containers/images/bids/bids-fmriprep--21.0.0.sing datalad get sourcedata/templateflow/tpl-OASIS30ANTs/tpl-OASIS30ANTs_res-01_T1w.nii.gz
get(error): sourcedata/templateflow/tpl-OASIS30ANTs/tpl-OASIS30ANTs_res-01_T1w.nii.gz (file) [https://files.osf.io/v1/resources/ue5gx/providers/osfstorage/5bc647b153cec4001aadab65 download failed: ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp)
downloading from all 1 known url(s) failed
https://files.osf.io/v1/resources/ue5gx/providers/osfstorage/5bc647b153cec4001aadab65 download failed: ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp)
downloading from all 1 known url(s) failed
https://files.osf.io/v1/resources/ue5gx/providers/osfstorage/5bc647b153cec4001aadab65 download failed: ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp)
downloading from all 1 known url(s) failed]
action summary:
  get (error: 1, notneeded: 1)

Fix found on commercialhaskell/stack#2372 (comment).

@effigies
Copy link
Member Author

effigies commented Jan 7, 2022

Assuming this doesn't break the build, will merge, then merge forward into maint/21.0.x.

@effigies effigies merged commit 3ceeea0 into nipreps:maint/20.2.x Jan 8, 2022
@effigies effigies deleted the mnt/20.2.x/netbase branch January 8, 2022 13:25
@effigies effigies added this to the 20.2.7 milestone May 27, 2022
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.

2 participants