[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Storing lots of content in properties

From: Bryan Donlan <bdonlan_at_gmail.com>
Date: 2004-12-22 04:14:24 CET

On Tue, 21 Dec 2004 18:04:18 -0500, Alejandro Forero Cuervo
<azul@bachue.com> wrote:
> Hello.
> I'm making a wiki application which stores everything in a
> Subversion repository (calling libsvn directly). Thus, my
> application gets access to all the functionality provided by
> Subversion and also allows certain users to checkout the entire
> website and edit it directly rather than through the web
> interface.
> I'm trying to implement each of the standard features associated
> with wiki systems using the appropriate Subversion features. I
> am using properties for many things.
> I recently decided it was time to implement a "Talk" page.
> Basically, for each file in my repository, I want to create an
> associated file in which users can discuss the contents of the
> original file. However, I would like some input on what would be
> the correct way to implement this.
> I'm thinking of storing the entire content for the discuss files
> as a property (say "svnwiki:discuss") of their original file. I
> like this metaphor better than other options I have considered.
> However, I'm not entirely sure Subversion is designed to properly
> handle properties having long values (probably longer than the
> files' contents, in some cases). I'm I likely to run into
> problems if I use properties to store this information? Also, is
> there a way to create a diff of the contents of a property over
> different revisions?
> Thank you for your input.
> Alejo.
> http://bachue.com/alejo
> Ps: Another option would be to pick some standard naming
> mechanism for the discuss files. For example, for each file
> named /somefile/, I could name its discuss page something
> like /x-somefile/. This could lead to some name clashes and
> doesn't convince me. Also, unlike the other mechanism, it
> would allow discussion pages to have discussion pages (such as
> /x-x-x-x-somefile/).
> Psps: If you are curious, you can read more about and download
> svnwiki at:
> http://cgi.afc.no-ip.info/svnwiki.cgi/default/svnwiki

I think properties don't use deltas, but I could be wrong. Anyway,
personally, I'd just make talk pages a naming convention at the wiki
level. It's simple to implement, and you get all the history features,
etc, for free.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 22 04:16:56 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.