Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbdime-web: Diffing multiple notebooks at the same time #613

Open
santiagobasulto opened this issue Dec 30, 2021 · 3 comments
Open

nbdime-web: Diffing multiple notebooks at the same time #613

santiagobasulto opened this issue Dec 30, 2021 · 3 comments

Comments

@santiagobasulto
Copy link

Hello 馃憢 , i'm trying to run nbidme-web with a repo with multiple changed notebooks. Sorry if I'm missing something obvious, but how can I load all the notebooks? I keep being redirected to the same one all the time (shown in screenshot), even if I change the URL manually to Lecture_2.ipynb, Lecture_3.ipynb, etc.

I'm running the command in this way:

$ nbdiff-web e3fba84887e64cdb964579df4cda29cc244f61a0 5bfa9e19bab171500f5dfe2ae7f1976307bb990a *.ipynb --persist

What am I doing wrong? Thanks!

Screen Shot 2021-12-30 at 5 16 35 PM

@santiagobasulto
Copy link
Author

I guess a more general explanation of my issue is: how do you generate git diffs (using the webapp)for multiple files?

For example. If the current branch has made changes on files 1.ipynb, 2.ipynb and subdir/3.ipynb, how can you launch nbdiff-web to preview all those changes?

@vidartf
Copy link
Collaborator

vidartf commented Jan 10, 2022

@santiagobasulto The --persist option is mainly useful for debugging, and not really helpful when you want to diff multiple files. If you could share a little about why you are using it, I might be able to recommend a better pattern.

@santiagobasulto
Copy link
Author

Hello @vidartf! Thanks in advance for your help. My use case is relatively simple I think. I have an online server running Jupyter Lab. There's a new git branch created with some changes to some of the notebooks (1.ipynb, 2.ipynb and subdir/3.ipynb).

I'd like to lunch (in another port) nbdiff-web comparing what's on master@HEAD to the other branch and share the URL with my team so they can all compare the changes between the 2 branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants