aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawkickHAzX_uVJMd_vFJjae6SLs2G38URPU <Kalle@web>2013-09-22 05:35:17 -0400
committeradmin <admin@branchable.com>2013-09-22 05:35:17 -0400
commita655dc883ce83ef274ca1926de21e81ec6a6f448 (patch)
tree0298b63b6df53d04110024bf214c4de079e495de
parentda327be29ccf2d3538182d98653f1c5109cc6601 (diff)
downloadikiwiki-a655dc883ce83ef274ca1926de21e81ec6a6f448.tar
ikiwiki-a655dc883ce83ef274ca1926de21e81ec6a6f448.tar.gz
ikiwiki git-annex example online
-rw-r--r--doc/todo/git-annex_support/discussion.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/git-annex_support/discussion.mdwn b/doc/todo/git-annex_support/discussion.mdwn
new file mode 100644
index 000000000..5d1320af3
--- /dev/null
+++ b/doc/todo/git-annex_support/discussion.mdwn
@@ -0,0 +1,9 @@
+Hi,
+
+I'm currently using git-annex with ikiwiki for a website of mine. [stockholm.kalleswork.net](http://stockholm.kalleswork.net). The site relies heavily on the osm and album plugins. The site just went online and is a bit of an experiment, things seem a bit fragile but works for now. (ikiwiki 3.20130904.1)(git-annex 4.20130904.1)
+
+The trick I had to do to get git-annex, ikiwiki and the album plugin to work was to initialize an annex remote in the `$srcdir`. Then block the bare origin (ie wiki.git folder) with `annex-sync = false` and `annex-ignore = true` on **both** the server and the working laptop. This is to avoid polluting the wiki.git bare repo with annex stuff.
+
+Another critical thing for this to work was to set the `$srcdir` on the server to direct mode `git-annex direct` before adding any content anywhere. On the laptop I can use indirect mode without problems.
+
+For now syncing annex, pushing updates to mdwns etc all seem to work and the album plugin picks up images etc. I'm sure there are problems ahead with this setup but it does seem to work. I barely know how to use git, git-annex and ikiwiki and much less understand how it works behind the scenes. So do let me know if there are fatal flaws in my setup ;) -- Kalle