Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bbc5d93

Browse files
committed
git documentation: remove README.git and add to FAQ
svn path=/trunk/matplotlib/; revision=6488
1 parent 47b5aff commit bbc5d93

2 files changed

Lines changed: 42 additions & 29 deletions

File tree

README.git

Lines changed: 0 additions & 29 deletions
This file was deleted.

doc/faq/installing_faq.rst

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,49 @@ and build and install as usual with::
106106
> cd matplotlib
107107
> python setup.py install
108108

109+
Install from git
110+
================
109111

112+
There is an experimental `matplotlib github mirror`_ of the subversion
113+
repository. To make a local clone it the directory ``mpl.git``, enter
114+
the following commands::
115+
116+
# This will create your copy in the mpl.git directory
117+
git clone git://github.com/astraw/matplotlib.git mpl.git
118+
cd mpl.git
119+
git config --add remote.origin.fetch +refs/remotes/*:refs/remotes/*
120+
git fetch
121+
git svn init --trunk=trunk/matplotlib --tags=tags https://matplotlib.svn.sourceforge.net/svnroot/matplotlib
122+
123+
# Now just get the latest svn revisions from the SourceForge SVN repository
124+
git svn fetch -r 6300:HEAD
125+
126+
.. _matplotlib github mirror: http://github.com/astraw/matplotlib
127+
128+
To update your git repository with the latest svn updates from SourceForge::
129+
130+
git svn rebase
131+
132+
To list what changes will be committed to svn::
133+
134+
git svn dcommit -n
135+
136+
To commit your changes to svn::
137+
138+
git svn dcommit
139+
140+
A note about git write access
141+
-----------------------------
142+
143+
The matplotlib developers need to figure out if there should be write
144+
access to the git repository. This implies using the personal URL
145+
(``[email protected]:astraw/matplotlib.git``) rather than the public URL
146+
(``git://github.com/astraw/matplotlib.git``) for the
147+
repository. However, doing so may make life complicated in the sense
148+
that then there are two writeable matplotlib repositories, which must
149+
be synced to prevent divergence. This is probably not an
150+
insurmountable problem, but it is a problem that the developers should
151+
reach a consensus about. Watch this space...
110152

111153
Backends
112154
========

0 commit comments

Comments
 (0)