Skip to content

Cannot open directory because it is a submodule' #93

@WetHat

Description

@WetHat

Hi,

I'm having an issue with Git submodules as described below:

Description

When a directory is a GIT submodule, an attempt to open it with the @jupyterlab/github extension
displays an error:

Annotation 2019-09-30 232058

Reproduce

  1. Create a GIT submodule on the file system typing something like this on the
    command line
# To add and clone a new submodule
$ git submodule add https://github.com/chaconinc/DbConnector
$ git clone https://github.com/chaconinc/MainProject
$ git submodule init
$ git submodule update
  1. Open Jupyter Lab with the @jupyterlab/github extension installed.
  2. Open the GIT panels and browse to the submodule
  3. See error 'Cannot open <directory> because it is a submodule'

Expected behavior

Git submodules should be supported like regular Git modules. That would be extremely helpful!

Context

  • Python package version:

    # packages in environment at c:\Miniconda:
    #
    # Name                Version               Build  Channel
    jupyterlab-github    1.0.0                 pypi_0    pypi
    

Thanks,

WetHat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions