Re: [viewvc-users] Hello everyone
Amrit Panesar <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <f79de4190906051323n4e4e3dc0s701ad1239b250ecf__45455.0735805698$1244233431$gmane$org@mail.gmail.com> |
I'm using SVN repos. My viewvc.conf from diff is: This is also attached. Thanks! --- viewvc.conf.dist 2009-06-03 20:13:56.000000000 -0700 +++ viewvc.conf 2009-06-03 20:33:49.000000000 -0700 @@ -86,7 +86,7 @@ # names to them. Each root should be given by a "name: path" value. Multiple # roots should be separated by commas and can be placed on separate lines. # -cvs_roots = cvs: /home/cvsroot +#cvs_roots = cvs: /home/cvsroot # # This setting specifies each of the Subversion roots (repositories) @@ -94,7 +94,7 @@ # by a "name: path" value. Multiple roots should be separated by # commas and can be placed on separate lines. # -#svn_roots = svn: /home/svnrepos +svn_roots = svn: /var/svn # The 'root_parents' setting specifies a list of directories in which # any number of repositories may reside. Rather than force you to add @@ -114,8 +114,7 @@ # Each parent path is processed sequentially, so repositories under # later parent paths may override earlier ones. # -#root_parents = /home/svn-repositories : svn, -# /home/cvs-repositories : cvs +root_parents = /var/svn : svn # This is the name of the default root. Valid names include those # explicitly listed in the cvs_roots and svn_roots configuration @@ -124,7 +123,7 @@ # locations. # # Note: This setting is ignored when root_as_url_component is enabled. -default_root = cvs +default_root = svn # # This is a list of pathnames to a set of MIME type mapping files to @@ -230,7 +229,7 @@ # point to the actual program. # RCS utilities, used for viewing CVS repositories -rcs_dir = +# rcs_dir = # rcs_dir = /usr/bin/ # ViewVC can use CVSNT (www.cvsnt.org) instead of the RCS utilities to @@ -239,22 +238,22 @@ # is on the standard path, you can also set it to the name of the # CVSNT executable). By default "cvsnt" is set to "cvs" on Windows and # is not set on other platforms. -cvsnt = +# cvsnt = # cvsnt = # cvsnt = cvs # cvsnt = K:\Program Files\cvsnt\cvs.exe # cvsnt = = /usr/bin/cvs # Subversion command-line client, used for viewing Subversion repositories -svn = +svn = /usr/bin/svn # svn = /usr/bin/svn # GNU diff, used for showing file version differences -diff = +diff = /usr/bin/diff # diff = /usr/bin/diff # CvsGraph, a graphical CVS version graph generator (see options.use_cvsgraph) -cvsgraph = +# cvsgraph = # cvsgraph = /usr/local/bin/cvsgraph @@ -274,7 +273,7 @@ # checked out HTML pages can have working links to other repository files # Note: This option is DEPRECATED and should not be used in new ViewVC # installations. Setting "default_file_view = co" achieves the same effect -checkout_magic = 0 +checkout_magic = 1 # allowed_views: List the ViewVC views which are enabled. Views not # in this comma-delited list will not be served (or, will return an @@ -317,7 +316,7 @@ # 2 - Data-dropping address truncation; no hyperlinking # Note: this will not effect the display of versioned file contents, only # addresses that appear in version control metadata (e.g. log messages). -mangle_email_addresses = 0 +mangle_email_addresses = 1 # default_file_view: "log", "co", or "markup" # Controls whether the default view for file URLs is a checkout view or @@ -329,7 +328,7 @@ # bookmarked URLs. # Also note: If you choose one of the "co" or "markup" views, be sure # to enable it (via the allowed_views option) -default_file_view = log +default_file_view = log markup # http_expiration_time: Expiration time (in seconds) for cacheable # pages served by ViewVC. Note that in most cases, a cache aware @@ -356,7 +355,7 @@ # directory ViewVC should consult for various things, including cached # remote authentication credentials. If unset, Subversion will use # the default location(s) ($HOME/.subversion, etc.) -svn_config_dir = +svn_config_dir = # use the rcsparse Python module to retrieve CVS repository # information instead of invoking rcs utilities [EXPERIMENTAL] @@ -400,7 +399,7 @@ # s Side by side # l Long human readable (more context) # f Full human readable (entire file) -diff_format = h +diff_format = l # hr_breakable: Diff view line breaks # 1 lines break at spaces @@ -412,12 +411,12 @@ # this just makes sense if we have C-files, otherwise # diff's heuristic doesn't work well .. # ( '-p' option to diff) -hr_funout = 0 +hr_funout = 1 # ignore whitespaces for human readable diffs # (indendation and stuff ..) # ( '-w' option to diff) -hr_ignore_white = 0 +hr_ignore_white = 1 # ignore diffs which are caused by # keyword-substitution like $Id - Stuff @@ -426,11 +425,11 @@ # Enable highlighting of intraline changes in human readable diffs # this feature is experimental and currently requires python 2.4 -hr_intraline = 0 +hr_intraline = 1 # allow compression with gzip of output if the Browser accepts it # (HTTP_ACCEPT_ENCODING contains "gzip") -#allow_compress = 1 +allow_compress = 1 # The directory which contains the EZT templates used by ViewVC to # customize the display of the various output views. ViewVC looks in Amrit Panesar President / Founder ALPS Technologies INC http://alpsinc.codealife.com:81/ On Fri, Jun 5, 2009 at 6:25 AM, C. Michael Pilato<[email protected]> wrote: > Amrit Panesar wrote: >> Hello everyone, I have ViewVC 1.1.1 with the Debian .deb of Apache/SVN. >> I haven't used ViewVC on this server, but I've used the client end on >> other hosts. The ViewVC on my server is unbearably slow, and I have no >> clue as to why this is happening. The server's cpu is clocked at 2 GhZ, >> and had 1 GB of ram. If anyone has any insight, I would like some help. > > What can you share about your configuration? Are you using CVS > repositories, Subversion ones, or both? Can you share your viewvc.conf file > (or at least the output of "diff -u viewvc.conf.dist viewvc.conf", if > viewvc.conf.dist hasn't been edited)? > > -- > C. Michael Pilato <[email protected]> > CollabNet <> www.collab.net <> Distributed Development On Demand > > ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2359830 To unsubscribe from this discussion, e-mail: [[email protected]].
diff.txt
(text/plain, 4.9 KB)
--- viewvc.conf.dist 2009-06-03 20:13:56.000000000 -0700 +++ viewvc.conf 2009-06-03 20:33:49.000000000 -0700 @@ -86,7 +86,7 @@ # names to them. Each root should be given by a "name: path" value. Multiple # roots should be separated by commas and can be placed on separate lines. # -cvs_roots = cvs: /home/cvsroot +#cvs_roots = cvs: /home/cvsroot # # This setting specifies each of the Subversion roots (repositories) @@ -94,7 +94,7 @@ # by a "name: path" value. Multiple roots should be separated by # commas and can be placed on separate lines. # -#svn_roots = svn: /home/svnrepos +svn_roots = svn: /var/svn # The 'root_parents' setting specifies a list of directories in which # any number of repositories may reside. Rather than force you to add @@ -114,8 +114,7 @@ # Each parent path is processed sequentially, so repositories under # later parent paths may override earlier ones. # -#root_parents = /home/svn-repositories : svn, -# /home/cvs-repositories : cvs +root_parents = /var/svn : svn # This is the name of the default root. Valid names include those # explicitly listed in the cvs_roots and svn_roots configuration @@ -124,7 +123,7 @@ # locations. # # Note: This setting is ignored when root_as_url_component is enabled. -default_root = cvs +default_root = svn # # This is a list of pathnames to a set of MIME type mapping files to @@ -230,7 +229,7 @@ # point to the actual program. # RCS utilities, used for viewing CVS repositories -rcs_dir = +# rcs_dir = # rcs_dir = /usr/bin/ # ViewVC can use CVSNT (www.cvsnt.org) instead of the RCS utilities to @@ -239,22 +238,22 @@ # is on the standard path, you can also set it to the name of the # CVSNT executable). By default "cvsnt" is set to "cvs" on Windows and # is not set on other platforms. -cvsnt = +# cvsnt = # cvsnt = # cvsnt = cvs # cvsnt = K:\Program Files\cvsnt\cvs.exe # cvsnt = = /usr/bin/cvs # Subversion command-line client, used for viewing Subversion repositories -svn = +svn = /usr/bin/svn # svn = /usr/bin/svn # GNU diff, used for showing file version differences -diff = +diff = /usr/bin/diff # diff = /usr/bin/diff # CvsGraph, a graphical CVS version graph generator (see options.use_cvsgraph) -cvsgraph = +# cvsgraph = # cvsgraph = /usr/local/bin/cvsgraph @@ -274,7 +273,7 @@ # checked out HTML pages can have working links to other repository files # Note: This option is DEPRECATED and should not be used in new ViewVC # installations. Setting "default_file_view = co" achieves the same effect -checkout_magic = 0 +checkout_magic = 1 # allowed_views: List the ViewVC views which are enabled. Views not # in this comma-delited list will not be served (or, will return an @@ -317,7 +316,7 @@ # 2 - Data-dropping address truncation; no hyperlinking # Note: this will not effect the display of versioned file contents, only # addresses that appear in version control metadata (e.g. log messages). -mangle_email_addresses = 0 +mangle_email_addresses = 1 # default_file_view: "log", "co", or "markup" # Controls whether the default view for file URLs is a checkout view or @@ -329,7 +328,7 @@ # bookmarked URLs. # Also note: If you choose one of the "co" or "markup" views, be sure # to enable it (via the allowed_views option) -default_file_view = log +default_file_view = log markup # http_expiration_time: Expiration time (in seconds) for cacheable # pages served by ViewVC. Note that in most cases, a cache aware @@ -356,7 +355,7 @@ # directory ViewVC should consult for various things, including cached # remote authentication credentials. If unset, Subversion will use # the default location(s) ($HOME/.subversion, etc.) -svn_config_dir = +svn_config_dir = # use the rcsparse Python module to retrieve CVS repository # information instead of invoking rcs utilities [EXPERIMENTAL] @@ -400,7 +399,7 @@ # s Side by side # l Long human readable (more context) # f Full human readable (entire file) -diff_format = h +diff_format = l # hr_breakable: Diff view line breaks # 1 lines break at spaces @@ -412,12 +411,12 @@ # this just makes sense if we have C-files, otherwise # diff's heuristic doesn't work well .. # ( '-p' option to diff) -hr_funout = 0 +hr_funout = 1 # ignore whitespaces for human readable diffs # (indendation and stuff ..) # ( '-w' option to diff) -hr_ignore_white = 0 +hr_ignore_white = 1 # ignore diffs which are caused by # keyword-substitution like $Id - Stuff @@ -426,11 +425,11 @@ # Enable highlighting of intraline changes in human readable diffs # this feature is experimental and currently requires python 2.4 -hr_intraline = 0 +hr_intraline = 1 # allow compression with gzip of output if the Browser accepts it # (HTTP_ACCEPT_ENCODING contains "gzip") -#allow_compress = 1 +allow_compress = 1 # The directory which contains the EZT templates used by ViewVC to # customize the display of the various output views. ViewVC looks in