Bug 156614

Summary: Change log_pagesize on ViewVC (svnweb)
Product: Documentation Reporter: Adam Weinberger <adamw>
Component: Books & ArticlesAssignee: Cluster Admin <clusteradm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Adam Weinberger freebsd_committer freebsd_triage 2011-04-24 16:50:10 UTC
Using the log view is a great way to see recent commits to a branch. I like
to see the latest activity just on -STABLE, for instance.

ViewVC on svnweb is currently set to display the entire log. (On the svnweb
main page, just click the Revision number of any branch.) This takes a very
long time (a number of minutes), the returned page is gigantic, and probably
takes an inordinate amount of CPU time and I/O to produce.

Fix: 

What about setting log_pagesize in viewvc.conf to something reasonable? 50
maybe?
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2012-01-08 22:25:33 UTC
I still think the one-line change suggested in this PR is a good idea. Can
someone in www@ please share a thought on this?

The change suggests setting log_pagesize in viewvc.conf to a reasonable
value, so that one can browse history on a branch without bringing their
browser (and presumably the svnweb server) to its knees.

# Adam


-- 
Adam Weinberger
adamw@adamw.org || adamw@FreeBSD.org
http://www.adamw.org
Comment 2 Bjoern A. Zeeb freebsd_committer freebsd_triage 2012-01-09 19:53:19 UTC
Responsible Changed
From-To: freebsd-www->clusteradm

Take it to the other hats.
Comment 3 Simon L. B. Nielsen freebsd_committer freebsd_triage 2012-01-09 21:27:26 UTC
State Changed
From-To: open->closed

This sounds like a very good idea.  I wasn't aware of that option. 

I have enabled it now with 100 entries per page as I personally 
like to see a good bit when looking at history.  This can perhaps 
be tweaked later.