Giter VIP home page Giter VIP logo

Comments (4)

dhirschfeld avatar dhirschfeld commented on May 29, 2024

You might just want to browse a particular notebook?
If you want to clone an entire repo, why not just use jupyterlab-git?

It would be nice for this extension to be have a clone button, the implementation of which could be delegated to the jupyterlab-git extension.

from jupyterlab-github.

amit1rrr avatar amit1rrr commented on May 29, 2024

You might just want to browse a particular notebook?

ah, makes sense. So any edits made to notebooks under this plugin are not persisted anywhere? Not even locally on the disk?

If you want to clone an entire repo, why not just use jupyterlab-git?

Yeah that's a good idea. We wanted to preload the jupyter instance with user's GitLab repositories but that can be done without an extension (as a postStart lifecycle hook after spawning from JupyterHub). We'll just have to set the access_tokens properly.

Thanks!

from jupyterlab-github.

ian-r-rose avatar ian-r-rose commented on May 29, 2024

@amit1rrr Sorry for not responding to this sooner, I've been looking through the work you did on setting up the GitLab JupyterHub deployment with this stuff, and I'm impressed! I've started to do some simliar things in a JupyterHub deployment: https://github.com/CityOfLosAngeles/citywide-jupyterhub/blob/e010e49cf02ef42c4c9a237b6e9bc33d6a344288/deploy/config.yaml#L18-L42

But to reiterated what @dhirschfeld said, this extension is mostly oriented around browsing remote repositories, and is explicitly not about making edits, commits, or any version-control operations. That said, a clone button would be nice.

from jupyterlab-github.

amit1rrr avatar amit1rrr commented on May 29, 2024

Thanks @ian-r-rose. We ended up using the jupyterlab-git extension for GitLab setup. Works very well.

Your work looks very interesting as well. Do you actually plan to have a public citywide JupyterHub deployment? If yes, that's very interesting and I'm really curious so I'll throw a few questions out there,

  • How do you plan to tackle abuse (e.g. mining crypto)?
  • Who is paying for the underlying compute infrastructure?

https://github.com/CityOfLosAngeles/citywide-jupyterhub/blob/e010e49cf02ef42c4c9a237b6e9bc33d6a344288/deploy/config.yaml#L18-L42

By the way, @minrk helped a lot to get this setup going for us :)

from jupyterlab-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.