]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/ikiwiki.setup_require_blank_rcs_to_work_as_cgi_only.mdwn
response - you are correct, ULs require >= 1 LI children
[ikiwiki.git] / doc / bugs / ikiwiki.setup_require_blank_rcs_to_work_as_cgi_only.mdwn
1 I have a mobile setup of ikiwiki.
2
3 * On my server, I set up an ikiwiki + svn
4 * On my laptop, I did a check out of the svn and used it as the src of a local ikiwiki (local apache server)
5
6 I wanted to be able to change my wiki off line with cgi only, and just commit as I come back online.
7
8 During the laptop setup, I think that the setup was confused by the fact that my src directory is a versionned one.
9 I had to setup explicitely rcs => "" to force it to work the way I wanted.
10
11 Should it be documented ?
12
13 >> `rcs => ""` is only needed with ikiwiki before version 1.37. As of 1.37,
14 >> you have to manually enable a `rcs => "svn"` etc to get it to use a
15 >> revision control system. So no, I don't need to document the `rcs => ""`
16 >> thing. --[[Joey]]
17
18 > after some tests, the main trouble with this setup is that it won't make the "svn add" for the new files.
19 > I wonder what should be the setup if I want to use ikiwiki off line on the laptop and then commit back the changes, 
20 > without having to take care of the new files before svn commit-ting...
21 > --hb (hugues)
22
23 >> Hi. It sounds like you want a distributed RCS, where you can branch and commit changes locally and periodically
24 >> push changes back. What I do is use svk, which is a distributed RCS based on svn, edit using text editors on my
25 >> laptop, and periodically `svk push` up to the server, which triggers a rebuild on the server. I think [[Joey]] 
26 >> works this way too, but I'm not sure. If you don't like editing pages "by hand" then maybe you should look at
27 >> [[rcs/git]] or [[rcs/mercurial]] -- they should theoretically allow you to run apache on a working copy which is itself
28 >> a branch of a working copy running on another machine, but I haven't used them so I don't know. --Ethan
29
30 >>> Well, by hand editing is just what I'm making sometime. it's just using subversion, in fact.
31 >>> But, yes, someone told me about git, which seems to allow what you are describing. In fact, my needs are typically
32 >>> that I want to have 2 ikiwiki web-frontend on two (or more) different machines, with one machine sometimes off-line.
33 >>> Imagine a team of auditor that want to report and collaborate on a wiki, but are not allways connected.
34
35 >>>> I don't use svk, I just let the ikwiki on my laptop update a source
36 >>>> directory that's a subversion checkout, and I manually commit changes
37 >>>> back to the central wiki using svn. Yes, this does include manually
38 >>>> adding new files. It would be possible to hack the svn module so that it
39 >>>> added new files, but did not ever try to commit. Maybe call that a halfsvn
40 >>>> module or something.
41 >>>>
42 >>>> Of course git may be a better fit. It would also be possible to add
43 >>>> svk support to ikiwiki, although I've not done it yet. --[[Joey]]
44
45 Looks like this is not really a bug, so I'm considering it [[bugs/done]]..
46 --[[Joey]]