A while ago, John Hunter wrote:

> We'd like to transition our VCS to git, and this impacts our release
> schedule because of the "get_sample_data" support in the trunk which
> currently pulls the data from svn but would have to be refactored to
> pull from [git] and we'd like to make the transition before we do a
> release.

Has it been decided where the master repository would be hosted? The
current code seems to handle at least github just fine if you just
replace the base URL in cbook.py:

-        baseurl = 
'http://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/sample_data/'
+        baseurl = 'http://github.com/jkseppan/mpl-sample-data/raw/master/'

(I just created that repository for testing purposes, and made a small
change to a file when testing, so it shouldn't become the final
repository.)

The code is really not specific to any version control system, but just
assumes that the files can be retrieved from an HTTP server that has
some basic conditional-get support.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


------------------------------------------------------------------------------

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to