jupyterlab / jupyterlab/jupyterlab-github

Cannot open `directory` because it is a submodule'

Open
#93 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
437
Forks
101
PR merge metrics
No merged PRs in 30d

Description

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
~~~ bash
# 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
~~~
2. Open _Jupyter Lab_ with the `@jupyterlab/github` extension installed.
3. Open the GIT panels and browse to the submodule
4. See error 'Cannot open `` 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.