question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Viewing private repos

See original GitHub issue

I’m trying to view private repos for my org. I’m running JupyterHub in minikube with JupyterLab configured. I’ve also installed both the lab as well as server extensions by adding the following to my userimage dockerfile

RUN jupyter labextension install @jupyterlab/github

RUN pip install jupyterlab_github
RUN jupyter serverextension enable --sys-prefix jupyterlab_github

I’ve confirmed that the python package version is 0.6 and I am running jupyterlab version 0.32.0.

I’ve added my access token to helm values file as:

hub:
  extraEnv:
    JUPYTER_ENABLE_LAB: 1
  extraConfig: |
    c.KubeSpawner.cmd = ['jupyter-labhub']
    c.GitHubConfig.access_token = 'XXXXXXXXXXXXXXXXXXXXXXXX'

I cannot see any of the private repos.

I’m also seeing sporadic rate-limiting which makes me believe that possibly the server extension is not properly installed?

Any guidance would be appreciated.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
dhirschfeldcommented, Apr 27, 2018

It looks like the config you’re setting is the in the jupyterhub_config.py file and not the jupyter_notebook_config.py.

I’m not sure how you’d set notebook specific config in k8s though. You might get some advice in that regard in the jupyterhub gitter channel.

0reactions
davidrscommented, Nov 9, 2020

@prashant71ht it works for me if the param is called c.GitHubConfig.github_access_token not c.GitHubConfig.access_token I think it’s a typo in the docs (or something changed across versions).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting repository visibility - GitHub Docs
If you're converting your private repository to a public repository as part of a move toward creating an open source project, see the...
Read more >
Can people see my private repository in GitHub? - Quora
In a personal private repository, no one can view the repo or its contents unless they are a collaborator for that repository. It....
Read more >
Viewing private repository details - Amazon ECR
On the Repositories page, choose the Private tab and then the repository to view. On the repository detail page, the console defaults to...
Read more >
Accessing private GitHub repos - UC Berkeley's JupyterHubs
Go to the GitHub app for the hub you are interested in. · Click the 'Install' button. · Select the organization / user...
Read more >
GITHUB allow someone to view my private repository
Public/Private can be set in the settings of a repository. You'll find the option in the "Danger Zone". If you are not the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found