[IPython-dev] nbexplode - experiment in version controlling notebooks

Brian Granger ellisonbg at gmail.com
Thu Mar 5 15:05:41 EST 2015


Ooohhh, very cool! Thanks for working on this!

On Thu, Mar 5, 2015 at 11:36 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> I've just completed a rough prototype of a concept we've been calling
> 'nbexplode'. If you've wrestled with merge conflicts in notebooks kept in
> text-based VCSs, you might like to investigate it.
>
> https://github.com/takluyver/nbexplode/
>
> Since current VCSs don't understand any structure within a file (beyond
> lines), the idea is to let the VCS know about the structure of a notebook
> by breaking it up into many files for separate cells and outputs. The VCS
> should then be smarter about merging separate changes. When you check out
> an exploded notebook, you can recombine it into a single .ipynb file to
> work with.
>
> This is still sub-optimal, because filesystems (and therefore VCSs) have
> no notion of an ordered sequence. And it's probably more unwieldy for
> viewing diffs, because cells appear out of order.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/49e64684/attachment.html>


More information about the IPython-dev mailing list