cml
cml copied to clipboard
Support for notebooks diff
A user asked for reviewnb support. Further investigation is needed.
I bit more context. I'm not 100% sure we need to support reviewing (it looks like it is proprietary). What we actually need - to understand Jupiter user's workflow better and solve some of the issues in the CI part. Any ideas are welcome!
Note - take a look at:
- https://github.com/nteract/papermill - parametrize notebooks
- https://github.com/jupyter/nbdime - diff and merge notebooks
https://github.com/jupyter/nbdime - diff and merge notebooks
Thats the tool we are currently evaluating 😃
Can this be closed?
pip install nbdime
echo '```diff' >> report.md
nbdiff <old_sha> <new_sha> <file.ipynb> >> report.md
echo '```' >> report.md
cml send-comment report.md
Not sure if @iterative/studio wants to render nbdiff-web output though?