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

Reconcile hard fork now that access is restored #174

Merged
merged 105 commits into from
Nov 1, 2023

Conversation

timkpaine
Copy link
Collaborator

@timkpaine timkpaine commented Aug 13, 2023

I have now deleted my hard fork, this is the omnibus PR to resolve the differences:
Fixes: #172
Closes: #170
Closes: #169
Closes: #163
Closes: #162
Closes: #161

mahendrapaipuri and others added 30 commits February 3, 2023 17:11
`files_handler_params` in the base class is empty and we need to set the `path` arg to root dir for endpoint `/files/(.*)` to work. If not tornado web will complain about missing path arg
    Don't replace : with /

    Temporary fix for broken is_hidden

    Without this the drives of the meta manager will not be found.

    Add missing JS dev dependency

    Add missing Python dev dependency

    Improve dev instructions
Also addresses
jupyter-server/jupyter_server#1224 for our
implementation.

Also does:
- Improves tests by using an actual jupyter server instance instead of
  calling CM methods directly (gains config + handler logic)
- Moves conftest to root, as this is needed by pytest for naming plugins
- FSManager init calls super: this enables the traitlets config system
This prevents fs widgets from being recreated if other
resources in the list changes.
Allow server admins to deny users adding resources at all.
Alternatively, they can configure regexes to only allow certain resource
URLs to be configured by users.
…ue in default configuration of validators to default to 'allow any'
    Don't replace : with /

    Temporary fix for broken is_hidden

    Without this the drives of the meta manager will not be found.

    Add missing JS dev dependency

    Add missing Python dev dependency

    Improve dev instructions
Also addresses
jupyter-server/jupyter_server#1224 for our
implementation.

Also does:
- Improves tests by using an actual jupyter server instance instead of
  calling CM methods directly (gains config + handler logic)
- Moves conftest to root, as this is needed by pytest for naming plugins
- FSManager init calls super: this enables the traitlets config system
This prevents fs widgets from being recreated if other
resources in the list changes.
To reuse in new tests
Allow server admins to deny users adding resources at all.
Alternatively, they can configure regexes to only allow certain resource
URLs to be configured by users.
vidartf and others added 14 commits June 6, 2023 18:29
If we fail for some reason, we should try to inform the user.
Workaround for bug in tree-finder/regular-table. In certain conditions
(race condition), you can end up with two resize handles instead of the
assumed empty span + resize handle. (This might be due to memoization in
regular-table ?) In this case, we recover back to the state that
tree-finder was expecting. Can be removed once underlying issue is
resolved.
Add proper JupyterLab theming support
This still does not allow ducktyping via config.
Allow CM class to be configurable.
@timkpaine timkpaine requested a review from a team as a code owner August 13, 2023 20:37
@github-actions
Copy link

Binder Launch a binder notebook on branch timkpaine/jupyter-fs/main

@codecov
Copy link

codecov bot commented Aug 13, 2023

Codecov Report

Attention: 786 lines in your changes are missing coverage. Please review.

Comparison is base (19f47a9) 40.50% compared to head (55e2a00) 37.86%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #174      +/-   ##
==========================================
- Coverage   40.50%   37.86%   -2.65%     
==========================================
  Files          23       31       +8     
  Lines        1153     1965     +812     
  Branches      143      312     +169     
==========================================
+ Hits          467      744     +277     
- Misses        643     1119     +476     
- Partials       43      102      +59     
Files Coverage Δ
js/src/tokens.ts 100.00% <100.00%> (ø)
js/src/utils.ts 13.25% <100.00%> (-1.04%) ⬇️
jupyterfs/config.py 100.00% <100.00%> (ø)
jupyterfs/tests/test_extension.py 100.00% <100.00%> (ø)
jupyterfs/tests/test_fsmanager.py 98.97% <100.00%> (+0.18%) ⬆️
jupyterfs/tests/test_metamanager.py 97.91% <97.91%> (ø)
jupyterfs/extension.py 71.42% <0.00%> (-2.26%) ⬇️
jupyterfs/tests/utils/client.py 77.27% <77.27%> (ø)
jupyterfs/metamanager.py 71.42% <83.72%> (+38.61%) ⬆️
jupyterfs/pathutils.py 67.16% <61.90%> (+36.01%) ⬆️
... and 9 more

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

dependabot bot and others added 2 commits November 1, 2023 10:10
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
…averse-7.23.2

Bump @babel/traverse from 7.20.5 to 7.23.2
@timkpaine
Copy link
Collaborator Author

@vidartf @brooklynrob @t3rryM please merge or restore my ability to do so, thanks!

@vidartf vidartf merged commit 135811c into jpmorganchase:main Nov 1, 2023
1 of 3 checks passed
@vidartf
Copy link
Contributor

vidartf commented Nov 1, 2023

Thanks for reconciling the different merge conflicts!

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.

reconcile differences with hard fork
5 participants