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
"Add remote repository" option is enabled when repository is already cloned. Trying to add a new repository via the modal fails, because remote is already present.
Reproduce
Clone a git repo to JupyterLab
Click on "Git" menu
Click on "Add Remote Repository" entry in the dropdown
Enter any git repo url
See the error
Expected behavior
The entry is disabled if a repo is already cloned
Context
Python package version: 0.30.0b1
Extension version:
JupyterLab v3.0.7
/opt/app-root/share/jupyter/labextensions
jupyterlab_requirements v0.4.6 enabled OK (python, jupyterlab-requirements)
@jupyter-server/resource-usage v0.5.0 enabled OK (python, jupyter-resource-usage)
@jupyterlab/git v0.30.0-beta.1 enabled OK (python, jupyterlab-git)
@krassowski/jupyterlab-lsp v3.3.1 enabled OK (python, jupyterlab_lsp)
Other labextensions (built into JupyterLab)
app dir: /opt/app-root/share/jupyter/lab
@elyra/code-snippet-extension v2.0.1 enabled OK
@elyra/metadata-extension v2.0.1 enabled OK
@elyra/pipeline-editor-extension v2.0.1 enabled OK
@elyra/python-editor-extension v2.0.1 enabled OK
@elyra/theme-extension v2.0.1 enabled OK
nbdime-jupyterlab v2.1.0-beta.1 enabled OK
@tumido Thank you for reporting this issue. It actually should still be enabled - because multiple remote repositories is common when using repository forks. But definitely the extension should support the ability to define the remote name to support that.
Description
"Add remote repository" option is enabled when repository is already cloned. Trying to add a new repository via the modal fails, because remote is already present.
Reproduce
Expected behavior
The entry is disabled if a repo is already cloned
Context
0.30.0b1
Disabled extensions:
@jupyterlab/launcher-extension (all plugins)
2.27.0
The text was updated successfully, but these errors were encountered: