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

Revert "Make preferred_dir content manager trait" #1140

Merged
merged 2 commits into from
Dec 20, 2022

Conversation

blink1073
Copy link
Contributor

Reverts #983

@blink1073
Copy link
Contributor Author

blink1073 commented Dec 19, 2022

cc @vidartf, @Zsailer and I had a chat about this. I'll plan to merge this tomorrow, cut a patch release, and then re-apply if you haven't had a chance to resolve.

@codecov
Copy link

codecov bot commented Dec 19, 2022

Codecov Report

Base: 79.91% // Head: 79.84% // Decreases project coverage by -0.07% ⚠️

Coverage data is based on head (44bff7a) compared to base (7ff6e52).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1140      +/-   ##
==========================================
- Coverage   79.91%   79.84%   -0.08%     
==========================================
  Files          68       68              
  Lines        8067     8048      -19     
  Branches     1599     1596       -3     
==========================================
- Hits         6447     6426      -21     
- Misses       1197     1200       +3     
+ Partials      423      422       -1     
Impacted Files Coverage Δ
jupyter_server/services/contents/fileio.py 90.00% <ø> (-0.11%) ⬇️
jupyter_server/services/contents/filemanager.py 74.56% <ø> (-0.72%) ⬇️
jupyter_server/services/contents/manager.py 86.33% <ø> (-0.42%) ⬇️
jupyter_server/serverapp.py 79.31% <100.00%> (+0.35%) ⬆️
...ter_server/services/kernels/connection/channels.py 58.71% <0.00%> (-0.89%) ⬇️
jupyter_server/utils.py 85.11% <0.00%> (-0.60%) ⬇️
jupyter_server/services/kernels/kernelmanager.py 81.42% <0.00%> (+0.30%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vidartf
Copy link
Member

vidartf commented Dec 19, 2022 via email

@vidartf
Copy link
Member

vidartf commented Dec 19, 2022 via email

@blink1073 blink1073 merged commit b5b7c5e into main Dec 20, 2022
@blink1073 blink1073 deleted the revert-983-fix-prefdir branch December 20, 2022 11:45
vidartf added a commit to vidartf/jupyter_server that referenced this pull request Jan 4, 2023
blink1073 pushed a commit that referenced this pull request Jan 4, 2023
…1162)

* Revert "Revert "Make preferred_dir content manager trait" (#1140)"

This reverts commit b5b7c5e.

* Write back pref dir to app for backwards compat

This way, anyone that reads out the old value will not break (except if the path is not a FS path, in which case it doesn't currently work anyways).

* Fix: serverapp needs absolute path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants