[IPython-dev] git submodules

MinRK benjaminrk at gmail.com
Fri May 3 14:28:14 EDT 2013


No, we didn't.  They look promising, but I can't find any sufficiently
helpful documentation about what they actually do.  I will have a look at
whether they might be preferable - it certainly seems so.


On Fri, May 3, 2013 at 11:01 AM, Darren Dale <dsdale24 at gmail.com> wrote:

> Min,
>
> Did you also consider using git subtrees?
>
> On Fri, May 3, 2013 at 1:25 AM, MinRK <benjaminrk at gmail.com> wrote:
> > As of this week, IPython now gets its third-party javascript dependencies
> > from a git submodule.
> > This adds an extra wrinkle to using IPython from git, but the basics all
> > work:
> >
> >     git clone git://github.com/ipython/ipython.git
> >     cd ipython && python setup.py install
> >     # or
> >     cd ipython && python setup.py develop
> >
> > # or one step with pip:
> >
> >     pip install -e git://github.com/ipython/ipython.git#egg=ipython
> >
> > But where you might get tripped up is updating an existing repo via `git
> > pull`, which does not update the submodule (the plan is for this to be
> > needed very rarely, but it will come up, especially now that the
> submodule
> > is new).  The gist is that if you get 404s on files in
> `static/components`
> > while running the notebook, the first thing to try is:
> >
> >     python setup.py submodule
> >
> > which just does
> >
> >     git submodule init
> >     git submodule update --recursive
> >
> > to make sure that the components submodule is up to date.
> >
> > We will try to get this as automatic as we can, so that we trip up /
> confuse
> > / annoy as few people as possible, but we are figuring things out as we
> go
> > right now.
> >
> > -MinRK
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130503/40817055/attachment.html>


More information about the IPython-dev mailing list