Loggerhead question

John Arbash Meinel john at arbash-meinel.com
Fri Oct 23 15:09:50 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matt Nordhoff wrote:
> Russel Winder wrote:
>> Is there a way of setting up Loggerhead with Apache that allows the same
>> URL to be used for browsing using a browser and branching using bzr or
>> Bazaar Explorer.
>>
>> I have Loggerhead working fine on xxxx:8080/Bazaar/Project and pointing
>> Epiphany at it does everything required.  However doing "bzr info
>> xxxx:8080/Bazaar/Project" gives the "not a branch" error.
>>
>> Thanks.
> 
> You can configure Apache to handle requests with "/.bzr/" in them itself
> instead of passing them to Loggerhead.
> 
> Or, Loggerhead supports serving branches over HTTP, over both the dumb
> and smart servers. Maybe your Loggerhead is too old for that?
> 

What implementation does loggerhead use for serving branches over a dumb
http request?

My concern is that it is using the built-in HTTPServer (or whatever it
is called), which does *not* support range requests.

Which means that every time we ask "give me 100 bytes in the middle of
this pack file" it returns "here are the 100MB for the pack file, you
sort it out".

Which "works" for some value of working. I would offer that the value of
working under those conditions is such that you should probably disable
it, and require using the smart requests...

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrhuS4ACgkQJdeBCYSNAANCkQCeJaMv7tTNL01O+R52yjlzoPV6
mJcAn1a75YJyhiEwetF+SJ5eSbiQVcDO
=DOBT
-----END PGP SIGNATURE-----



More information about the bazaar mailing list