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

Cache: mount user mountpoints to make sure that $data/$user/ exists before accessi... #3141

Merged
merged 2 commits into from
May 8, 2013

Conversation

blizzz
Copy link
Contributor

@blizzz blizzz commented Apr 26, 2013

...ng it. Fixes #2553 and #2374

review please @bartv2 @schiesbn @icewind1991 @MTGap or others

@bartv2
Copy link
Contributor

bartv2 commented Apr 26, 2013

can you fix the unittests?

@blizzz
Copy link
Contributor Author

blizzz commented Apr 26, 2013

Yes I will check what is going on there.

@blizzz
Copy link
Contributor Author

blizzz commented Apr 26, 2013

I needed to adjust the test, because via initMountPoint the real datadir would be used. Now, for time tests are running it is set to a temporary location. Tests work with and without the first commit of this pull request.

Admittedly, If testing somehow breaks, the real datadir setting might be stuck with the temporary location, which would be bad. Is there a better way around it?

I also have a test in preparation that checks for the bug, but before i add it i'd like to know whether this approach is ok?

@blizzz
Copy link
Contributor Author

blizzz commented Apr 30, 2013

comments? @bartv2 @icewind1991

@blizzz
Copy link
Contributor Author

blizzz commented May 6, 2013

or others @DeepDiver1975 @tanghus @karlitschek

@karlitschek
Copy link
Contributor

👍

@blizzz
Copy link
Contributor Author

blizzz commented May 7, 2013

thx. One more?

@bartv2
Copy link
Contributor

bartv2 commented May 7, 2013

I'm not really happy with changes like these to the config, maybe use #3270 or @icewind1991 do you have an better idea

@blizzz
Copy link
Contributor Author

blizzz commented May 8, 2013

Understandably, OTOH is #3270 supposed to end up in stable5?

@bartv2
Copy link
Contributor

bartv2 commented May 8, 2013

ok didn't see that this was for stable5

bartv2 added a commit that referenced this pull request May 8, 2013
Cache: mount user mountpoints to make sure that $data/$user/ exists before accessi...
@bartv2 bartv2 merged commit d6fe8f2 into stable5 May 8, 2013
@bartv2 bartv2 deleted the fix_2553 branch May 8, 2013 12:05
@blizzz
Copy link
Contributor Author

blizzz commented May 16, 2013

thx, I port it to master. The tests can be adjusted when the OC_Config changes are in place.

@blizzz
Copy link
Contributor Author

blizzz commented Jun 3, 2013

A bit late, but here are the ports:
c8a2bec
61dadb0

@lock lock bot locked as resolved and limited conversation to collaborators Aug 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants