diff options
author | http://pixel.dreamwidth.org/ <http://pixel.dreamwidth.org/@web> | 2010-10-27 20:51:34 +0000 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-27 20:51:34 +0000 |
commit | 43e399d7d221d060b76e86dce72beb5b04eea132 (patch) | |
tree | 449cf4537f72ccdc8245ce954e1a6aea06129023 | |
parent | a12dd235ea6afff3540da3f5e66e7abbadaa6944 (diff) |
-rw-r--r-- | doc/forum/Moving_wiki.git_folder__63__.mdwn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/forum/Moving_wiki.git_folder__63__.mdwn b/doc/forum/Moving_wiki.git_folder__63__.mdwn new file mode 100644 index 000000000..f3cc6375d --- /dev/null +++ b/doc/forum/Moving_wiki.git_folder__63__.mdwn @@ -0,0 +1,17 @@ +I folks, I created a simple wiki to keep notes and references for projects, it's worked quite nice so far. I decided to use git as it's what I use daily to manage code, and it's available on all my machines. + +Anyway, I wanted to move all the wiki source stuff into a subfolder so that it stops cluttering up my ~ directory. However, there seems to be a problem with moving wiki.git (I moved wiki, wiki.git and wiki.setup) and I'm not sure where to tell ikiwiki that the git directory has been moved. I changed + + srcdir => '/home/pixel/.notebook/wiki', + git_wrapper => '/home/pixel/.notebook/wiki.git/hooks/post-update', + +and that seems to be fine. However when I go to run ikiwiki --setup things go wrong: + + pixel@tosh: [~ (ruby-1.9.2-p0)] ➔ ikiwiki -setup .notebook/wiki.setup + successfully generated /home/pixel/public_html/wiki/ikiwiki.cgi + successfully generated /home/pixel/.notebook/wiki.git/hooks/post-update + fatal: '/home/pixel/wiki.git' does not appear to be a git repository + fatal: The remote end hung up unexpectedly + 'git pull origin' failed: at /usr/share/perl5/IkiWiki/Plugin/git.pm line 193. + +I've gone through wiki.setup and nothing has jumped out as the place to set this, have I missed something? |