-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JupyterLab Pull Requests Extension #8
Comments
Thanks for his work @jaipreet-s and @timnlupo. I agree with |
Bot example |
@blink1073 How would you envision linking to the bot working? @jhamman has also put a bit of work recently into making it more configurable so it would work for other repos. |
I think in the build script for the docker image we'd install this extension, which could be replicated elsewhere. |
@blink1073 : Thanks! We were also thinking if we could point JupyterLab to a URL (like Its my first time going through this process and was looking for guidance on next steps here. Do we wait for more feedback before requesting the |
Done - https://github.com/jupyterlab/pull-requests. Please let me know if you do not have admin rights there. |
Awesome, @blink1073! I'm out the rest of this week but we'll move over @timnlupo's code here and draft out a roadmap with next steps. |
👍 |
@blink1073 : I tried to push an initial commit to the repo so @timnlupo can fork it (Apparently we can't fork an empty repo) but I got a permissions error
|
@jaipreet-s, it looks like the default when creating a new repo is that no one has write access outside of admins. I added the "committers" team to that repo. Cheers! |
@blink1073 , I've been trying to push an initial README.md to master but to no avail. So far I've tried
I'm not sure if some permission is still missing or GitHub is messing up because its an empty repo. Both of these credentials (SSH Key and PAT for HTTPS ) work for directly pushing to the |
@jaipreet-s, my mistake, you had admin rights only on the jupyterlab-git repo, I've added you to the committers group. |
@blink1073 : Works now! jupyterlab/pull-requests@563bf5d. Good to close this now and move further activity to the repo. Thanks! |
Background
Pull requests are an important part of the dev workflow. Users currently would use JupyterLab for development and then switch to the respective Git hosting service website (e.g. GitHub) for PRs. GitHub (among others) also does not offer a visual diff experience for
ipynb
files which have to be reviewed in their raw JSON format.Current Status
@timnlupo has been working to develop an extension for performing pull requests from within JupyterLab. The functionality that is currently built in includes
All screenshots can be found here and a GIF at the bottom.
This is backed by a server extension which provides authenticated access to the GitHub APIs and uses the APIs for comment storage and retrieval.
Relation with other projects
Feature plans
There’s a few features that would add a ton of value.
Next Steps
We are looking for feedback around the functionality built so far and that planned forward. Our proposal would be to have a
jupyterlab/pull-requests
repo for the extension where this can be iterated upon and contributed to, for building further functionality and integrations with the commenting/nbdime/git.The text was updated successfully, but these errors were encountered: