info-cvs
[Top][All Lists]
Advanced

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

Re: Accessing CVS repositry history remotely


From: Mark D. Baushke
Subject: Re: Accessing CVS repositry history remotely
Date: Fri, 06 Jan 2006 10:58:04 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

address@hidden <address@hidden> writes:

> I'm looking to connect and obtain the history for a CVS repository, 
> but I will not have command line access to the box running the
> repository. 

So, that means the access is :psever: rather than :ext: ?

    cvs -d :pserver:remote.host.domain/path/to/cvs/root history
and/or
    cvs -d :pserver:remote.host.domain/path/to/cvs/root log

(It all depends on what kind of 'history' you need, your problem
statement is soewhat vague.)

> Normally, using the history command would be a no brainer,
> but I have been given said constraint. 

Your 'constraint' may be obvious to you, but it is not obvious as
written.

> My other "constraint" is that this should be in Java. Looking around
> for prebuilt apps that would do this, I stumbled upon this:
> 
> http://www.cs.toronto.edu/~james/JCVSReport/javadoc/ca/utoronto/JCVSReport/cvsPlugin/Cvs.html

I had not know of that package previously... I suppose you may also wish
to consider jCVS (http://www.jcvs.org/)...

> Now, I would love to use something like that, unfortunately it looks as
> if it is used on the same machine that would be running the repository,
> and thus can use the command line to grab the history and parse it.

CVS may use either local or client/server connections. Given the
existance of getConnectionMethod in the toronto.edu package, it looks
like it should do the right thing.

> Any ideas on how to make this connection from another machine?  

Find out which remote connection methods exist for your server.

  :ext:
  :gserver:
  :kserver:
  :pserver:
  :server:

There will potentially be others if your server is CVSNT rather than CVS
based.

If your only connection method is :local:, then you have other
problems...

> If so, any prebuilt things out there for this? I find it hard to
> believe that this is the first time such a task would come up...

You are asking the wrong forum for information and you do not provide
enough information to be useful in providing a definitive answer to
your question.

I strongly urge you to read the CVS documentation for the revision of
the CVS server you are attempting to use.

        Good luck,
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFDvr27Cg7APGsDnFERAtAkAJ4olfct1VVud0Ehry95NN22ozK+RACfYvku
dZn2ENKTB4FUWGJX+yCa4z8=
=58xz
-----END PGP SIGNATURE-----




reply via email to

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