]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
on ikiwiki with gitolite
authorhttp://christian.amsuess.com/chrysn <http://christian.amsuess.com/chrysn@web>
Thu, 30 Jan 2014 15:24:34 +0000 (11:24 -0400)
committeradmin <admin@branchable.com>
Thu, 30 Jan 2014 15:24:34 +0000 (11:24 -0400)
doc/tips/Hosting_Ikiwiki_and_master_git_repository_on_different_machines.mdwn

index baf7ac6c8272447a3084d9bede6dea072a7dc737..35feacb714f6d7d3355bb06eb3c2c519b653ec99 100644 (file)
@@ -149,3 +149,8 @@ the IkiWiki machine, and here is the deadlock. Explanations of the command:
 - *Using [[gitolite|https://github.com/sitaramc/gitolite]] to manage
   repositories on the git machine* Simply replace the manipulations of git on
   the git machine by the corresponding manipulations using gitolite.
+    * With gitolite, you can use this line in a `post-update` hook:
+
+        `[ x"$GL_USER" = x"`*`gitolite-user`*`" ] || wget ...`
+
+        thus, you filter out precisely the events that originate from the server-to-be-pinged, no matter what the commit id says. (For example, if you push commits you created on a local CGI ikiwiki, they'd be called '@web' as well).