<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title>Fun with ones and zeros - git</title>
<description><![CDATA[Barry's notes on computer software and hardware]]></description>
<link>/blog/tags/git</link>
<lastBuildDate>Fri, 24 Apr 2026 06:13:33 -0700</lastBuildDate>
<item>
<title>q2java and qwpython on GitHub</title>
<link>/blog/entries/q2java-and-qwpython-github</link>
<pubDate>Mon, 19 Mar 2012 17:01:00 -0700</pubDate>
<author>bp@barryp.org (Barry Pederson)</author>
<description><![CDATA[<p>Quite some time ago I worked on a couple interesting projects, <a href="/static/q2java/">q2java</a> which embedded Java into a Quake2 server and then allowed for games to be written in Java; and <a href="http://qwpython.sourceforge.net/">qwpython</a>, which wrapped up the QuakeWorld dedicated server engine as a Python module and came with a QuakeC -&gt; Python translator, so existing QW games like CTF could be converted to Python and hacked on from there.</p>
<p>Some time back I had created Subversion repositories of the various releases of those packages (didn't really know or use VCSes back then), and had them on an Apache mod_svn server.   Well, SVN is kind of a PITA, and I'd like to not have to keep that server config going, so I looked at converting those repos to something else.</p>
<p>First tried <a href="https://pypi.python.org/pypi/hgsvn">hgsvn</a>, which has worked pretty decently for smaller or simpler repos, but something in the q2java one make it crap out.  </p>
<p>Next tried the <a href="http://mercurial.selenic.com/wiki/ConvertExtension">hg convert extension</a>, which worked better, but only when using a local SVN URL (like file://...), and then didn't manage to pick up the tags correctly.</p>
<p>Decided to give Git a try, first with <a href="https://john.albin.net/git/convert-subversion-to-git">Converting a Subversion repository to Git</a> (in seven steps).  It worked, but was kind of a nasty process for a Git newbie to wade through.  The tags still didn't seem quite right.</p>
<p>Finally, realized GitHub has its own Subversion import built right into the website, and gave that a try.  Very very nice, made importing the svn repo a breeze, and seems to have gotten the tags just right.  Only took two steps: enter the svn URL, fill in a translation table of svn userids to git authors.  I'd recommend this highly for anyone looking to move off svn.  See the <a href="https://github.com/barryp/q2java">q2java</a> and <a href="https://github.com/barryp/qwpython">qwpython</a> results here.  </p>]]></description>
</item>
</channel>
</rss>