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

Re: side question

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-03-30 00:06:20 CEST

On Thu, Mar 29, 2001 at 09:47:24AM -0600, Ben Collins-Sussman wrote:
> Greg... just curious. What does it take to be able to "casually
> browse" the head revision tree through a normal web browser?

You can fetch any of the files right now. The directories are the problem.

> I mean, is it just a matter of teaching mod_dav_svn to generate a
> nice-looking HTML response when it receives a generic HTTP GET
> request?

Yup. That would be it.

Hmm... there is also a change to mod_dav that is needed. It assumes that a
directory cannot respond to GET, even if the backend (mod_dav_svn) wants to
do so.

So, two things:

1) tweak mod_dav to allow backends to generate content for collections
2) change mod_dav_svn's open_stream response to generate <whatever> for a
   collection.

I would suggest that we generate a *very* simple XHTML page. That would
allow a browser to usefully browse, yet also let code tear apart the XML for
automatic processing.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:26 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.