Re: sychronizing wiki instances? [was: "Re: mirroring a MoinMoin wiki"]
Roger Haase <[email protected]> Mon, 6 Jun 2005 11:10:56 -0700 (PDT)
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
--- Dan Crosta <[email protected]> wrote: > Is there any way to have multiple instances of a wiki, and > synchronize > them later? I know this sounds sort of stupid, so let me explain: >=20 I think Unison will do everything you want, and even runs across multiple OSes. I use it to move a copy of my production wiki running on Fedora Core 3 to my Windows XP PC. If you are always going one way (from laptop to desktop) then you can write a script to force changes. If left alone, Unison will suggest moving the most recent change to the opposite PC (and force you to choose if both have been updated since the last sync). The only tricky part for MoinMoin is you must use the "times=3Dtrue" statement to keep the RecentChanges page valid. You can get it from: http://www.cis.upenn.edu/~bcpierce/unison/ A sample config file forcing one way changes follows. This runs on the Windows PC and forces all changes from the Fedora system to be copied over and overwrites changes made to the test system. I could have avoided some of the ignore statements by pointing to the data directory rather than the wiki root directory. Roger Haase root =3D C:\home\web\Moin\drawiki\ root =3D ssh://unison@penguin//home/web/Moin/drawiki/ force =3D C:\home\web\Moin\drawiki\ ignore =3D Name .cvsignore ignore =3D Name *.py ignore =3D Name *.pyc ignore =3D Name *.cgi ignore =3D Name dict.* ignore =3D Name dicts.* ignore =3D Path data/cache ignore =3D Path data/plugins times =3D true __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sho= tput a projector? How fast can you ride your desk chair down the office luge t= rack? If you want to score the big prize, get to know the little guy. =20 Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20