[SciPy-dev] The future of SciPy and its development infrastructure

Pauli Virtanen pav at iki.fi
Mon Feb 23 21:42:21 EST 2009


Mon, 23 Feb 2009 19:40:27 -0600, Robert Kern wrote:
[clip]
> Pauli, you seem familiar with setting up a git-to-svn bridge. Can you do
> this?

Sure. I'll need a box on which to deploy the update script, though.
Would one (which?) of the virtual hosts of conference.scipy.org do?

I'd guess what's needed of the web server would be only to enable CGI for 
a single script. When poked, it would then fetch new stuff from SVN and 
either

- Push to github or some such service
- Push to a HTTP location on the machine, served statically
- Push to a HTTP location on the machine, served by gitweb (cgi)

The first option is probably the easiest, if account/password issues can 
be sorted out. The second option is probably enough for practical 
purposes.

> What do you need done one the actual SVN server to support this?

A post-commit hook poking a CGI script somewhere should be enough:

	/usr/bin/curl -d "revision=$REV&repository=$REPOS" \
		http://host/path/to/script.cgi &

If all this runs on the same machine as the SVN server, going over the 
network can be skipped, too.

Anyway, I'll think about the details tomorrow.

-- 
Pauli Virtanen




More information about the SciPy-Dev mailing list