TDA-tutorial icon indicating copy to clipboard operation
TDA-tutorial copied to clipboard

Use some tools to diff notebooks

Open VincentRouvreau opened this issue 4 years ago • 4 comments

Some tools like https://www.reviewnb.com/ may be helpful for the reviews

VincentRouvreau avatar Jan 05 '21 15:01 VincentRouvreau

I installed reviewnb only for GUDHI/TDA-tutorial. Now, if you want to review https://github.com/GUDHI/TDA-tutorial/pull/25 for instance, you can go to https://app.reviewnb.com/GUDHI/TDA-tutorial/pull/25/ and in changes, you select an *.ipynb file and you will see modifications with a diff tool that renders the notebook (instead of diff on raw notebooks files). It also works for commits, which is quite usefull. Your feedbacks are welcome.

VincentRouvreau avatar Feb 11 '21 14:02 VincentRouvreau

That looks very nice to me, thank you. Would it be easy to have a link to the corresponding reviewnb appear magically on each PR, or should I keep a bookmark(let) locally for when I need it?

mglisse avatar Feb 11 '21 14:02 mglisse

That's pretty neat, thanks @VincentRouvreau. I am wondering whether we can add comments directly in reviewnb. What I mean is that when reviewing code in the Github interface, you can select part of the code and put a comment for that specific selection. Would that be possible to do the same thing while skimming through the changes using reviewnb?

astamm avatar Mar 30 '21 10:03 astamm

Yes, it is possible to comment, I did it in #31 to see what it looked like.

mglisse avatar Mar 30 '21 11:03 mglisse

ReviewNB has been installed on this project

VincentRouvreau avatar Jan 03 '23 16:01 VincentRouvreau