You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you clone a repository on Windows, and mount it in a Linux container, the repository will be recognized by the extension, but you won't be able to pull, push and it won't be able to recognize any changes on the files
Notice how git detect the changes in the terminal, but the extension does not
Reproduce
Clone the repository on Windows
Build a container with the specifications below and mount the cloned repository in it
I was also able to reproduce the behavior with the latest stable version of the extension (v0.44.0)
FROM jupyter/minimal-notebook:lab-3.6.3
RUN pip install jupyterlab-git
RUN jupyter lab build
also able to reproduce with the following versions
FROM jupyter/minimal-notebook:lab-4.0.6
RUN pip install --pre "jupyterlab-git==0.50.0a2
RUN jupyter lab build
Open jupyterlab and access the mounted repository
Authenticate in git
Change a file and check the changes in the jupyterlab-git tab in the side menu, it won't detect any changes
If you run git status the changes will be there
Expected behavior
The jupyterlab-git extension should show the same changes as git shows on the terminal with git status
Context
Python package version:
Name: jupyterlab_git
Version: 0.44.0
Summary: A JupyterLab extension for version control using git
Home-page:
Author: Jupyter Development Team
Extension version:
Config option `kernel_spec_manager_class` not recognized by `ListLabExtensionsApp`.
WARNING: Insecure writes have been enabled via environment variable 'JUPYTER_ALLOW_INSECURE_WRITES'! If this is not intended, remove the variable or set its value to 'False'.
[W 2023-11-03 16:04:01.507 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
JupyterLab v3.6.3
/opt/conda/share/jupyter/labextensions
jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
nbdime-jupyterlab v2.2.0 enabled OK
@jupyterlab/git v0.44.0 enabled OK (python, jupyterlab-git)
Other labextensions (built into JupyterLab)
app dir: /opt/conda/share/jupyter/lab
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Welcome to the Jupyter community! 🎉
DaviAragorn
changed the title
Extension doesn't recognize changes, and isn't able to pull or push in mounted repositories
Extension doesn't recognize changes and isn't able to pull or push in mounted repositories.
Nov 3, 2023
@omnidavi it looks like you are using some kind of proxy between the frontend and the server. That prevents the requests from this extension to be routed to the Jupyter Server (see the 504 errors you are getting).
Description
If you clone a repository on Windows, and mount it in a Linux container, the repository will be recognized by the extension, but you won't be able to pull, push and it won't be able to recognize any changes on the files
Notice how git detect the changes in the terminal, but the extension does not
Reproduce
I was also able to reproduce the behavior with the latest stable version of the extension (v0.44.0)
also able to reproduce with the following versions
git status
the changes will be thereExpected behavior
The jupyterlab-git extension should show the same changes as git shows on the terminal with
git status
Context
git version 2.34.1
Command Line Output
Web Browser Output
The text was updated successfully, but these errors were encountered: