[PATCH 0/1] Bazaar web interface

Goffredo Baroncelli kreijack at alice.it
Sat Nov 12 10:25:58 GMT 2005


Hi all,

I announce another revision of the bazaar web interface; 
the major change is the support for archiving on the fly the repository 
( not enabled in my web serve ).

Martin, what about including this interface in the main tree, even under the 
plugins/ directory ?
This code has a lot of interesting functionality: the ability to 
diff between two revision, to handle remote repository, and to
jump between revision are quite useful.

And I think that is time that bazaar would have a web interface.

Moreover I need a bigger feedback in order to improve the interface and
bugfix the code: so is it possible to plan the introduction in the main tree 
before the 0.7 ? 
Do not hesitate to contact me if you need changes.

Thank in advance
Goffredo



Features:
( you can read the full README at 
http://goffredo-baroncelli.homelinux.net/bzr-docs/README.html)

* Display the changelog of the repository 
  http://goffredo-baroncelli.homelinux.net/bzr/ or the changelog of a file 
  http://goffredo-baroncelli.homelinux.net/bzr/?cmd=changelog;rev=;pathrevid=;path=bzrlib/plugins/webserve/hgweb.py

* Display the information about revision ( file changed/removed/renamed/added )
  and a colorized diff; it is also possible to jump to the involved files 
  http://goffredo-baroncelli.homelinux.net/bzr/?cmd=revision;rev=

* Display a file in the annotation mode http://goffredo-baroncelli.homelinux.net/bzr/?cmd=content;path=bzrlib/plugins/webserve/README.html;pathrevid=;rev=

* Display the inventory of the repository 
  http://goffredo-baroncelli.homelinux.net/bzr/?cmd=inventory;pathrevid=;path=bzrlib/plugins/webserve/;rev=

* Provide the changelog ( also on file basis ) via rss 
  http://goffredo-baroncelli.homelinux.net/bzr/?cmd=changelog;style=rss

* Jump from an annotation to the linked revision

* Search engine on the changelog 
  http://goffredo-baroncelli.homelinux.net/bzr/?rev=&pathrevid=None&path=None&cmd=search&w=annotate#

* Diff between two revisions: 
  http://goffredo-baroncelli.homelinux.net/bazaar/hgweb_devel?cmd=diff;otherrevid=ghigo@therra.bhome-20050928175933-8d219cdf3b76841d;rev=ghigo@therra.bhome-20051106211328-87d304e1e7145b9d;pathrevid=ghigo@therra.bhome-20051106211328-87d304e1e7145b9d;path=bzrlib/plugins/webserve/templates/revision.tmpl

* Download the file content 
  http://goffredo-baroncelli.homelinux.net/bzr/?cmd=content;rev=;path=NEWS;pathrevid=;style=raw

* Multiple repositories support http://goffredo-baroncelli.homelinux.net/bazaar

* Web interface for remote repository: try

    bzr webserve --port=9099 "knit" http://people.ubuntu.com/~mbp/bzr.mbp.knit

  and go to http://127.0.0.1:9099....

* Download of a tar/zip archive of the selected revision.



Bug

* A pathname can't contain a ';'

Todo

* BugFix, BugFix, BugFix
* Implement raw diff and raw revision
* Group the code which require a call to the bzr library into specific
  functions.

Download
You can download a tar archive of the plugin at the following address: 

	http://goffredo-baroncelli.homelinux.net/bzr/tar/bzr-webserve_ghigo@therra.bhome-20051112094534-a3dc251bd2c21c6e.tar.gz

You can pull the source at the following address:

        bzr pull http://goffredo-baroncelli.homelinux.net/bazaar/hgweb_devel



-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack AT inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9




More information about the bazaar mailing list