1 | $Id: readme.txt 185 2006-09-06 02:39:18Z jari $ |
---|
2 | |
---|
3 | ====================================================================== |
---|
4 | Copyright (C) 2005, 2006 Jari Häkkinen |
---|
5 | |
---|
6 | This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest |
---|
7 | |
---|
8 | svndigest is free software; you can redistribute it and/or modify it |
---|
9 | under the terms of the GNU General Public License as published by the |
---|
10 | Free Software Foundation; either version 2 of the License, or (at your |
---|
11 | option) any later version. |
---|
12 | |
---|
13 | svndigest is distributed in the hope that it will be useful, but |
---|
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
16 | General Public License for more details. |
---|
17 | |
---|
18 | You should have received a copy of the GNU General Public License |
---|
19 | along with this program; if not, write to the Free Software |
---|
20 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
---|
21 | USA. |
---|
22 | ====================================================================== |
---|
23 | |
---|
24 | |
---|
25 | svndigest traverses a directory structure (controlled by subversion) |
---|
26 | and calculates developer statistics for all subversion controlled |
---|
27 | entries. The result is written to a sub-directory of an user |
---|
28 | specifiable target directory (defualt is the current working |
---|
29 | directory). |
---|
30 | |
---|
31 | To understand what statistics is calculated by svndigest this |
---|
32 | definition is needed: The developer who made the latest change to a |
---|
33 | line still in use in the latest revision, is considered as the |
---|
34 | contributor of that line regardless of who actually originally created |
---|
35 | that line. |
---|
36 | |
---|
37 | The statistics calculated is the number of lines contributed from each |
---|
38 | contributing developer in the latest (checked out) revision. Also, the |
---|
39 | number of lines still in use from each revision is calculated. |
---|
40 | |
---|
41 | There are many different types of files and for many file types it |
---|
42 | does not make sense to define lines. Source code, documentation, and |
---|
43 | other human readable files can be treated in single line basis whereas |
---|
44 | symbolic links and binary files cannot. svndigest treats binary files |
---|
45 | as zero-line files, whereas symbolic links are treated as one-line |
---|
46 | files. There is a possiblity to exclude files from the statistics, the |
---|
47 | use of the property svndigest:ignore. |
---|
48 | |
---|
49 | Sometimes large test files and xml files are added to the repository |
---|
50 | that should not really be counted in the statistics. This is solved |
---|
51 | with the svndigest:ignore property. Files with this property are |
---|
52 | excluded from statistics. Setting the svndigest:ignore propertu to a |
---|
53 | directory will exclude all siblings to that directory from svndigest |
---|
54 | treatment. |
---|
55 | |
---|
56 | svndigest requires the subversion repository to be checked out before |
---|
57 | analysis, i.e., svndigest will not run directly against a repository, |
---|
58 | and up to date with the repository. |
---|
59 | |
---|
60 | |
---|
61 | The current flow of the program is. |
---|
62 | |
---|
63 | i) Check that we are working with a WC in subversion control. |
---|
64 | |
---|
65 | ii) Build the requested directory structure ignoring not subversion |
---|
66 | controlled items. During the directory structure creation a check |
---|
67 | is made that the WC is up to date with the repository. |
---|
68 | |
---|
69 | iii) Walk through the directory structure and calculate statistics for |
---|
70 | each entry. |
---|
71 | |
---|
72 | iv) Create the plots and html presentation. |
---|