Wiki pages Version Control

103 views
Skip to first unread message

Basilio

unread,
Oct 15, 2008, 10:42:36 AM10/15/08
to wikidpad
hi!

I use Wikidpad for document rapid prototyping and it would be very
interesting to have an integrated diferences check tool between two
versions in page history.
This type of feature is widely used in source code development and it
also would be very valuable if not available already in a Wiki.

Helge K

unread,
Oct 16, 2008, 3:19:29 AM10/16/08
to wikidpad
I don't think this is important because you can easily have it by
using an original sqlite-database and check it into subversion.

:) Helge - http://twitter.com/HelgeM

Basilio

unread,
Oct 17, 2008, 5:33:29 AM10/17/08
to wikidpad
I would be most appreciate if you could point directions how to do
this.

Basilio

Poojan Wagh

unread,
Oct 17, 2008, 7:53:17 AM10/17/08
to wikidpad
I briefly blogged the benefits of this:
http://poojanblog.com/blog/2008/09/wikidpad-on-multiple-computers-synced-with-git/

However, the post doesn't write any instructions. I'll try to write
something up sometime soon.

Helge K

unread,
Oct 18, 2008, 2:04:16 PM10/18/08
to wikidpad
In WikidPad's help you will find info how to convert your Wiki to
compact sqlite.

For versioning I'd say Subversion:

http://en.wikipedia.org/wiki/Subversion_(software)

A little complex at first but it's worth it. On Windows TortoiseSVN
(Google!) will make your life much easier using it.

Others might suggest Git or other things.

:) Helge

Poojan Wagh

unread,
Oct 21, 2008, 8:30:45 AM10/21/08
to wikidpad
Here's my write-up using Mercurial and TortoiseHg (a Windows-based
shell/GUI for Mercurial): http://poojanblog.com/blog/2008/10/picture-by-picture-setting-up-mercurial-with-wikidpad/

If there's enough demand, I can do a line-by-line detailing Mercurials
commands to do from the command line (for Linux and other platforms).

Helge K

unread,
Oct 24, 2008, 12:39:37 PM10/24/08
to wikidpad
Hi Poojan!

Thank you very much for your write-up! I followed it. It is a very
interesting handy alternative to the more complex version control
systems! Do you know if it possible to achieve a daily automatic
commit (without quitting WikidPad) by running some script?

Poojan Wagh

unread,
Oct 26, 2008, 5:34:50 PM10/26/08
to wiki...@googlegroups.com
Actually, I had been thinking of that for a while. There are WikidPadHooks for savedWikiWord, renamedWikiWord, and deletedWikiWord. One could call these hooks to commit changes using a python os.system() call.

The place where I get stuck is how do I figure out the name of the file that has been changed using savedWikiWord. I have posted to this list asking if there's a preferred, canonical way of getting the file name, but no one has responded.

Of course, I shouldn't have let that stop me. It shouldn't be that hard to get the wiki file name from the WikiWord name and the Wiki directory (knowing we are using an original SQLite format), but I got busy.

P.S. Glad you liked the post!
--
Poojan
https://wagh.pip.verisignlabs.com

Michael Butscher

unread,
Oct 28, 2008, 11:35:35 AM10/28/08
to wiki...@googlegroups.com
Poojan Wagh wrote:
> Actually, I had been thinking of that for a while. There are WikidPadHooks
> for savedWikiWord, renamedWikiWord, and deletedWikiWord. One could call
> these hooks to commit changes using a python os.system() call.
>
> The place where I get stuck is how do I figure out the name of the file that
> has been changed using savedWikiWord. I have posted to this list asking if
> there's a preferred, canonical way of getting the file name, but no one has
> responded.

Untested, but

wikidPad.getWikiData().getWikiWordFileName(wikiWord)

should help.


This call will fail on a compact_sqlite database.


Michael

Reply all
Reply to author
Forward
0 new messages