File: README

package info (click to toggle)
cvsgraph 1.1.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 264 kB
  • ctags: 325
  • sloc: ansic: 1,616; yacc: 596; lex: 338; makefile: 84; php: 42
file content (90 lines) | stat: -rw-r--r-- 2,873 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
CvsGraph 1.1.2, 22-Mar-2001
===========================
CvsGraph creates a graphic representation of the revisions and branches in a
cvs/rcs repository. CvsGraph is inspired on the 'graph'-option from WinCVS. I
could not find something right away on the web and decided that it was time to
write a stand-alone version. I might have been doing some double work, but hey,
I like a hack.



New in this version
-------------------
This version of CvsGraph includes more control over the graphical presentation
of the boxes drawn to show revisions and branches (notably background colors
and shadows). Imagemaps can now generate links to generate diffs. A couple of
manual pages has been written for both executable and configuration.



Compiling
---------
Go to a directory of your choice, unpack the package and cd into the newly
create directory:
	$ cd /where/ever/you/want
	$ tar xzf cvsgraph-1.1.2.tar.gz
	$ cd cvsgraph-1.1.2
	$ ./configure
	$ make

This should do the trick and you have an executable file 'cvsgraph' in the
current directory.



Installing
----------
Put the executable file 'cvsgraph' somewhere where you think it should go.
Normally this would be "/usr/local/bin" or "/usr/bin". The configuration file
ought to be put in "/usr/local/etc" or "/etc". The exact position can be
overriden on the commandline anyway. Edit the configuration file to your liking
and you should be all set.



Running CvsGraph
----------------
Do *NOT* execute the program directly from a webserver. Direct execution would
be very insecure. Make a wrapper cgi-script in php, perl, or whatever you
normally use. A nice way is to hack the 'cvsweb' package to call CvsGraph.
There are several scripts and patches available from the CvsGraph homepage (see
below for address).

To generate an image do something like:
	$ cvsgraph -r /home/to/repository -m module -o mygraph.png myfile.c,v

This generates a revison/branch image of the rcs file 'myfile.c,v' and puts it
into 'mygraph.png'. The '-r' option is the path to the repository *located and
accessible* on your filesystem. The '-m' is the module in the repository. Note
that the extension of the file ends with ",v".

Type 'cvsgraph -h' to get a full list of options. If the output is not given
(no '-o'), then the output is written to standard output.

Please read the manual pages cvsgraph(1) and cvsgraph.conf(5) for more
information on execution and configuration.



Todo
----
- use ImageMagick for better control over what is generated (also multiple
  output formats would be possible)
- do a better job in making a layout (auto moving branches and rubber banding
  revision-connectors to make place)



License
-------
CvsGraph is distributed under GNU GPL v2. See 'LICENCE' for more information.



Contact
-------
HomePage: http://www.akhphd.au.dk/~bertho/cvsgraph
E-mail: cvsgraph@akhphd.au.dk

Greetings Bertho