/[CvsGraph]/cvsgraph/README
ViewVC logotype

Annotate of /cvsgraph/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations)
Sun Mar 4 20:15:42 2001 UTC (16 years, 8 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_1_0
Changes since 1.3: +3 -9 lines
Minor updates for 1.1.0
1 bertho 1.4 CvsGraph 1.1.0
2 bertho 1.1 ==============
3     CvsGraph creates a graphic representation of the revisions and branches in a
4     cvs/rcs repository. CvsGraph is inspired on the 'graph'-option from WinCVS. I
5     could not find something right away on the web and decided that it was time to
6     write a stand-alone version. I might have been doing some double work, but hey,
7     I like a hack.
8    
9    
10    
11     Notes
12     -----
13     - I only tested it with:
14 bertho 1.2 * RedHat Linux 6.[12] and 7.0
15 bertho 1.1 * cvs-1.10
16     * rcs-5.7
17 bertho 1.2 * gd-1.3 and gd-1.8
18     - CvsGraph generates only gifs for old versions of gd and only png and jpeg for
19     newer version of gd.
20 bertho 1.1
21    
22    
23     Compiling
24     ---------
25     Go to a directory of your choice, unpack the package and cd into the newly
26     create directory:
27     $ cd /where/ever/you/want
28 bertho 1.4 $ tar xzf cvsgraph-1.1.0.tar.gz
29     $ cd cvsgraph-1.1.0
30 bertho 1.3 $ ./configure
31 bertho 1.1 $ make
32    
33     This should do the trick and you have an executable file 'cvsgraph' in the
34     current directory.
35    
36    
37    
38     Installing
39     ----------
40     Put the executable file 'cvsgraph' somewhere where you think it should go.
41     Normally this would be "/usr/local/bin" or "/usr/bin". The configuration file
42     ought to be put in "/usr/local/etc" or "/etc". The exact position can be
43     overriden on the commandline anyway. Edit the configuration file to your liking
44     and you should be all set.
45    
46    
47    
48     Running CvsGraph
49     ----------------
50     Do *NOT* execute the program directly from a webserver. Direct execution would
51     be very insecure. Make a wrapper cgi-script in php, perl, or whatever you
52     normally use. A nice way is to hack the 'cvsweb' package to call CvsGraph.
53    
54 bertho 1.2 To generate an image do something like:
55 bertho 1.1 $ cvsgraph -r /home/to/repository -m module -o mygraph.gif myfile.c,v
56    
57     This generates a revison/branch image of the rcs file 'myfile.c,v' and puts it
58     into 'mygraph.gif'. The '-r' option is the path to the repository *located and
59     accessible* on your filesystem. The '-m' is the module in the repository. Note
60     that the extension of the file ends with ",v".
61    
62     Type 'cvsgraph -h' to get a full list of options. If the output is not given
63     (no '-o'), then the output is written to standard output.
64    
65    
66    
67     Todo
68     ----
69 bertho 1.2 - use ImageMagick for better control over what is generated (also multiple
70     output formats would be possible)
71 bertho 1.1 - do a better job in making a layout (auto moving branches and rubber banding
72     revision-connectors to make place)
73     - redo the entire code :-) All good programs are written twice (at least). The
74     structure is a real mess, but that is the price for hacking away without a
75     real programming strategy...
76    
77    
78    
79     License
80     -------
81     CvsGraph is distributed under GNU GPL v2. See 'LICENCE' for more information.
82    
83    
84    
85     Contact
86     -------
87     HomePage: http://www.akhphd.au.dk/~bertho/cvsgraph
88     E-mail: cvsgraph@akhphd.au.dk
89    
90     Greetings Bertho
91    

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0