bazaar web interface

Martin Pool mbp at sourcefrog.net
Thu Jan 5 00:11:13 GMT 2006


On Wed, 2006-01-04 at 17:52 -0600, John Arbash Meinel wrote:
> Goffredo Baroncelli wrote:

> > Yes: the code doesn't access to the working dir, so if the files exist or not 
> > shouldn't matter.
> > 
> > For example, after your email I removed the file from the working dir of the 
> > repository located at http://goffredo-baroncelli.homelinux.net/bazaar/bzr-fileid-involved :
> > but you can browse the log/inventory/content/diff without problem...

Very nice!

> The only problem being bandwith, since each line is prefixed with:
> <tr class="parity0"><td class="annotate"><a
> title="ghigo at therra.bhome-20051101184844-78e20f6fdc4d9dae"
> href="?cmd=revision;rev=ghigo at therra.bhome-20051101184844-78e20f6fdc4d9dae">55</a>:<a
> title="ghigo at therra.bhome-20051101184844-78e20f6fdc4d9dae"
> href="?cmd=revision;rev=ghigo at therra.bhome-20051101184844-78e20f6fdc4d9dae">&#103;&#104;&#105;&#103;&#111;&#64;&#116;</a></td><td><pre></pre></td></tr>
> 
> I wonder if there would be a way to do that more cleanly. Maybe with
> javascript which rewrites the document. Or maybe just expect people do
> have mod_gzip enabled :)

It's fairly easy to do compression within the server or cgi.  The rules
are, approximately (robert can correct me :) that if the client sends
Accept-Encoding containing "gzip", then gzip the output and send with
"Content-Transfer-Encoding: gzip".

I added http://bazaar.canonical.com/WebInterface
-- 
Martin

-------------- 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/20060105/1f14883c/attachment.pgp 


More information about the bazaar mailing list