[84] | 1 | $Id: README 185 2006-09-06 02:39:18Z jari $ |
---|
[26] | 2 | |
---|
[122] | 3 | ====================================================================== |
---|
[84] | 4 | Copyright (C) 2005, 2006 Jari Häkkinen |
---|
| 5 | |
---|
[149] | 6 | This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest |
---|
[84] | 7 | |
---|
[149] | 8 | svndigest is free software; you can redistribute it and/or modify it |
---|
[84] | 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 | |
---|
[149] | 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. |
---|
[84] | 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. |
---|
[122] | 22 | ====================================================================== |
---|
[84] | 23 | |
---|
| 24 | |
---|
[185] | 25 | 0 What is svndigest? |
---|
| 26 | |
---|
| 27 | svndigest is a tool to extract development information and statistics |
---|
| 28 | from a subversion repository. A slightly more detailed explanation is |
---|
| 29 | available in doc/readme.txt |
---|
| 30 | |
---|
| 31 | |
---|
[136] | 32 | 1 Prerequisites |
---|
[26] | 33 | |
---|
[162] | 34 | ia) Subversion development files, i.e., header files and program |
---|
[136] | 35 | libraries, version 1.4 or later. |
---|
| 36 | |
---|
[162] | 37 | ib) This item should not be an issue if item ia) is fulfilled; the |
---|
| 38 | Apache Portable Runtime (APR) should be available if the subversion |
---|
| 39 | API was succesfully compiled. Subversion depends on APR and in |
---|
| 40 | consequence, the dependency is inherited by svndigest. |
---|
| 41 | |
---|
[136] | 42 | ii) Gnuplot. |
---|
| 43 | |
---|
[149] | 44 | iii) A standard C++ compliant compiler with one extension: svndigest |
---|
[136] | 45 | must be compiled with a C++ compiler that supports 'long long' |
---|
| 46 | types - GCC does this. This is due to the fact that one of the |
---|
[162] | 47 | underlying libraries, APR, is using 'long long'. APR is written in |
---|
[136] | 48 | C and the C standard allows 'long long'. |
---|
| 49 | |
---|
| 50 | Even though the source is compiled with the -pedantic flag (which |
---|
| 51 | should catch the non C++ standard 'long long') there is another |
---|
| 52 | flag to suppress 'long long' diagnostics, -Wno-long-long. |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | 2 Compilation and installation |
---|
| 56 | |
---|
[149] | 57 | See INSTALL for instructions on how to compile and install svndigest. |
---|
[136] | 58 | |
---|
| 59 | |
---|
[185] | 60 | 3 Running svndigest |
---|
[136] | 61 | |
---|
[185] | 62 | To get a listing of available options issue 'svndigest -h'. Simply run |
---|
| 63 | the program with |
---|
| 64 | |
---|
| 65 | svndigest -r /path/to/a/subversion/WC -t /path/whereto/write/output -v |
---|
| 66 | |
---|
| 67 | The -v option will produce some output to stdout and can be omitted. |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | 4 Acknowledgements |
---|
| 71 | |
---|
[149] | 72 | svndigest uses a C++ interface to Gnuplot inspired by Rajarshi Guha. |
---|
[26] | 73 | |
---|
| 74 | Rajarshi Guha's "A C++ Interface to Gnuplot" can be found through |
---|
| 75 | http://jijo.cjb.net/ . The C++ interface is based on "gnuplot |
---|
| 76 | interfaces in ANSI C" written by Nicolas Devillard. The C implemention |
---|
| 77 | is available through http://ndevilla.free.fr/ . |
---|
[162] | 78 | |
---|
| 79 | svndigest build system uses an M4 macro (build_support/find_apr.m4) |
---|
| 80 | created within the Apache project (The Apache Software Foundation). No |
---|
| 81 | changes is made to the M4 script. The apache license text is available |
---|
| 82 | as buid_support/apache_LICENSE-2.0.txt. |
---|