]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/setup/discussion.mdwn
web commit by http://weakish.int.eu.org/: HTML::Template can keep things simple
[ikiwiki.git] / doc / setup / discussion.mdwn
index b457d3e60ac1687b9f10c34208b4e949b5b7cea1..131bda0266a8ab5604165ab0bb4b21bc79abde08 100644 (file)
@@ -7,13 +7,17 @@ directory should that be - `$SRCDIR?` --Andy
 > the directory and makes it into a repository. The setup instuctions have
 > examples of doing this. I don't see anything unclear. --[[Joey]]
 
-Sorry, was not precise enough. It does if you are using the git option. I believe this is partially explained on the rcs/git/ page. However I'm still not totally clear where I should run the command when using git. If I should be in $SRCDIR then updating the instructions to something like
+Sorry, was not precise enough. It does if you are using the git option. I
+believe this is partially explained on the rcs/git/ page. However I'm still
+not totally clear where I should run the command when using git. If I
+should be in $SRCDIR then updating the instructions to something like
 
     REPOSITORY=~/wiki.git
     cd $SRCDIR
-    ikiwiki-makerepo git $SRCDIR $REPOSITORY
+    ikiwiki-makerepo git $SCDIR $REPOSITORY
 
-might clear things up a little. Apologies if I'm being a bit dim, learning ikiwiki and git at same time :) 
+might clear things up a little. Apologies if I'm being a bit dim, learning
+ikiwiki and git at same time :) 
 
 Have tried 3 options
 
@@ -28,6 +32,17 @@ n.b. svn version of command worked fine :)
 
 --Andy
 
+>      Initialized empty shared Git repository in /home/deploy/tmp/
+>      Initialized empty Git repository in .git/
+>      fatal: '/home/deploy/tmp/repo': unable to chdir or not a git archive
+
+Looks like your git does not support GIT_DIR being used with git-init. I
+see some mentions of changes in git's changelog for 1.5.3 that look
+relevant. I've changed ikiwiki-makerepo to use a method more portable to
+older versions of git. --[[Joey]]
+
+Many thanks Joey, upgraded my git, and now have working iki :) -- Andy
+
 ----
 
 It isn't intended that .ikiwiki be versioned, is it? Do you have a svn:ignore set?