]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/rcs/git/discussion.mdwn
web commit by http://madduck.myopenid.com/: added git pitfalls link
[ikiwiki.git] / doc / rcs / git / discussion.mdwn
index 3f8fcf992ff26871771f772b5546360864f54bae..57ec252d7548673aef15116670862aa57baf2286 100644 (file)
@@ -7,7 +7,7 @@ Otherwise, I hope migrating is just importing the svn repo to git and then setti
 ### Solution ###
 **Basis:** 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. 
+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:
 
@@ -15,14 +15,16 @@ Then, in my git repository, I added this `post-commit` hook to refresh the wiki:
 
        # to refresh when changes happen
 
-       #!/bin/sh
-
-       # to refresh when changes happen
-
        BASE="/path/to/base/dir"
        SETUPFILE="$BASE/ikiwiki.setup"
        UNDERLAYDIR="$BASE/underlay"
 
        ikiwiki --refresh --setup "$SETUPFILE" --underlaydir="$UNDERLAYDIR" --verbose   
 
-UlrikSverdrup
\ No newline at end of file
+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.
+
+UlrikSverdrup (This is now crossposted to the above mentioned [website][ulrikweb])
+
+[ulrikweb]: http://www.student.lu.se/~cif04usv/wiki/stuff/git.html
\ No newline at end of file