forked from src-d/jgscm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix paths for notebooks and jupyterlab
1) In the jupyter notebook documentation it is noted that directory paths have their leading and trailing slashes stripped. This library violated that expecation and caused a major user-facing bug in Jupyter Notebooks where directories would have to be clicked multiple times to create a correctly formatted request. 2) Jupyter Lab does not pass the type of a model to all get requests this was handled by assuming untypted requests are blobs/notebooks in the prior version of jgscm which would return as a 404. This change adds more advanced type resolution for cases of ambiguous type.
- Loading branch information
Evan Parker
committed
Mar 8, 2018
1 parent
c9fb372
commit d1f1f4b
Showing
2 changed files
with
65 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters