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

Skip dir size check if not enumerable #1227

Merged
merged 3 commits into from Mar 6, 2023

Conversation

vidartf
Copy link
Member

@vidartf vidartf commented Mar 3, 2023

On Windows or other platforms that cannot run du successfully, we should still allow users to copy directories, but log a warning to indicate that there might be a degraded performance of their UI if the folder is large.

Follow up to #1190 .

On Windows or other platforms that cannot run `du` successfully, we should still allow users to copy directories, but log a warning to indicate that there might be a degraded performance of their UI if the folder is large.
@codecov
Copy link

codecov bot commented Mar 3, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.07 🎉

Comparison is base (d85874b) 80.35% compared to head (55a66d7) 80.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1227      +/-   ##
==========================================
+ Coverage   80.35%   80.43%   +0.07%     
==========================================
  Files          68       68              
  Lines        8253     8253              
  Branches     1603     1603              
==========================================
+ Hits         6632     6638       +6     
+ Misses       1195     1191       -4     
+ Partials      426      424       -2     
Impacted Files Coverage Δ
jupyter_server/services/contents/filemanager.py 76.93% <0.00%> (ø)
jupyter_server/gateway/managers.py 83.60% <0.00%> (+0.23%) ⬆️
...ter_server/services/kernels/connection/channels.py 61.72% <0.00%> (+0.88%) ⬆️
jupyter_server/extension/handler.py 69.23% <0.00%> (+1.53%) ⬆️

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 vidartf added enhancement backwards compat python Pull requests that update Python code and removed backwards compat labels Mar 3, 2023
Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

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

These changes look good - thanks @vidartf. (Thanks for addressing the lint failure as well.)

@blink1073 blink1073 merged commit e60b048 into jupyter-server:main Mar 6, 2023
@vidartf vidartf deleted the fix-copydir-win branch March 25, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants