CVS

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

CVS

Post by evilmonkey »

Hello,

I'm on a hosting plan (with hostgator, if anyone knows them). I am in need of a CVS server right now, so I emailed them, and they told me that, yes, I can use it. I send them a follow-up asking for what port and protocol to use and get back the most idiotic response I've ever seen from a support staff member: "What's a CVS?". So rather than trying to explain it, I thought I'd ask here first: does anyone have any idea how to connect to a CVS server on an RedHat 9 box with Cpanel and WHM? Chances are they're using all default protocols and ports. Would I need SSH enabled? Thanks!
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: CVS

Post by Roja »

evilmonkey wrote:does anyone have any idea how to connect to a CVS server on an RedHat 9 box with Cpanel and WHM? Chances are they're using all default protocols and ports. Would I need SSH enabled? Thanks!
Every question you asked needs more detail to answer it. :)

In order:

Q: How do you connect to a RedHat 9 box with Cpanel and WHM
A: If they are using the defaults for CVS, you have to do a series of steps. You have to create a repository. Then you have to setup your users in it. You have to do a checkout of the empty reposity. Then you commit your files. Each can be confusing if you've never done it, and if they haven't set it up correctly.

Q: Would I need SSH enabled?
A: It depends on whether they are using a pserver+ssh setup, or not. You'll have to ask them, and it doesn't sound like they will be able to answer that.

All of the steps from the first question will be vastly different depending on whether the client (your PC) is a unix-based system or Windows. On Windows, you generally use a graphical CVS client (Tortoise is common), while on unix-based systems, you use a commandline client. As a result, all of the steps will depend on that.

Of course, there are *thousands* of pages on how to use CVS - google is your friend. :)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

I wrote down i setup a repository and used it with tortoisecvs + ssh.com client (but it can be easily done the same with putty)

http://timvw.madoka.be/comment.php?message_id=148


Once you have done this, you can start thinking about making a public repository.. And dig into pserver config ;)
Post Reply