nebari-dev / jupyterlab-gallery

A JupyterLab gallery for presenting and downloading examples
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Implement support for private repositories #2

Closed krassowski closed 2 months ago

krassowski commented 3 months ago

jupyterlab-gallery depends on pulling implementation in nbgitpuller; there may be a need to override some of its method in a subclass, or we may want to contribute upstream.

krassowski commented 3 months ago

Storing the PAT in the URL makes it available in the .git folder, so it is not desirable if users should have no access to the PAT by running git remote -v. Instead we need to add a dedicated field for PAT and authenticate with it on each operation (in lieu of password).