bzrweb with extra rss crack

Chris McCormick chris at mccormick.cx
Wed Jul 6 02:29:42 BST 2005


On Tue, Jul 05, 2005 at 08:01:33PM -0500, John A Meinel wrote:
> Chris McCormick wrote:
> 
> >Hey John,
> >
> >Yes, good point. I'll have to do some work on it next time I get a spare
> >half an hour. Will report back to this thread.
> >
> >Best regards,
> >
> >Chris.
> >
> >
> 
> If you work on it at all, might I recommend that you actually hide older
> versions past say 100 revisions. Rather than just compacting them?
> I'm not sure what your design is, but right now with 691 revisions, the
> web-page becomes 700k in size. Which seems rather large.

Great idea. I used to have pagination code for this reason in there but
took it out as someone thought it was ugly. But 700k for a single page
is ridiculous so I'll put back in some kind of pagination.

> Probably all the space is actually taken by "Select revision number 1 to
> see more detail and possibly diff it against other revisions"
> 
> It's pretty verbose, maybe just "select for more detail".

I think for a first time user the explicit explanation is better, but
then again maybe there should be some kind of instructions.

> Or whatever you want, I'm just thinking that it is possible for a tree
> to grow into the thousands (I think bzr is designed to scale up into
> 100k revs, but 10k revs should be pretty easy to reach considering bzr
> proper, with only one main developer, albeit a very active one, is
> already at almost 1k).
> 
> Anyway, if you just had a 100-rev cutoff, then the page should load
> quite a bit faster.
> And if possible, adding just the first line of the commit message would
> be nice, rather than just seeing endless 'revision 40' with no
> information about it.

Ok, I'll put that in too.

> I'm guessing that by restricting yourself to 100 revs, you won't suffer
> too much from slowdown (you probably could make it 50 if you wanted).
> John

It used to be 10 revisions with all information, but 100 revs with
limited information should be fine.

Chris.

-------------------
chris at mccormick.cx
http://mccormick.cx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050706/5200e4f0/attachment.pgp 


More information about the bazaar mailing list