- Project tools
-
-
-
- How do I...
-
|
CVS client setup
Access the source code repository for this project in one of the following ways:
WinCvs client
To use WinCvs to check out your own set of source code files, you must first set up the correct CVS root using the following steps.
Launch WinCvs and select Admin - Login. Enter the CVSROOT:
:pserver:guest@cvs.sunsource.net:/cvs
Click OK. Enter password.
To access your version controlled data remotely, you will have to create a working copy on your computer which points to your project's CVS repository. You do this using the "checkout" operation of the CVS client program of your choice (TortoiseCVS, WinCVS, ...). Most CVS clients will need to know the following things about your repository in order to complete the checkout operation:
Repository Root: :pserver:USERNAME@PROJECTNAME.DOMAIN:/cvs CVS Module: PROJECTNAME Many CVS clients will also want to know where on your computer you would like to create the working copy, and what you would like the name of the new working copy directory to be. Then create a subfolder for this project. (You may even want to create separate subfolders for each module if you are working in more than one.)
In WinCvs, select Admin - Login and enter your CVS password.
Click on the left window in the program and select a folder. Then select Remote - Checkout Module. Select the project folder you created earlier.
Enter the project module name and click OK. You should see a scrolling list of filenames as these are created in your folder(s).
Repeat the module creation process for each additional CVS module you wish to check out.
WinCvs how-to guide for this site
$l10n.TortoiseCVSClient
$l10n.UseTortoiseCVSToCheckout
To access your version controlled data remotely, you will have to create a working copy on your computer which points to your project's CVS repository. You do this using the "checkout" operation of the CVS client program of your choice (TortoiseCVS, WinCVS, ...). Most CVS clients will need to know the following things about your repository in order to complete the checkout operation:
Repository Root: :pserver:USERNAME@PROJECTNAME.DOMAIN:/cvs CVS Module: PROJECTNAME Many CVS clients will also want to know where on your computer you would like to create the working copy, and what you would like the name of the new working copy directory to be.
Additionally, while some CVS clients will allow you to specify your CVS login credentials as part of the checkout operation, others (like the 'cvs'command-line client) require a separate "login" operation. If so, perform the login operation first, using the same repository root that you will give to the checkout operation.
$l10n.InvokeTortoiseCVS
$l10n.TortoiseCVSEnterCVSROOT
:pserver:guest@cvs.sunsource.net:/cvs
$l10n.TortoiseCVSEnterModule
www/[modulename]
Click OK. Enter password.
Repeat the module creation process for each additional CVS module you wish to check out.
Command-line CVS client
Before you can do a CVS checkout, you must set the CVSROOT to indicate where the CVS repository for this project is located.
The command to set CVSROOT and login is:
cvs -d :pserver:guest@cvs.sunsource.net:/cvs login
There is no password for guest. Press Enter after this command.
Then you can check out a working copy with:
cvs -d :pserver:guest@cvs.sunsource.net:/cvs checkout www
If this is the only project you are working on, you only need to set the CVSROOT once. Thereafter when you log in to this domain, the CVS repository for this project is assumed. If you are working on multiple projects, however, you must specify the CVSROOT each time you log in to ensure that the CVS repository you are accessing is the right one.
To check out the project source repository in an individual module (if you don't need the entire repository), type:
cvs -d :pserver:guest@cvs.sunsource.net:/cvs checkout www/[modulename]
This command should result in a scrolling list of files being added to the local directory you specified on your machine. Now you are ready to use your file editor to work with individual files and make changes.
If you wish to contribute to the project's CVS repository, you must have "write" permissions as a project member.
Note: If your site requires an SSH tunnel for security purposes, you will need to set one up before you can commit modified files into the project repository.
More about SSH tunneling
CVS how-to guide for this site
|