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

RF: Use datalad.locations.sockets as dedicated configuration #5238

Merged
merged 1 commit into from Dec 10, 2020

Conversation

mih
Copy link
Member

@mih mih commented Dec 10, 2020

Instead of putting sockets into the cache dir. This makes it possible to
place sockets specifically, rather than all cache content. This will
make it easier to workaround filesystem limitations (gh-4075), and
path length issues (gh-5232).

Keep default location unchanged <cachedir>/sockets

However, using this location seems suboptimal. $HOME (which contains cachedir typically), may be mounted from another machine. /tmp is much more commonly used for this on Linux (X Server, KDE, ...), and more likely to be a local drive.

Using this new config makes things work on OSX re pathlength https://ci.appveyor.com/project/mih/appveyor-datalad/builds/36771014/job/r7yif4oct81baee7

Instead of putting sockets into the cache dir. This makes it possible to
place sockets specifically, rather than all cache content. This will
make it easier to workaround filesystem limitations (dataladgh-4075), and
path length issues (dataladgh-5232).

Keep default location unchanged `<cachedir>/sockets`
Copy link
Member

@yarikoptic yarikoptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks LGTM

@codecov
Copy link

codecov bot commented Dec 10, 2020

Codecov Report

Merging #5238 (af47322) into maint (43b5e4a) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##            maint    #5238      +/-   ##
==========================================
- Coverage   90.44%   90.42%   -0.02%     
==========================================
  Files         294      294              
  Lines       40924    40924              
==========================================
- Hits        37015    37007       -8     
- Misses       3909     3917       +8     
Impacted Files Coverage Δ
datalad/interface/common_cfg.py 100.00% <ø> (ø)
datalad/support/sshconnector.py 87.54% <100.00%> (ø)
datalad/downloaders/tests/test_http.py 88.59% <0.00%> (-1.91%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43b5e4a...af47322. Read the comment docs.

@kyleam kyleam merged commit 066bb64 into datalad:maint Dec 10, 2020
1 check passed
@mih mih deleted the rf-socketdir branch December 11, 2020 06:19
@yarikoptic yarikoptic added this to the 0.13.6 milestone Dec 12, 2020
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.

None yet

3 participants