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