jupyter-xeus / xeus-octave

Jupyter kernel for GNU Octave
https://xeus-octave.readthedocs.io/
GNU General Public License v3.0
57 stars 10 forks source link

Cannot use xeus-octave Binder environment to load notebooks in other GitHub repos #116

Open acp29 opened 6 months ago

acp29 commented 6 months ago

Description

I would like to use nbgitpuller link generator to build the environment (or load the image if it already exists) directly from your xeus-octave Binder and load jupyter notebooks on one of my own GitHub repositories The problem is that I can't do this because you don't have nbgitpuller extension installed in your environment. I can tell because when I open a new notebook with a python 3 kernel and enter the following commands...

import os
os.system('jupyter serverextension list')

...nbgitpuller enabled is not listed under config dir: /srv/conda/envs/notebook/etc/jupyter.

A simple solution (I think, well it worked for me with my own binder) would be to add nbgitpuller to your dependencies in the xeus-octave binder environment (xeus-octave/.binder/environment.yml ?)

dependencies:
  - nbgitpuller

Doing this would be a win-win because the more users that access their Jupyter notebooks through Binder using your repo's environment will help to maintain any existing images for faster loading of the xeus-octave Binder.

I'm happy to fork your github repo and create a pull request to get this done but thought I'd raise it as an issue since I have not contributed to xeus-octave (although I maintain and develop some packages for GNU Octave)

I should add though that I'm fairly new to this Binder business so if I'm totally wrong about all this then please educate me 😊