Skip to content

Commit 823e68e

Browse files
authored
Use relative path to server root (#939)
* Set path as URL path fragment * Pass path in uri * API calls using relative path * Remove server root from front end * Fix unit tests * Test fix #775 * Test fix #684 * Clean up * Some docs * Fix CI * Avoid using broken @jupyterlab/testutils * Resolve conflict * Fix lru_cache for py<3.8 * Fix jest tests * Fix for python 3.6
1 parent e7794af commit 823e68e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2295
-1760
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ jobs:
5959
${{ runner.os }}-yarn-
6060
6161
- name: Install dependencies
62-
run: python -m pip install -U jupyter_packaging~=0.7.9 jupyterlab~=3.0 pip wheel
62+
run: python -m pip install -U jupyter_packaging~=0.7.9 jupyterlab~=3.0 pip wheel
6363
- name: Test the extension
6464
run: |
6565
jlpm
6666
jlpm run eslint:check
67-
python -m pip install -e .[dev]
67+
python -m pip install -e .[dev,tests]
6868
6969
# Python formatting checks
7070
black . --check

jupyterlab_git/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ def _load_jupyter_server_extension(server_app):
5151
JupyterLab application instance
5252
"""
5353
config = JupyterLabGit(config=server_app.config)
54-
git = Git(server_app.web_app.settings["contents_manager"], config)
55-
server_app.web_app.settings["git"] = git
54+
server_app.web_app.settings["git"] = Git(config)
5655
setup_handlers(server_app.web_app)
5756

5857

0 commit comments

Comments
 (0)