[274] | 1 | ### $Id: config 1479 2012-05-31 12:01:27Z peter $ |
---|
[1409] | 2 | |
---|
[1411] | 3 | ### Copyright (C) 2007 Jari Häkkinen, Peter Johansson |
---|
| 4 | ### Copyright (C) 2008 Peter Johansson |
---|
| 5 | ### Copyright (C) 2009, 2010 Jari Häkkinen, Peter Johansson |
---|
[1479] | 6 | ### Copyright (C) 2011, 2012 Peter Johansson |
---|
| 7 | |
---|
[1409] | 8 | ### Copying and distribution of this file, with or without modification, |
---|
| 9 | ### are permitted in any medium without royalty provided the copyright |
---|
| 10 | ### notice and this notice are preserved. |
---|
| 11 | |
---|
[274] | 12 | ### This file configures various behaviors for svndigest |
---|
| 13 | ### The commented-out below are intended to demonstrate how to use |
---|
| 14 | ### this file. |
---|
| 15 | |
---|
[1283] | 16 | ### Section for setting output |
---|
| 17 | [output] |
---|
| 18 | # if true svndigest will output blame information for each file. |
---|
| 19 | blame-information = yes |
---|
| 20 | # if true report will have pages for files and not only directories. |
---|
| 21 | file = yes |
---|
| 22 | # svndigest uses this value to replace tabs with spaces in blame output |
---|
| 23 | tab-size = 2 |
---|
| 24 | |
---|
[666] | 25 | ### Section for setting behaviour of copyright update |
---|
| 26 | [copyright] |
---|
[1373] | 27 | # warn if file has no copyright statement. |
---|
[666] | 28 | missing-copyright-warning = no |
---|
[1373] | 29 | # defining start of copyright statement |
---|
[1283] | 30 | copyright-string = Copyright (C) |
---|
[666] | 31 | |
---|
[274] | 32 | ### Section for setting aliases used in copyright update |
---|
| 33 | [copyright-alias] |
---|
| 34 | # jdoe = John Doe |
---|
[979] | 35 | jari = Jari Häkkinen |
---|
[274] | 36 | peter = Peter Johansson |
---|
| 37 | |
---|
[1037] | 38 | ### Section for images |
---|
| 39 | [image] |
---|
[1038] | 40 | format = png |
---|
| 41 | anchor_format = png |
---|
[1037] | 42 | |
---|
[969] | 43 | ### Section for author color in plots and blame output. |
---|
[889] | 44 | [author-color] |
---|
| 45 | # jdoe = 000000 |
---|
| 46 | jari = 0000aa |
---|
| 47 | peter = aa0000 |
---|
| 48 | |
---|
[1283] | 49 | ### Section for overriding svn properties. |
---|
| 50 | ### The format is the same as for section auto-props in subversion |
---|
| 51 | ### config file |
---|
| 52 | [svn-props] |
---|
| 53 | # COPYING = svndigest:ignore |
---|
[1479] | 54 | AbstractParameter.* = svndigest:ignore=1292 |
---|
| 55 | DirectoryPrinter.* = svndigest:ignore=1289 |
---|
| 56 | FilePrinter.* = svndigest:ignore=1289 |
---|
| 57 | NodePrinter.* = svndigest:ignore=1289 |
---|
| 58 | svndigestParameter.* = svndigest:ignore=1059 |
---|
| 59 | svndigest_copy_cache_test.sh = svndigest:ignore=1054 |
---|
| 60 | init.sh.in = svndigest:ignore=951 |
---|
| 61 | svn_update.sh.in = svndigest:ignore=743 |
---|
| 62 | copyright_year.* = svndigest:ignore=725 |
---|
| 63 | HtmlBuf.* = svndigest:ignore=605 |
---|
| 64 | AddStats.* = svndigest:ignore=542 |
---|
| 65 | BlameStats.* = svndigest:ignore=530 |
---|
| 66 | ClassicStats.* = svndigest:ignore=486 |
---|
| 67 | Functor.* = svndigest:ignore=464 |
---|
| 68 | first_page.* = svndigest:ignore=284 |
---|
| 69 | css.* = svndigest:ignore=283 |
---|
| 70 | README.developer = svndigest:ignore=280 |
---|
| 71 | THANKS = svndigest:ignore=277 |
---|
[1283] | 72 | |
---|
| 73 | ### Section for setting trac environment. |
---|
[274] | 74 | [trac] |
---|
[515] | 75 | # If trac-root is set, svndigest will create anchors to the Trac page. |
---|
[687] | 76 | # trac-root = http://dev.thep.lu.se/svndigest/ |
---|
| 77 | trac-root = http://dev.thep.lu.se/svndigest/ |
---|
[274] | 78 | |
---|
[515] | 79 | ### Section for setting dictionary for file names. |
---|
[666] | 80 | ### Prior looking for file name pattern in section [parsing-codons], |
---|
[515] | 81 | ### the file name may be translated according to the rules |
---|
| 82 | ### in this section. In default setting there is, for example, |
---|
| 83 | ### a rule to translate `<FILENAME>.in' to `<FILENAME>'. |
---|
| 84 | ### The format of the entries is: |
---|
| 85 | ### file-name-pattern = new-name |
---|
| 86 | ### Left hand side may contain wildcards (such as '*' and '?'). |
---|
| 87 | ### Right hand side may contain "$i", which will be replaced |
---|
| 88 | ### with the ith wild card in lhs string. |
---|
| 89 | [file-name-dictionary] |
---|
| 90 | *.in = $1 |
---|
| 91 | |
---|
| 92 | ### Section for setting parsing modes |
---|
| 93 | ### The format of the entries is: |
---|
[521] | 94 | ### file-name-pattern = "start-code" : "end-code" |
---|
[515] | 95 | ### The file-name-pattern may contain wildcards (such as '*' and '?'). |
---|
[521] | 96 | ### String "\n" can be used for codons containing newline |
---|
| 97 | ### character. |
---|
[515] | 98 | [parsing-codons] |
---|
[521] | 99 | *.ac = "#":"\n" ; "dnl":"\n" |
---|
[1038] | 100 | *.am = "#":"\n" |
---|
[1037] | 101 | *.as = "#":"\n" ; "dnl":"\n" |
---|
[1038] | 102 | *.bat = "\nREM":"\n" ; "\nrem":"\n" |
---|
[521] | 103 | *.c = "//":"\n" ; "/*":"*/" |
---|
| 104 | *.cc = "//":"\n" ; "/*":"*/" |
---|
| 105 | *.cpp = "//":"\n" ; "/*":"*/" |
---|
[1038] | 106 | *.css = "<!--":"-->" |
---|
[521] | 107 | *.cxx = "//":"\n" ; "/*":"*/" |
---|
| 108 | *.h = "//":"\n" ; "/*":"*/" |
---|
| 109 | *.hh = "//":"\n" ; "/*":"*/" |
---|
| 110 | *.hpp = "//":"\n" ; "/*":"*/" |
---|
[1038] | 111 | *.html = "<%--":"--%>" |
---|
[521] | 112 | *.java = "//":"\n" ; "/*":"*/" |
---|
[1038] | 113 | *.jsp = "<!--":"-->" |
---|
| 114 | *.m = "%":"\n" |
---|
| 115 | *.m4 = "#":"\n" ; "dnl":"\n" |
---|
[521] | 116 | *.pl = "#":"\n" |
---|
| 117 | *.pm = "#":"\n" |
---|
[1037] | 118 | *.R = "#":"\n" |
---|
[1038] | 119 | *.rss = "<!--":"-->" |
---|
| 120 | *.sgml = "<!--":"-->" |
---|
[521] | 121 | *.sh = "#":"\n" |
---|
[1038] | 122 | *.shtml = "<!--":"-->" |
---|
| 123 | *.tex = "%":"\n" |
---|
| 124 | *.xhtml = "<!--":"-->" |
---|
| 125 | *.xml = "<!--":"-->" |
---|
| 126 | *.xsd = "<!--":"-->" |
---|
| 127 | *.xsl = "<!--":"-->" |
---|
[521] | 128 | *config = "#":"\n" |
---|
| 129 | bootstrap = "#":"\n" |
---|
| 130 | Makefile = "#":"\n" |
---|
[1182] | 131 | Portfile = "#":"\n" |
---|