bzr serve --http ?
Robert Collins
robertc at robertcollins.net
Mon Jul 28 07:15:21 BST 2008
On Mon, 2008-07-28 at 17:37 +1200, Michael Hudson wrote:
> Robert Collins wrote:
> > So loggerhead is newer better brighter etc etc.
>
> Speaking of which, I just now merged the new_theme into loggerhead trunk:
>
> https://code.edge.launchpad.net/~loggerhead-team/loggerhead/trunk
Cool.
> > 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
> >
> > If this was fixed - that is, if loggerhead acted as a plugin as well as
> > a bzrlib user, then we would have a really nice integrated web server.
>
> I started on this:
>
> https://code.edge.launchpad.net/~mwhudson/+junk/bzr-loggerserve
>
> Patches welcome etc.
No promises, but I'll certainly offer suggestions :)
> > There are probably a cluster of little bugs in loggerhead and bzr to fix
> > to make this happen, but - what do you all think?
>
> It's a good idea. I'm not sure how to do it just logistically -- I
> guess 'python setup.py install'/'apt-get install loggerhead' should
> install something in /usr/.../plugins/loggerserve?
One way is to just make loggerhead into a pure plugin; serve-branches
could easily be cmd_serve_branches and you get help etc for free.
You could look at any of the numerous plugins' setup.py files for the
recipe to install a plugin.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080728/7aff27df/attachment.pgp
More information about the bazaar
mailing list