]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
mutiple setup not possible
authorhttps://launchpad.net/~beaufils <beaufils@web>
Mon, 1 Jun 2015 12:34:45 +0000 (08:34 -0400)
committeradmin <admin@branchable.com>
Mon, 1 Jun 2015 12:34:45 +0000 (08:34 -0400)
doc/tips/laptop_wiki_with_git/discussion.mdwn

index 16e48138359ba7fa5bbf4a4f2f914110f8e64bb9..b44285d5c6321aca914b1f2ab1bda034771124b1 100644 (file)
@@ -23,3 +23,7 @@ Managing two setup files (one for the server and one for the laptop) is however
 One solution is to allow multiple use of `--setup` on the command line : the first is the main setup file (the one from the server, e.g. `main.setup`) and the second is the specificities of the laptop clone (e.g `laptop.setup`). In such a situation ikiwiki is called with `ikiwiki --setup main.setup` on the server and `ikiwiki --setup main.setup --setup laptop.setup` on the laptop (merging both configuration data in order).
 
 This solution seems to work, but are there any bad side effects which I miss doing that (I thought that in IkiWiki code only one setupfile is keeped) ? --[[bbb]]
+
+Unfortunatley that does not fully work, as soon as `cgi_wrapper` is defined in setup file since each time ikiwiki reads a setup file it adds (not replace) a wrapper in `$config{wrappers}`.
+
+I am still trying to find an idea to share config data through server and laptop. --[[bbb]]