[IPython-dev] ENH: git-wip work in progress branches

Wes Turner wes.turner at gmail.com
Mon Aug 24 14:57:32 EDT 2015


"git-wip [1] is a script that will manage Work In Progress (or WIP)
branches. [2] WIP branches are mostly throw away but identify points of
development between commits. The intent is to tie this script into your
editor so that each time you save your file, the git-wip script captures
that state in git. git-wip also helps you return back to a previous state
of development." [1]

Where and how could we integrate git-wip with Jupyter Notebook?

* [ ] [re-]implement git-wip in Python (w/w/o bindings)?
* [ ] PY: extend/plugin on_autosave() / on_save()
* [ ] JS: add commit message dialogue
* [ ] JS: add log + revert to graph node dialogue [2]
* [ ] PY: package as an extension with jupyter-pip [3]


[1] https://github.com/bartman/git-wip

[2] https://github.com/bartman/git-wip#wip-branches

[3] https://github.com/jdfreder/jupyter-pip

[*] https://github.com/joeyh/etckeeper has similar goals.


---

frontend:
*
https://github.com/jupyter/notebook/blob/master/notebook/tests/notebook/save.js
*
https://github.com/jupyter/notebook/blob/master/notebook/static/notebook/js/savewidget.js
*
https://github.com/jupyter/notebook/blob/master/notebook/static/notebook/js/notebook.js#L2071
"Notebook.prototype.save_notebook"


backend:
*
https://github.com/jupyter/notebook/blob/master/notebook/services/contents/filemanager.py#L82
"post_save_hook"


---

Is there something like git-wip branches for Jupyter already?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150824/d94a1944/attachment.html>


More information about the IPython-dev mailing list