Advertisement
Guest User

Felipe Cardoso Martins

a guest
Mar 10th, 2008
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.11 KB | None | 0 0
  1. #---------------------------------------------------------------------------
  2. #
  3. # Configuration file for ViewCVS
  4. #
  5. # Information on ViewCVS is located at the following web site:
  6. # http://viewcvs.sourceforge.net/
  7. #
  8. #---------------------------------------------------------------------------
  9.  
  10. #
  11. # BASIC CONFIGURATION
  12. #
  13. # For correct operation, you will probably need to change the following
  14. # configuration variables:
  15. #
  16. # cvs_roots (for CVS)
  17. # svn_roots (for Subversion)
  18. # root_parents (for CVS or Subversion)
  19. # default_root
  20. # rcs_path or cvsnt_exe_path
  21. # mime_types_file
  22. #
  23. # It is usually desirable to change the following variables:
  24. #
  25. # address
  26. # main_title
  27. # forbidden
  28. #
  29. # use_enscript
  30. # use_cvsgraph
  31. #
  32. # For Python source colorization:
  33. #
  34. # py2html_path
  35. #
  36. # If your icons or ViewCVS static files are in special locations:
  37. #
  38. # icons
  39. # docroot
  40. #
  41. # Also, review the .ezt templates in the templates/ directory to adjust them
  42. # for your particular site.
  43. #
  44.  
  45. #
  46. # FORMAT INFORMATION
  47. #
  48. # This file is delineated by sections, specified in [brackets]. Within each
  49. # section, are a number of configuration settings. These settings take the
  50. # form of: name = value. Values may be continued on the following line by
  51. # indenting the continued line.
  52. #
  53. # WARNING: indentation *always* means continuation. name=value lines should
  54. # always start in column zero.
  55. #
  56. # Comments should always start in column zero, and are identified with "#".
  57. #
  58. # Certain configuration settings may have multiple values. These should be
  59. # separated by a comma. The settings where this is allowed are noted below.
  60. #
  61. # Any other setting that requires special syntax is noted at that setting.
  62. #
  63.  
  64. #---------------------------------------------------------------------------
  65. [general]
  66.  
  67. #
  68. # This setting specifies each of the CVS roots on your system and assigns
  69. # names to them. Each root should be given by a "name: path" value. Multiple
  70. # roots should be separated by commas and can be placed on separate lines.
  71. #
  72. cvs_roots = svn: /home/subversion
  73.  
  74. #
  75. # This setting specifies each of the Subversion roots (repositories)
  76. # on your system and assigns names to them. Each root should be given
  77. # by a "name: path" value. Multiple roots should be separated by
  78. # commas and can be placed on separate lines.
  79. #
  80. svn_roots = svn: /home/subversion
  81.  
  82. # The 'root_parents' setting specifies a list of directories in which
  83. # any number of repositories may reside. Rather than force you to add
  84. # a new entry to 'cvs_roots' or 'svn_roots' each time you create a new
  85. # repository, ViewCVS rewards you for organising all your repositories
  86. # under a few parent directories by allowing you to simply specifiy
  87. # just those parent directories. ViewCVS will then notice each
  88. # repository in that directory as a new root whose name is the
  89. # subdirectory of the parent path in which that repository lives.
  90. #
  91. # You can specify multiple parent paths separated by commas or new lines.
  92. #
  93. # Caution: these names can, of course, clash with names you have
  94. # defined in your cvs_roots or svn_roots configuration items. If this
  95. # occurs, you can either rename the offending repository on disk, or
  96. # grant new names to the clashing item in cvs_roots or svn_roots.
  97. # Each parent path is processed sequentially, so repositories under
  98. # later parent paths may override earlier ones.
  99. #
  100. #root_parents = /home/svn-repositories : svn,
  101. # /home/cvs-repositories : cvs
  102. root_parents = /home/subversion : svn
  103.  
  104. # this is the name of the default root.
  105. default_root = svn
  106.  
  107. # uncomment if the RCS binaries are not on the standard path
  108. #rcs_path = /usr/bin/
  109.  
  110. # ViewCVS can use CVSNT (www.cvsnt.org) instead of the RCS
  111. # utilities to retrieve information from CVS repositories.
  112. # To enable use of CVSNT, set the "cvsnt_exe_path" value
  113. # to the path of the CVSNT executable. (If CVSNT is on the
  114. # standard path, you can also set it to the name of the
  115. # CVSNT executable). By default "cvsnt_exe_path" is set to
  116. # "cvs" on Windows and is not set on other platforms.
  117. #
  118. #cvsnt_exe_path =
  119. #cvsnt_exe_path = cvs
  120. #cvsnt_exe_path = K:\Program Files\cvsnt\cvs.exe
  121. #cvsnt_exe_path = /usr/bin/cvs
  122.  
  123. # use rcsparse python module to retrieve cvs repository information instead
  124. # of invoking rcs utilities. this feature is experimental
  125. use_rcsparse = 0
  126.  
  127. #
  128. # This is a pathname to a MIME types file to help viewcvs to guess the
  129. # correct MIME type on checkout.
  130. #
  131. # If you are having problems with the default guess on the MIME type, then
  132. # uncomment this option and point it at a MIME type file.
  133. #
  134. # For example, you can use the mime.types from apache here:
  135. #mime_types_file = /usr/local/apache/conf/mime.types
  136.  
  137. # This address is shown in the footer of the generated pages.
  138. # It must be replaced with the address of the local repository maintainer.
  139. address = <a href="mailto: felipe.martins@lidermidia.com.br">CVS Admin</a>
  140.  
  141. # this title is used on the main entry page
  142. main_title = L&iacute;derM&iacute;dia
  143.  
  144. #
  145. # This should contain a list of modules in the repository that should not be
  146. # displayed (by default or by explicit path specification).
  147. #
  148. # This configuration can be a simple list of modules, or it can get quite
  149. # complex:
  150. #
  151. # *) The "!" can be used before a module to explicitly state that it
  152. # is NOT forbidden. Whenever this form is seen, then all modules will
  153. # be forbidden unless one of the "!" modules match.
  154. #
  155. # *) Shell-style "glob" expressions may be used. "*" will match any
  156. # sequence of zero or more characters, "?" will match any single
  157. # character, "[seq]" will match any character in seq, and "[!seq]"
  158. # will match any character not in seq.
  159. #
  160. # *) Tests are performed in sequence. The first match will terminate the
  161. # testing. This allows for more complex allow/deny patterns.
  162. #
  163. # Tests are case-sensitive.
  164. #
  165. forbidden =
  166. # Disallow "example" but allow all others:
  167. # forbidden = example
  168. #
  169. # Disallow "example1" and "example2" but allow all others:
  170. # forbidden = example1, example2
  171. #
  172. # Allow *only* "example1" and "example2":
  173. # forbidden = !example1, !example2
  174. #
  175. # Forbid modules starting with "x":
  176. # forbidden = x*
  177. #
  178. # Allow modules starting with "x" but no others:
  179. # forbidden = !x*
  180. #
  181. # Allow "xml", forbid other modules starting with "x", and allow the rest:
  182. # forbidden = !xml, x*, !*
  183. #
  184.  
  185. #
  186. # This option provides a mechanism for custom key/value pairs to be
  187. # available to templates. These are stored in key/value files (KV files).
  188. #
  189. # Pathnames to the KV files are listed here, specified as absolute paths
  190. # or relative to this configuration file. The kV files follow the same
  191. # format as this configuration file. It may have multiple, user-defined
  192. # sections, and user-defined options in those sections. These are all
  193. # placed into a structure available to the templates as:
  194. #
  195. # kv.SECTION.OPTION
  196. #
  197. # Note that an option name can be dotted. For example:
  198. #
  199. # [my_images]
  200. # logos.small = /images/small-logo.png
  201. # logos.big = /images/big-logo.png
  202. #
  203. # Templates can use these with a directive like: [kv.my_images.logos.small]
  204. #
  205. # Note that sections across multiple files will be merged. If two files
  206. # have a [my_images] section, then the options will be merged together.
  207. # If two files have the same option name in a section, then one will
  208. # overwrite the other (it is unspecified regarding which "wins").
  209. #
  210. # To further categorize the KV files, and how the values are provided to
  211. # the templates, a KV file name may be annotated with an additional level
  212. # of dotted naming. For example:
  213. #
  214. # kv_files = [asf]kv/images.conf
  215. #
  216. # Assuming the same section as above, the template would refer to an image
  217. # using [kv.asf.my_images.logos.small]
  218. #
  219. # Lastly, it is possible to use %lang% in the filenames to specify a
  220. # substitution of the selected language-tag.
  221. #
  222. kv_files =
  223.  
  224. # example:
  225. # kv_files = kv/file1.conf, kv/file2.conf, [i18n]kv/%lang%_data.conf
  226. #
  227.  
  228. #
  229. # The languages available to ViewCVS. There are several i18n mechanisms
  230. # available:
  231. #
  232. # 1) using key/value extension system and reading KV files based on
  233. # the selected language
  234. # 2) GNU gettext to substitute text in the templates
  235. # 3) using different templates, based on the selected language
  236. #
  237. # ### NOTE: at the moment, the GNU gettext style is not implemented
  238. #
  239. # This option is a comma-separated list of language-tag values. The first
  240. # language-tag listed is the default language, and will be used if an
  241. # Accept-Language header is not present in the request, or none of the
  242. # user's requested languages are available. If there are ties on the
  243. # selection of a language, then the first to appear in the list is chosen.
  244. #
  245. languages = en-us
  246.  
  247. # other examples:
  248. #
  249. # languages = en-us, de
  250. # languages = en-us, en-gb, de
  251. # languages = de, fr, en-us
  252. #
  253.  
  254. #---------------------------------------------------------------------------
  255. [templates]
  256.  
  257. #
  258. # The templates are specified relative to the configuration file. Absolute
  259. # paths may be used, if you want to keep these elsewhere.
  260. #
  261. # If %lang% occurs in the pathname, then the selected language will be
  262. # substituted.
  263. #
  264. # Note: the selected language is defined by the "languages" item in the
  265. # [general] section, and based on the request's Accept-Language
  266. # header.
  267. #
  268.  
  269. query = templates/query.ezt
  270. diff = templates/diff.ezt
  271. graph = templates/graph.ezt
  272. annotate = templates/annotate.ezt
  273. markup = templates/markup.ezt
  274. revision = templates/revision.ezt
  275. query_form = templates/query_form.ezt
  276. query_results = templates/query_results.ezt
  277. error = templates/error.ezt
  278.  
  279. directory = templates/directory.ezt
  280. # For an alternate form, where the first column displays a revision number
  281. # and brings you to the log view (and the filename displays the HEAD), then
  282. # you may use this template:
  283. # directory = templates/dir_alternate.ezt
  284.  
  285. log = templates/log.ezt
  286. # For a log view where the revisions are displayed in a table, you may
  287. # want to try this template:
  288. # log = templates/log_table.ezt
  289.  
  290. #---------------------------------------------------------------------------
  291. [cvsdb]
  292.  
  293. enabled = 0
  294. #host = localhost
  295. #database_name = ViewCVS
  296. #user =
  297. #passwd =
  298. #readonly_user =
  299. #readonly_passwd =
  300. #row_limit = 1000
  301.  
  302. #---------------------------------------------------------------------------
  303. [options]
  304. ### DOC
  305.  
  306. # root_as_url_component: Interpret the first path component in the URL
  307. # after the script location as the root to use. This is an
  308. # alternative to using the 'root=' query key. If no path components
  309. # exists in the script url after the script location, or if the first
  310. # such path component does not identify the name of configured root
  311. # (see the 'cvs_roots', 'svn_roots', and 'svn_parent_path'
  312. # configuration items), the path will be expected to exist inside the
  313. # configured default root (the 'default_root' configuration item).
  314. # 1 Treat first path component as root name
  315. # 0 No special treatment of first path component (use root=)
  316. root_as_url_component = 0
  317.  
  318. # http_expiration_time: Expiration time (in seconds) for cacheable
  319. # pages served by ViewCVS. Note that in most cases, a cache aware
  320. # client will only revalidate the page after it expires (using the
  321. # If-Modified-Since and/or If-None-Match headers) and that browsers
  322. # will also revalidate the page when the reload button is pressed.
  323. # Set to 0 to disable the transmission of these caching headers.
  324. http_expiration_time = 600
  325.  
  326. # generate_etags: Generate Etag headers for relevant pages to assist
  327. # in browser caching.
  328. # 1 Generate Etags
  329. # 0 Don't generate Etags
  330. generate_etags = 1
  331.  
  332. # sort_by: File sort order
  333. # file Sort by filename
  334. # rev Sort by revision number
  335. # date Sort by commit date
  336. # author Sort by author
  337. # log Sort by log message
  338. sort_by = file
  339.  
  340. # hide_attic: Hide or show the contents of the Attic subdirectory
  341. # 1 Hide dead files inside Attic subdir
  342. # 0 Show the files which are inside the Attic subdir
  343. hide_attic = 1
  344.  
  345. # log_sort: Sort order for log messages
  346. # date Sort revisions by date
  347. # rev Sort revision by revision number
  348. # cvs Don't sort them. Same order as CVS/RCS shows them.
  349. log_sort = date
  350.  
  351. # diff_format: Default diff format
  352. # h Human readable
  353. # u Unified diff
  354. # c Context diff
  355. # s Side by side
  356. # l Long human readable (more context)
  357. diff_format = h
  358.  
  359. # hide_cvsroot: Don't show the CVSROOT directory
  360. # 1 Hide CVSROOT directory
  361. # 0 Show CVSROOT directory
  362. hide_cvsroot = 1
  363.  
  364. # set to 1 to make lines break at spaces,
  365. # set to 0 to make no-break lines,
  366. # set to a positive integer to make the lines cut at that length
  367. hr_breakable = 1
  368.  
  369. # give out function names in human readable diffs
  370. # this just makes sense if we have C-files, otherwise
  371. # diff's heuristic doesn't work well ..
  372. # ( '-p' option to diff)
  373. hr_funout = 0
  374.  
  375. # ignore whitespaces for human readable diffs
  376. # (indendation and stuff ..)
  377. # ( '-w' option to diff)
  378. hr_ignore_white = 1
  379.  
  380. # ignore diffs which are caused by
  381. # keyword-substitution like $Id - Stuff
  382. # ( '-kk' option to rcsdiff)
  383. hr_ignore_keyword_subst = 1
  384.  
  385. # allow annotation of files.
  386. allow_annotate = 1
  387.  
  388. # allow pretty-printed version of files
  389. allow_markup = 1
  390.  
  391. # allow compression with gzip of output if the Browser accepts it
  392. # (HTTP_ACCEPT_ENCODING=gzip)
  393. # [make sure to have gzip in the path]
  394. allow_compress = 1
  395.  
  396. # If you have files which automatically refers to other files
  397. # (such as HTML) then this allows you to browse the checked
  398. # out files as if outside the repository.
  399. checkout_magic = 1
  400.  
  401. # Web path to a directory containing apache icon files
  402. icons = /icons
  403.  
  404. # Web path to a directory that contains ViewCVS static files.
  405. # (The ones installed in /usr/lib/python2.4/site-packages/viewcvs/doc). If set, static
  406. # files will get served from this location, otherwise static files will
  407. # be served by the ViewCVS script which is less efficient
  408. #docroot = /doc
  409.  
  410. # Show last changelog message for sub directories
  411. # The current implementation makes many assumptions and may show the
  412. # incorrect file at some times. The main assumption is that the last
  413. # modified file has the newest filedate. But some CVS operations
  414. # touches the file without even when a new version is't checked in,
  415. # and TAG based browsing essientially puts this out of order, unless
  416. # the last checkin was on the same tag as you are viewing.
  417. # Enable this if you like the feature, but don't rely on correct results.
  418. show_subdir_lastmod = 0
  419.  
  420. # show a portion of the most recent log entry in directory listings
  421. show_logs = 1
  422.  
  423. # Show log when viewing file contents
  424. show_log_in_markup = 1
  425.  
  426. # Cross filesystem copies when traversing Subversion file revision histories.
  427. cross_copies = 1
  428.  
  429. # Display dates as UTC or in local time zone
  430. use_localtime = 0
  431. #use_localtime = 1
  432.  
  433. # == Configuration defaults ==
  434. # Defaults for configuration variables that shouldn't need
  435. # to be configured..
  436.  
  437. #
  438. # If you want to use Marc-Andrew Lemburg's py2html (and Just van Rossum's
  439. # PyFontify) to colorize Python files, then you may need to change this
  440. # variable to point to their directory location.
  441. #
  442. # This directory AND the standard Python path will be searched.
  443. #
  444. py2html_path = .
  445. #py2html_path = /usr/local/lib/python1.5/site-python
  446.  
  447. # the length to which the most recent log entry should be truncated when
  448. # shown in the directory view
  449. short_log_len = 80
  450.  
  451. # should we use 'enscript' for syntax coloring?
  452. use_enscript = 0
  453.  
  454. #
  455. # if the enscript program is not on the path, set this value
  456. #
  457. enscript_path =
  458. # enscript_path = /usr/bin/
  459.  
  460. # use php to colorize .php and .inc files?
  461. use_php = 1
  462.  
  463. # path to php executable
  464. php_exe_path = php
  465. # php_exe_path = /usr/local/bin/php
  466. # php_exe_path = C:\Program Files\php\cli\php.exe
  467.  
  468. #
  469. # ViewCVS has its own set of mappings from filename extensions and filenames
  470. # to languages. If the language is not supported by enscript, then it can
  471. # be listed here to disable the use of enscript.
  472. #
  473. disable_enscript_lang =
  474. # disable_enscript_lang = perl, cpp
  475.  
  476. #
  477. # ViewCVS can generate tarball from a repository on the fly.
  478. #
  479. allow_tar = 0
  480. # allow_tar = 1
  481.  
  482. #
  483. # Use CvsGraph
  484. # You will need to install the cvsgraph package
  485. use_cvsgraph = 0
  486. # use_cvsgraph = 1
  487.  
  488. #
  489. # The location of the cvsgraph configuration file
  490. #
  491. cvsgraph_conf = /etc/cvsgraph/cvsgraph.conf
  492.  
  493. #
  494. # Set to enable regular expression search of all files in a directory
  495. #
  496. # WARNING:
  497. #
  498. # Enabling this option can consume HUGE amounts of server time. A
  499. # "checkout" must be performed on *each* file in a directory, and
  500. # the result needs to be searched for a match against the regular
  501. # expression.
  502. #
  503. #
  504. # SECURITY WARNING: Denial Of Service
  505. #
  506. # Since a user can enter the regular expression, it is possible for
  507. # them to enter an expression with many alternatives and a lot of
  508. # backtracking. Executing that search over thousands of lines over
  509. # dozens of files can easily tie up a server for a long period of
  510. # time.
  511. #
  512. # This option should only be used on sites with trusted users. It is
  513. # highly inadvisable to use this on a public site.
  514. #
  515. use_re_search = 0
  516. # use_re_search = 1
  517.  
  518. #
  519. # Split directories and logs into pages.
  520. # Allows ViewCVS to present discrete pages to the users instead of the
  521. # entire log or directory.
  522. # Set use_pagesize to the number of entries you want displayed on a page.
  523. #
  524. use_pagesize = 0
  525. # use_pagesize = 20
  526.  
  527. #---------------------------------------------------------------------------
  528. [vhosts]
  529. ### DOC
  530.  
  531. # vhost1 = glob1, glob2
  532. # vhost2 = glob3, glob4
  533.  
  534. # [vhost1-section]
  535. # option = value
  536. # [vhost1-othersection]
  537. # option = value
  538. # [vhost2-section]
  539. # option = value
  540.  
  541. #
  542. # Here is an example:
  543. #
  544. # [vhosts]
  545. # lyra = *lyra.org
  546. #
  547. # [lyra-general]
  548. # forbidden = hideme
  549. #
  550. # [lyra-options]
  551. # show_logs = 0
  552. #
  553. # Note that "lyra" is the "canonical" name for all hosts in the lyra.org
  554. # domain. This canonical name is then used within the additional, vhost-
  555. # specific sections to override specific values in the common sections.
  556. #
  557.  
  558. #---------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement