• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Connecting to CVS remotely....

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All:
My company is planning for another development center. Some developers have moved in to a new location, working on the projects running in the old location. They need to connect to the cvs server which is located in the old place...
how do i now connect to the cvs server remotely? by using a web client?
any input please?...

rgds
shakthi
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Typically you will connect to the remote repository via ssh; see https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_2.html#SEC26
 
Thillai Sakthi
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ilja Preuss:
Typically you will connect to the remote repository via ssh; see https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_2.html#SEC26



But my server and the client are NT machines. Would ssh works in this case?
 
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, CVS doesn't work (at least not well) on NT as servers. You can run CVS client, but not server (without third party tool).
Why not try subversion? It's abit more complicated to learn, but it's definitely a good choice for you to run NT based server.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CVS works on NT. Have a look at http://www.cvsnt.org/wiki/

/dirk
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another alternative is to use Cygwin. Certainly makes developing on Windows easier to bear.
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just out of curiosity, has anyone use cvsnt as their source control tool? I never liked it when it first came out, lots of bugs. I used CVS for the longest time before I made the switch to subversion about 4 months ago.
Maybe things have changed on cvsnt side, as far as I remembered, in order to run sshd on windows, you need to install cygwin.
I like subversion because you can run https on subversion with apache, setup is easy. Runs both window and nix without any third party tools. If security isn't a big concern of yours, you can run svn server by itself as a network server.
I think the biggest factor for you Thillai Sakthi is what you are looking for in your development environment. From your post, it seems that you are running cvs already. How are you running it now? Do you run them on your local pcs?
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've used cvsnt at home, using the pserver protocol. Didn't have any problems. It's not secure, on the other hand.
 
Thillai Sakthi
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Adrian Yan:

I think the biggest factor for you Thillai Sakthi is what you are looking for in your development environment. From your post, it seems that you are running cvs already. How are you running it now? Do you run them on your local pcs?


Yes...I am looking it for the devt environment. We are already using CVS for all the projects running here. We have installed the cvs server on one machine and from individual developer pcs, access it thru wincvs client.
Now that one more devt center is coming up which is geographically distant, I want to make this server to be accessed from the new location too so that its all seamless.
Its too late to switch to subversion at this point....
any suggestions?
 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been using cvs server in my previous projects and it has been a great tool. We have windows environment currently, therefore I installed cvsnt (server) on the windows xp. Unfortunately it is proving to be worst. I assume there may be some file name issues as windows doesnt differentiate the case sensitive file names. However, I am now looking to install linux on the other machine and make it a cvs server. using cvsnt on windows, two different users cannot commit in the project.

I havent done cvs installation on linux before. I have visited cvshome website. I didnt get a quick step by step installation guide. While they do have the installation guide, but those files are quite big and require more time. Anybody aware of a short installation of cvs server on linux? I am not a linux expert as well....
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CVS comes by default on most linux systems. If you are running debian, apt-get install debian. Redhat, etc, rpm should work fine.
the documentation on cvshome.org basically teaches you how to use CVS. If you have any specific questions, you can post them here.
 
Murad Iqbal
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes you are correct, the cvs command does work on the linux shell. But how to setup a cvs project on the cvs server? the cvs clients will be synchronizing, committing, udpating from this cvs project/repository. How to specify the port it is supposed to listen to (default is 2401, i dont have any issues with that) etc. How do i know cvs is active and listening to that port and is serving that project? I know a passwd file should be located under that project, but how to do all this setup, I am not sure.
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CVS is not an server application, it doesn't do what you normally expect as in other server packages. You don't need to start it or anything like that.
Do you know what SSH is? SSH by far is the easiest way to do it, since it uses O/S itself to do authentication.
And if you want, I recommend you to use Subversion, it's a much better designed system than CVS and provide much more functionalities than CVS.
 
Murad Iqbal
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does subversion client has eclipse integration? or with any other IDE?
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Indeed it does, you can get it at: Subclipse.
If you use window, I highly recommend tortoise SVN, it's incredible useful. I usually don't praise about tools, but it increases my productivity alot.
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Adrian Yan:
Indeed it does, you can get it at: Subclipse.



It doesn't look as complete as CVS integration, though. For example, the Synchronize view doesn't seem to work with svn.

If you use window, I highly recommend tortoise SVN, it's incredible useful.



Yes! Tortoise CVS is nice, too...
reply
    Bookmark Topic Watch Topic
  • New Topic