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

Son of DAV Questions

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-01-03 21:03:59 CET

So normally, when ra_dav does an update, it requests a custom report.
mod_dav_svn sends back a report that looks mostly like an XML
representation of an editor drive. ra_dav parses this report, and
thereby knows which file contents and properties to fetch.

It seems that whenever the report contains an 'add_file' or 'add_dir',
ra_dav unconditionally fetches all props for the object. Otherwise,
ra_dav only fetches an object's props when the report says it needs
to.

Here's the issue: we want these three new DAV properties
(version-name, creationdate, creator-displayname) to be
unconditionally retrieved for *every* item mentioned in the update
report. I can think of 3 ways to do this:

   1. Have ra_dav automatically fetch the three props for each item
       in the report. Of course, that's an extra request per item,
       above and beyond the GET it is doing on each item.

   2. Have the report tell ra_dav to fetch the three props. Pretty
       dumb, since this is just a more complex version of #1.

   3. Embed the three props/values next to each item in the report.

Any objections to #3? gstein?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:54 2006

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

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