| 1 |
.\" Hey, EMACS: -*- nroff -*- |
| 2 |
.\" First parameter, NAME, should be all caps |
| 3 |
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection |
| 4 |
.\" other parameters are allowed: see man(7), man(1) |
| 5 |
.TH CVSSERVICE 1 "March 19, 2005" |
| 6 |
.\" Please adjust this date whenever revising the manpage. |
| 7 |
.\" |
| 8 |
.\" Some roff macros, for reference: |
| 9 |
.\" .nh disable hyphenation |
| 10 |
.\" .hy enable hyphenation |
| 11 |
.\" .ad l left justify |
| 12 |
.\" .ad b justify to both left and right margins |
| 13 |
.\" .nf disable filling |
| 14 |
.\" .fi enable filling |
| 15 |
.\" .br insert line break |
| 16 |
.\" .sp <n> insert n+1 empty lines |
| 17 |
.\" for manpage-specific macros, see man(7) |
| 18 |
.SH NAME |
| 19 |
cvsservice \- a DCOP service for accessing CVS repositories |
| 20 |
.SH SYNOPSIS |
| 21 |
.B cvsservice |
| 22 |
.RI "[ " generic-options " ]" |
| 23 |
.SH DESCRIPTION |
| 24 |
The CVS service is a DCOP service for accessing and working with |
| 25 |
remote CVS repositories. Applications may link with this library to |
| 26 |
access the DCOP service directly from C++. Alternatively, scripts may |
| 27 |
access the service using the standard |
| 28 |
.BR dcop (1) |
| 29 |
command-line tool. |
| 30 |
.PP |
| 31 |
DCOP is the Desktop Communication Protocol used throughout KDE. |
| 32 |
.PP |
| 33 |
The CVS DCOP service consists of the following three parts: |
| 34 |
.TP |
| 35 |
\fBCvsService\fP |
| 36 |
The main interface to the functionality of the |
| 37 |
.BR cvs (1) |
| 38 |
command line client. There is one method for each CVS command, e.g., add, |
| 39 |
checkout, commit, etc. The methods assemble the command line |
| 40 |
arguments, create a CvsJob and return a DCOPRef object for it |
| 41 |
to the caller. There is one instance of this service for each |
| 42 |
application instance. |
| 43 |
.TP |
| 44 |
\fBRepository\fP |
| 45 |
This DCOPObject manages the configuration data of the current |
| 46 |
CVS repository. The data is automatically updated when other |
| 47 |
service instances change it. |
| 48 |
.TP |
| 49 |
\fBCvsJob\fP |
| 50 |
This class represents a CVS job. You can execute and cancel it, |
| 51 |
and you can retrieve the output of the cvs client by either |
| 52 |
connecting to the proper DCOP signals or by using the output() |
| 53 |
method. There are two types of jobs. First the non-concurrent |
| 54 |
job which has to run alone, like cvs update or import. Second |
| 55 |
the jobs which can run concurrently like cvs log or annotate. |
| 56 |
.PP |
| 57 |
The CVS service is provided with Cervisia, which is part of the KDE |
| 58 |
Software Development Kit. |
| 59 |
.SH OPTIONS |
| 60 |
For a full summary of options, run \fIcvsservice \-\-help\fP. |
| 61 |
.SH SEE ALSO |
| 62 |
.BR cervisia (1), |
| 63 |
.BR cvs (1), |
| 64 |
.BR cvsaskpass (1), |
| 65 |
.BR dcop (1). |
| 66 |
.PP |
| 67 |
Details of how to use the CVS service from within a shell script, a C++ |
| 68 |
program or through the JavaScript bindings can be found in |
| 69 |
\fI/usr/share/doc/libcvsservice0/DESIGN\fP. |
| 70 |
.SH AUTHOR |
| 71 |
The CVS service was written by Christian Loose <[email protected]>. |
| 72 |
.br |
| 73 |
Cervisia was written by Bernd Gehrmann <[email protected]>, |
| 74 |
Christian Loose <[email protected]>, |
| 75 |
Andre Woebbeking <[email protected]>, |
| 76 |
Carlos Woelz <[email protected]> and others. |
| 77 |
.br |
| 78 |
This manual page was prepared by Ben Burton <[email protected]> |
| 79 |
for the Debian GNU/Linux system (but may be used by others). |