Google Groups Home
Help | Sign in
Wiki backend storage options
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Bradley M. Kuhn  
View profile
 More options Feb 21, 5:54 pm
From: "Bradley M. Kuhn" <bk...@softwarefreedom.org>
Date: Thu, 21 Feb 2008 17:54:39 -0500
Local: Thurs, Feb 21 2008 5:54 pm
Subject: Wiki backend storage options
I'm completely new to the Trac development community, although I've been
a Trac user for a few years.  I'm now using Trac as part of a project to
adapt various excellent hacker tools (Trac in particular) for use in a
small office environment for non-hackers.

I'm a huge fan of DAV storage, which allows those of us prefer to
manipulate files directly using SVN, but allows for other interfaces.

For this reason, I currently use for our Wiki a dead project called
SubWiki (http://subwiki.tigris.org/).  I am now moving our
infrastructure over to Trac, and don't want to lose the versatility that
a DAV-stored Wiki gives us; I have various other subsystems that rely on
it.

I am beginning to implement in Trac optional Wiki storage engines, so
that in addition to storing the Wiki in the database, it can also
instead be stored in an SVN repository via DAV.

I don't know if this idea is of interest to the Trac community or not,
but I thought I'd post here to let you know that I've begun this work.
If folks here think it is a good, bad and/or ugly idea, please let me
know.  As I begin the work, I'm going to just carry a patch of my own
against your trunk, and will post here about any progress that I make if
it is of interest to you.

Thanks for any  input, thoughts, warnings, etc. that you might have.
--

   -- bkuhn


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alec Thomas  
View profile
 More options Feb 21, 8:31 pm
From: "Alec Thomas" <a...@swapoff.org>
Date: Fri, 22 Feb 2008 12:31:15 +1100
Local: Thurs, Feb 21 2008 8:31 pm
Subject: Re: [Trac-dev] Wiki backend storage options
On 22/02/2008, Bradley M. Kuhn <bk...@softwarefreedom.org> wrote:

There are definitely others interested in this feature. Someone was
hacking on it during the sprints at last years PyCon, but didn't get too
far.

I highly suggest you maintain a compatible interface with the trac.wiki
API and trac.wiki.model.WikiPage in particular, if at all possible.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rupert.thurner@gmail.com  
View profile
 More options Feb 21, 9:04 pm
From: "rupert.thur...@gmail.com" <rupert.thur...@gmail.com>
Date: Thu, 21 Feb 2008 18:04:58 -0800 (PST)
Local: Thurs, Feb 21 2008 9:04 pm
Subject: Re: Wiki backend storage options
tagging the wiki contents including source code would be another
feature provided by implementing this - which we miss sometimes.

rupert.

On Feb 21, 11:54 pm, "Bradley M. Kuhn" <bk...@softwarefreedom.org>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Boos  
View profile
 More options Feb 22, 3:12 am
From: Christian Boos <cb...@neuf.fr>
Date: Fri, 22 Feb 2008 09:12:00 +0100
Subject: Re: [Trac-dev] Re: Wiki backend storage options
Hi Bradley,

Thanks for your interest on this topic!

There's already a patch for 0.10.x (I suppose), see:
 -
http://trac.edgewall.org/attachment/wiki/TighterSubversionIntegration...
 - http://trac.edgewall.org/ticket/1132

I wouldn't recommend that approach though, as I think the changes are a
bit too invasive.
The wiki/web_ui.py code should ideally be unchanged and the
wiki/model.py should instead get one more layer, to delegate the storage
to either a db backend or a vc backend. Ideally, that vc backend could
be any vc, i.e. you should not make direct calls to the svn api. For
that, the versioncontrol api should be extended to have some "commit"
methods - don't forget that besides DAV, you would still occasionally
want to edit your pages from the web interface!

-- Christian


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google