[ANNOUNCE] Webserve, new release

Nicholas Allen nick.allen at onlinehome.de
Fri Nov 24 20:43:15 GMT 2006


Hi Goffredo,

I tried using your webserve interface. I issued the following command as
stated in the README.txt:

bzr webserve --port=9099 "Official repository"
http://bazaar-vcs.org/bzr/bzr.dev

but I get the following crash on the terminal:

localhost - - [24/Nov/2006 21:38:47] "GET / HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 34335)
Traceback (most recent call last):
  File "SocketServer.py", line 222, in handle_request
    self.process_request(request, client_address)
  File "SocketServer.py", line 241, in process_request
    self.finish_request(request, client_address)
  File "SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "SocketServer.py", line 521, in __init__
    self.handle()
  File "BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "/home/nick/.bazaar/plugins/webserve/hgweb.py", line 1120, in do_GET
    self.do_POST()
  File "/home/nick/.bazaar/plugins/webserve/hgweb.py", line 1115, in do_POST
    self.do_hgweb()
  File "/home/nick/.bazaar/plugins/webserve/hgweb.py", line 1179, in
do_hgweb
    hg.run(self.wfile)
  File "/home/nick/.bazaar/plugins/webserve/hgweb.py", line 1049, in run
    self.do_cmd(url, args)
  File "/home/nick/.bazaar/plugins/webserve/hgweb.py", line 923, in do_cmd
    self.refresh()
  File "/home/nick/.bazaar/plugins/webserve/hgweb.py", line 314, in refresh
    self.revision_history = WebserveRevisionList(self.branch)
  File "/home/nick/.bazaar/plugins/webserve/hgweb.py", line 64, in __init__
    self._load_data( )
  File "/home/nick/.bazaar/plugins/webserve/hgweb.py", line 75, in
_load_data
    self._last_revid, generate_revno=True)
TypeError: merge_sort() got an unexpected keyword argument 'generate_revno'
----------------------------------------

I am using the latest head version today as I branched from the devel
repository...

Cheers,

Nick

Goffredo Baroncelli wrote:
> Hi all,
> 
> I announce a new (major) release of webserve: a web interface for bazaar.
> The branch is considered as development branch still, but I hope to release 
> that branch as stable soon.
> 
> The major changes respect the previous (0.12) are:
> - the code was redistributed in several files in order to avoid the old one 
> monolithic file ( the old hgweb.py file was about 1900 lines )
> - it was implemented a self test suite. Until now, 20 tests are implemented
> - the HTML output was re-tested on the w3c sites in order to check the 
> compatibility with the latest standard ( all the pages tested passed the 
> control )
> - a new changelog was implemented, in order to permit a better browsing of the 
> history:
>    * the history is displayed from the latest revision, following
>      the leftmost parent. So the merged revisions aren't displayed.
>    * for every revision all parents are displayed. You can browse the log
>      of merged revision, starting from any parent clicking on the [L] link. 
>    * in every page is displayed also the "merge points" (where 
>      exist ) of the displayed revisions
>    * in the revision page, both the parents and the children are displayed
>    * near the revision-id, the dotted revno is displayed also
> 
> 
> Comments are welcome, you can see ( and pull ) this interface in action at
> 
>    http://goffredo-baroncelli.homelinux.net/bazaar-dev/bazaar-webserve-dev
> 
> 
> the readme file is at:
> 
> http://goffredo-baroncelli.homelinux.net/bazaar-dev/bazaar-webserve-dev?cmd=content;rev=;path=docs/README.txt
> 
> 
> For comparison pourpose you can see the old web interface at:
> 
>    http://goffredo-baroncelli.homelinux.net/bazaar/bazaar-webserve-dev
> 
> 
> In any case you can browse all the branches at:
> 
>    http://goffredo-baroncelli.homelinux.net/bazaar-dev
> 
> 
> comments are welcome
> 
> Goffredo





More information about the bazaar mailing list