[IPython-dev] tracking nbconvert-generated images in version control

W. Trevor King wking at tremily.us
Sat Apr 19 16:23:58 EDT 2014


On Sat, Apr 19, 2014 at 04:12:59PM -0400, Greg Wilson wrote:
> What about allowing users to attach names to plots (or to the code
> that generates them), then using that name for the persisted file?
> Names could go in cell metadata, and could then also serve as
> anchors for linking?

I don't think that addresses the “what to remove?” question:

On Fri, Apr 18, 2014 at 03:00:35PM -0400, Greg Wilson wrote:
> 4. We can easily add those images to the version control repository
> as well - but if we move cells around in the notebook, nbconvert
> will give them different names the next time it runs.  We can add
> *those* images to version control too, but what do we do about
> cleaning out the old ones?

Unless you want folks to manually 'git rm' images when they remove its
source cell.

Cheers,
Trevor

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140419/a4674aba/attachment.sig>


More information about the IPython-dev mailing list