libcvs-spec-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Libcvs-spec-dev] CVSConnnectionPserver


From: Alastair Growcott
Subject: RE: [Libcvs-spec-dev] CVSConnnectionPserver
Date: Thu, 9 Dec 2004 02:01:43 -0000

I looked at the "info cvs" stuff, but couldn't find a single description of the protocol. It was all just an explanation of the command line. I looked on the web and found a fairly detailed description, but nothing about how to do an ext.
 
In terms of actual implementation, how do I do it? You say use an external program, how do I do that? With the system() function? Once I have run it, how do I then send further data to it? I must admit I still have no idea about this "cvs server" thing, or how to use it or send data to it. I was under the impression that you only ever had a single server process, but this seems to suggest that you could have multiple processes, with all the file locking issues you get from that.
 
Do you have any pseudo or Perl code you could quickly email me describing how to implement the "server" and the "ext" protocols?
 
Alastair.


From: Alexander Taler [mailto:address@hidden
Sent: Thu 09/12/2004 01:23
To: Alastair Growcott
Cc: address@hidden
Subject: RE: [Libcvs-spec-dev] CVSConnnectionPserver

>>>>> "Alastair" == Alastair Growcott <address@hidden> writes:
  Alastair> Oh, and why does the constructor for the pserver connection class
  Alastair> take a hostname but not the port number (which can be specified to
  Alastair> be different to the default).

Yeah, it should probably take a port number too

  Alastair> How does the "ext" protocol work? I have seen nothing on
  Alastair> it. Documentation on the whole CVS client/server protocol is
  Alastair> difficult to find and poorly written or incomplete when found.

The "ext" protocol invokes an external program, such as ssh, to
open a connection.  That program then executes "cvs server" at
the other end.  You talk to the server instance at the other end
through the connection opened by ssh.

The cvsclient protocol documentation does leave something to be
desired, but it is easily available as info pages.  Probably, on
the web also.

Alex

--
https://savannah.gnu.org/projects/libcvs-spec    Access CVS through a library.
PGP:  ID: 0x23DC453B  FPR: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B
According to you, why to people pre-plan their funeral?
    -- Question on an unsolicited survey from a local funeral home.


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet.
________________________________________________________________________

reply via email to

[Prev in Thread] Current Thread [Next in Thread]