[bzrweb PATCH] bzrserver

Lalo Martins lalo at laranja.org
Sat May 21 11:56:26 BST 2005


I think I remember reading about possibly running a stand-alone bzrweb. 
  It's certainly useful for me for debugging purposes, as I'm not quite 
feeling like installing apache on my machine.

This patch adds such a beast.  It's based on BaseHTTPServer from the 
standard library.  Just run `python bzrserver.py`, optionally providing 
a port number.

Notes:

- bzrserver locks (read-lock) your repositories.  You won't want to keep 
it running.  ;-)

- it loads bzrweb (and consequently bzrweb.conf), bzrlib, and the css, 
on startup.  So if you make changes to any of these, they won't appear 
until you restart it.  Just kill it with a ctrl-c and run it again.

best,
                                                Lalo Martins
--
   It doesn't bother me that people say things like
    "you'll never get anywhere with this attitude".
    In a few decades, it will make a good paragraph
       in my biography. You know, for a laugh.
--
http://www.laranja.org/                mailto:lalo at laranja.org
          pgp key: http://www.laranja.org/pessoal/pgp
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bzrserver.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050521/8ef82f01/attachment.diff 


More information about the bazaar mailing list