This website is tracked with Git.
How to migrate ikiwiki from svn to git
Axiom: I only use ikiwiki as a wiki compiler. No cgi or anything.
I imported my svn repo into git with git-svnimport. I reconfigured ikiwiki to not use any rcs. In ikiwiki.setup, I have the git repository as srcdir, and a suitable dstdir.
Then, in my git repository, I added this post-commit hook to refresh the wiki:
#!/bin/sh # to refresh when changes happen BASE="/path/to/base/dir" SETUPFILE="$BASE/ikiwiki.setup" ikiwiki --refresh --setup "$SETUPFILE" --verbose
Positives
- Containment: I only have the above $BASE directory to backup: it contains the srcdir and setup files. No external svn repository. This means that suddenly git and ikiwiki pair into a stand-alone self-contained wiki compiler kit.
See also git at ikiwiki.info