bzr serve --http ?

Martin Pool mbp at canonical.com
Tue Jul 29 12:38:34 BST 2008


On Mon, Jul 28, 2008 at 4:14 PM, Jonathan Lange <jml at mumak.net> wrote:
> On Mon, Jul 28, 2008 at 12:42 PM, Robert Collins
> <robertc at robertcollins.net> wrote:
>> So loggerhead is newer better brighter etc etc.
>>
>> I think its nicer than the hg webserve in nearly every regard these
>> days; except for one rather niggly thing:
>> '$bzr serve --http'
>> bzr: ERROR: no such option: --http
>
> It'd be great to have such a simple way of launching Loggerhead.
>
> I don't think it should be an option to the 'bzr serve' command
> though. I'd expect the command you suggested to launch a
> smartserver-enabled HTTP server. Launching Loggerhead should probably
> get its own command; perhaps 'bzr webserve' or 'bzr webui'?

I don't think you even need an option at all.  It would be quite
feasible to serve either bzr+tcp or http over the same port as both of
them (iirc) start with a line that identifies the request.  It would
not be unprecedented either; my little hp inkjet printer does it.

Or maybe you should have options, defaulting to on, as to whether it
will serve dumb files, bzr hpss, and a pretty web interface.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list