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
![image](https://private-user-images.githubusercontent.com/13891215/280331713-3638ed99-2ee5-4ca8-91b3-25543bc3a57c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NDU4NzEsIm5iZiI6MTcyNDU0NTU3MSwicGF0aCI6Ii8xMzg5MTIxNS8yODAzMzE3MTMtMzYzOGVkOTktMmVlNS00Y2E4LTkxYjMtMjU1NDNiYzNhNTdjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDAwMjYxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFlNDM5NWU3MzBmNWVhYTA0NGRiMzI4YzU5YmJiMDZlZjIzYjk5YTEzZGM0MzgyM2UzNDYzNzlmNDNlMDgyMmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.400dDGAisC3WW7xkQl65kC5ukHadc7houGF1MHzmB00)
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: