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

Re: DB_INCOMPLETE solved, small new problem appearing though

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-08-31 06:06:08 CEST

On Thu, Aug 30, 2001 at 07:35:28AM +0100, Joe Orton wrote:
> On Thu, Aug 30, 2001 at 02:58:37AM +0200, Branko �ibej wrote:
> > Bravo! My hat's off.
> >
> > I'm jumping up and down with glee right now, because I can actually
> > browse the repository on svn.collab.net with an ordinary web browser.
> > And it's fast, doesn't feel like ther's a 100meg database sitting behind it.

"Fast" is a good thing, but I don't think we're going to set any requests-
per-second record :-) It is quite cool that it is fast even *before* we
have spent any time worrying about it.

(and I have an item or two on the table to speed it up even more)

[ some future day, we may want to analyze the performance, but it should be
  quite fine for a while; the above-mentioned item is adjusting the mod_dav
  API to ask for buckets from the backend (much more efficient than read
  loops); it would also be good for a request to do an "internal" redirect
  to the version resource; that resource can be cached, unlike the "public"
  URL; internal Apache caches can then satisfy future requests without
  hitting the Berkeley DB; damn I'm happy to be hosted in Apache... ]

> > (Well, almost: for directories, I get "No default response to GET for a
> > collection.". Fix that, and we've got browsing on HEAD for free. (Hmm.

That one is a bit tough. mod_dav shuts down collection requests even before
the repository gets a chance. Need to think more on that one.

> > Looking at one of the gifs in notes/guis/pics, I get a textual
> > representation. Guess what "websvn" will do with the mime-type props? :-))

Should be a reasonably simple fix to repos.c::dav_svn_set_headers(), so that
browsing a jpg will return a real image :-)

> You can point your favourite DAV client at it too :)
>
> $ cadaver svn.collab.net/repos/svn/
>
> (though cadaver is a bit unhappy about the lack of properties exposed)

What properties, specifically? IIRC, there are only a few you look for. It
shouldn't be hard at all to update the support for just those.

[ needless to say, since the SVN client hasn't needed them, I haven't spent
  effort to round out the dav support; but we certainly can do that... ]

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
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:37 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.