Re: Providing the functionality of CVS as a library

2002-11-16 Thread Alex Taler

 Larry == Larry Jones [EMAIL PROTECTED] writes:
  Larry To: [EMAIL PROTECTED] (Alex Taler)
  Larry Subject: Re: Providing the functionality of CVS as a library
  Larry Date: Sun, 3 Nov 2002 14:01:58 -0500 (EST)

  Larry There's only one client/server protocol that's used by all the client/
  Larry server methods (pserver, ext, fork, etc.): see doc/cvsclient.*.

And happily it can be invoked as cvs server on the command
line, to support the local repository case and make development
easier.  Thanks for the pointer, it's just what I need.

The libcvs project has now been approved (thanks Derek?), so if
you're curious take a look at libcvs.cvshome.org.  I've written
some design docs for the API, and now we're working on an
implementation of the CVS client purely in Perl.

Alex

-- 
Some men can swing by their heels on the flying trapeze; some men can become
president of the republic; I can drink cognac.
   Henri Toulouse-Lautrec (as portrayed in Moulin Rouge)

PGP: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Providing the functionality of CVS as a library

2002-11-03 Thread Alex Taler

 jlcarpenter == jlcarpenter  [EMAIL PROTECTED] writes:
  jlcarpenter To: [EMAIL PROTECTED]
  jlcarpenter Subject: RE: Providing the functionality of CVS as a library
  jlcarpenter Date: Fri, 1 Nov 2002 09:40:12 -0800

  jlcarpenter Isn't there a Java CVS client library used within jCVS?
  jlcarpenter Unfortunately for me the library is under a GPL which doesn't
  jlcarpenter let me use it within any ant tasks submitted to Jakarta.

Thanks for the tip, it looks like a very thorough CVS client
implementation.  I'm sure it will be useful to me.

It looks like the library is in fact under LGPL, so you should be
able to use it, no?

  jlcarpenter Surely there is code on CPAN which interfaces with CVS even if
  jlcarpenter it is really pushing a command line under the covers.

If there is, I couldn't find it.  There's a module called
VCS::Cvs, but it's just a skeleton, and hasn't been touched in a
year.  It is the perl interface the interests me the most at the
moment.

Alex

-- 
Touch Bowler, then choose insertion point.
-- Software at the local bowling alley.

PGP: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Providing the functionality of CVS as a library

2002-11-03 Thread Alex Taler
 Rob == Rob Helmer [EMAIL PROTECTED] writes:
  Rob We looked at VCS::Cvs for inclusion into SandWeb, and realized the same
  Rob thing, so we wrote our own abstracted Perl CVS class (
  Rob SandWeb::Repository::cvs ).

  Rob If you want to check it out, I'd reccommend getting the CVS version -
  Rob http://sandweb.sf.net

Thanks, I took a look at it.  It doesn't look quite like what I
want.  I am thinking of an API in which the managed CVS files are
individual objects which you can manipulate.  Along the same
lines as in VCS::Cvs.  The benefit I see to this approach is
better handling of unusual cases.  How do you handle error and
unusual cases?

Alex

-- 
Touch Bowler, then choose insertion point.
-- Software at the local bowling alley.

PGP: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Providing the functionality of CVS as a library

2002-11-02 Thread Alex Taler

 Larry == Larry Jones [EMAIL PROTECTED] writes:
  Larry That's one of the motivations for the CVS client/server protocol --
  Larry the intent was the people should write new clients rather than trying
  Larry to wrap the existing command-line client.  Librarifying CVS would
  Larry likely require a complete re-write.

Do you mean the pserver protocol, and not ext?  I will take a
look at it, although I personally don't use pserver for security
reasons.

I wondered if I would hear the words complete re-write.  I
thought that might be the reason this hadn't been done yet.
However, I am still committed to it.

Alex

-- 
Why would anybody shoot at a police station?
-- Assault on Precinct 13

PGP: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Providing the functionality of CVS as a library

2002-11-02 Thread Alex Taler

 Shankar == Shankar Unni [EMAIL PROTECTED] writes:
  Shankar Alex Taler writes:
   I'm interested in working on providing the functionality of CVS as a
   library.

  Shankar I take it you mean the _client_ side of CVS as a library? Or are you
  Shankar talking about serving up CVS functionality from an embedded server?

Yes, I mean the client side of CVS.

-- 
Why would anybody shoot at a police station?
-- Assault on Precinct 13

PGP: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Providing the functionality of CVS as a library

2002-10-31 Thread Alex Taler

Hi, 

I'm interested in working on providing the functionality of CVS
as a library.  I've created a project called libcvs on
cvshome.org to host the work.  It's pending approval, so don't go
look yet.

I don't think there's anyone out there already doing, this, but
please tell me if I'm wrong.  I'm sure the idea has come up in
the past, but I couldn't find discussion of it in the mailing
list archives.  Is there a reason that nothing like this is being
done?

My incentive for this comes from my experience with writing tools
that wrap CVS.  I found the parsing of the CVS output quite
cumbersome, and prone to failure when I brought it to a new site.
I know I'm not the only one who would benefit from such a
library, so it seemed like a good idea.

Of course there are lots of issues to be worked out, such as
source licensing, using the existing CVS source, accessing remote
repositories, and libraries in multiple languages.  I look
forward to working out all of these problems.

Alex

-- 
Why would anybody shoot at a police station?
-- Assault on Precinct 13

PGP: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs