1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Changes between Version 1 and Version 2 of WinCvs instructions

Show
Ignore:
Timestamp:
01/14/09 22:38:34 (4 years ago)
Author:
jhaverlack (IP: 172.29.33.1)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WinCvs instructions

    v1 v2  
     1= Overview of CVS = 
     2 
     3 
     4WinCvs is a CVS client that runs on the Microsoft Windows platform. 
     5 
     6CVS, Concurrent Versions System, is a centralized Revision Control System (RCS). SourceForge.net provides CVS service to all hosted projects. In order to access our CVS service, you will need to install a CVS client. CVS allows developers to keep a historical record of changes made to their source code tree, and to allow multiple developers to work on a single set of files at the same time without accidentally overwriting changes made by other developers. 
     7 
     8 
     9= WinCvs Overview = 
     10 
     11 
     12WinCvs is a CVS client that runs on the Microsoft Windows platform. WinCvs is a stand-alone application, unlike TortoiseCVS. WinCvs is an advanced CVS client that provides an expert level of control over CVS operations. Beginners may find TortoiseCVS easier to use. 
     13 
     14How does WinCvs differ from other Windows-based CVS clients? WinCvs is designed to allow for maximum power and flexibility for the advanced CVS user. WinCvs provides access to all CVS operations from an interface that is easier to use than the command line CVS client. WinCvs is designed for interactive use and not for scripting the operations of CVS. Most users new to CVS will feel more comfortable using TortoiseCVS. If you desire a command line CVS client or want to automate your CVS operations, the command-line CVS client included with Cygwin is your best choice. 
     15 
     16 
     17= Getting WinCvs = 
     18 
     19 
     20Current stable version as of last update to these instructions: 2.0.2.3 
     21 
     22The installation and usage instructions presented here were written for a specific version of WinCvs, cited above. SourceForge.net staff recommend the use of the most recent WinCvs release marked "stable". If issues are encountered, you should revert to the version referenced in this document. 
     23 
     24Stable releases of WinCvs may be downloaded from the CvsGui project on SourceForge.net. 
     25 
     26 
     27= Installing WinCvs = 
     28 
     29 
     30To install WinCvs, read these instructions fully, then do the following: 
     31 
     32   1. Download the latest stable release of WinCvs. 
     33   2. Unzip the file downloaded from the CvsGui project (A compression utility such as 7-Zip is necessary to extract the setup program from the zip file downloaded with some versions of Windows). 
     34   3. Run the WinCvs installer program extracted from the downloaded file, wincvs_setup.exe. 
     35   4. Close all other open programs except for the WinCvs installer and then click on the 'Next' button. 
     36   5. Read the license text if you are unfamiliar with it, select the 'I accept the agreement' radio button and then click on the 'Next' button. 
     37   6. This screen displays useful information about the WinCvs applicaion. It also provides details on optional Windows components that are required for certain users. Once you have done so, click on the 'Next' button. 
     38   7. Review and alter the installation path for WinCvs if necessary. The default path is the ideal location for most users. Then, click on the 'Next' button. 
     39   8. Select the 'Full installation (recommended)' installation component pull-down and click on the 'Next' button. 
     40   9. Review and alter the Start Menu folder to be created for WinCvs as needed (the default option is recommended and shouldn't be changed for most users), and click on the 'Next' button. 
     41  10. Modify any icon and shell context menu options as desired (again, most users shouldn't have a need to modify these), and click on the 'Next' button. 
     42  11. Review the selected installation options and then click on the 'Install' button if they are correct. If not, go back and correct any incorrect settings. 
     43  12. Make sure the 'Install CVSNT' option is checked and click on the 'Finish' button. 
     44  13. Click on the 'Next' button. 
     45  14. Review the license agreement (the GNU GPL) and then select the 'I accept the agreement' radio button. Then, click on the 'Next' button to continue. 
     46  15. Review and alter the installation path for cvsnt if necessary. The default path is the ideal location for most users. Then, click on the 'Next' button. 
     47  16. If a warning box comes up, notifying you that the folder exists where you are trying to install cvsnt, select 'Yes', as you do want to overwrite it. 
     48  17. Select the 'Full installation' component method (this is not the default, you will have to select the option from the pull-down menu), then click on the 'Next' button. 
     49  18. Review and modify the Start Menu options for cvsnt (the defaults should be fine for most users), then click on the 'Next' button. 
     50  19. Make sure the 'Generate default certificate' option is checked and click on the 'Next' button. 
     51  20. Review the installation options and use the 'Back' button to fix any mistakes. Then, click on the 'Install' button. 
     52  21. Click on the 'Finish' button 
     53  22. You must restart the computer to start using WinCvs. If you wish to use it now, select the 'Yes, restart the computer now' radio button. Otherwise, select the 'No, I will restart the computer later' radio button, and restart the computer before trying to configure WinCvs. 
     54 
     55 
     56 
     57 
     58= Configuring WinCvs for Developer SSH Authentication = 
     59 
     60 
     61Developers should follow these instructions to configure read/write access to their project's CVS repository. You must be an administrator or project member with CVS access permissions to be able to access CVS in this manner. 
     62 
     63If you are not a project member or administrator with CVS access permissions, you may obtain read-only access to the repository via anonymous pserver authentication, but cannot use the instructions presented in this section. 
     64 
     65If you have not already done so, you should install the WinCvs software. 
     66 
     67Before configuring WinCvs, configure an SSH key for authentication to the CVS server. 
     68 
     69The following settings should be configured to use WinCvs with SSH authentication. Do not forget to load up the pageant program with your SourceForge.net CVS/Shell SSH key prior to attempting any connections. Without this program open with the proper key loaded, your CVS attempts will fail. 
     70 
     71The only information required to perform operations on your repository with WinCvs is the 'CVSROOT:' string. This string requires knowing the following information before you can form it, and it is specific to each project and developer for the project. The list of information to get, includes: 
     72 
     73    * USERNAME: Your SourceForge.net username, the same one used to login to the SourceForge.net website. 
     74    * PROJECTNAME: The Project UNIX name for the project whose CVS repository you want to access. The WinCvs client is managed under a project with the UNIX name of 'cvsgui', for example. All project UNIX names are lower case. The project UNIX name can be located on the summary page for the project (https://www.sourceforge.net/projects/cvsgui/ for example). 
     75 
     76 
     77 
     78The generalized format for the CVSROOT string looks like: 
     79 
     80:ssh:USERNAME@PROJECTNAME.cvs.sourceforge.net:/cvsroot/PROJECTNAME 
     81 
     82Or, for the USERNAME bob and the PROJECTNAME cvsgui, the string looks like: 
     83 
     84:ssh:bob@cvsgui.cvs.sourceforge.net:/cvsroot/cvsgui 
     85 
     86This setting should be checked any time you are working on a new project. Any time the project you are working on changes, you want to make sure you are checking the changes into and modifying the files in the proper project. 
     87 
     88The CVSROOT string will be requested when you select an operation such as checkout or import from the WinCvs menu, in the 'CVSROOT:' field. You will manually enter it directly into the field, formed as described above. We recommend against using the ellipses located next to the 'CVSROOT:' field to generate the CVSROOT string using the wizard, it can create undue confusion for a novice CVS user. 
     89 
     90The first time you try to connect, the WinCvs Alert window will appear. The host key fingerprint for the CVS server will appear in the bottom pane of the WinCvs application, you may have to scroll up to see it. You should compare that value with the one in the SSH Host Key Fingerprint Listing. If the fingerprints match, click on the 'Yes' button; otherwise click the 'No' button and notify SourceForge.net staff. 
     91 
     92If you are asked for a password, SSH key configuration wasn't completed properly, Pageant is not running, or your SSH key has not been loaded in to Pageant. SSH key authentication must be configured before CVS access via SSH will function properly. 
     93 
     94 
     95= Configuring WinCvs for Anonymous pserver Authentication = 
     96 
     97 
     98Read-only access to any project CVS repository may be obtained using anonymous pserver-based authentication. Working copies generated in this manner cannot be used to perform write operations (a fresh checkout via SSH authentication would be needed by a developer who wishes to make repository changes). A SourceForge.net user account is not required to access repositories via anonymous pserver authentication. 
     99 
     100The only information required to perform operations on your repository with WinCvs is the 'CVSROOT:' string. This string requires knowing the following information before you can form it, and it is specific to each project and developer for the project. The list of information to get, includes: 
     101 
     102    * USERNAME: anonymous (the username for anonymous pserver authentication is always anonymous). 
     103    * PROJECTNAME: The Project UNIX name for the project whose CVS repository you want to access. The WinCvs client is managed under a project with the UNIX name of 'cvsgui', for example. All project UNIX names are lower case. The project UNIX name can be located on the summary page for the project (https://www.sourceforge.net/projects/cvsgui/ for example). 
     104 
     105 
     106 
     107The generalized format for the CVSROOT string looks like: 
     108 
     109:pserver:USERNAME@PROJECTNAME.cvs.sourceforge.net:/cvsroot/PROJECTNAME 
     110 
     111Or, for the USERNAME anonymous and the PROJECTNAME cvsgui, the string looks like: 
     112 
     113:pserver:anonymous@cvsgui.cvs.sourceforge.net:/cvsroot/cvsgui 
     114 
     115These configuration settings are the only settings needed in order to access a repository for read operations (checkout, update). You should not be prompted for a password when accessing a repository in this manner; if you are prompted for a password, contact SourceForge.net staff for assistance after you have verified that your configuration settings match those provided here. 
     116 
     117 
     118= Configuring WinCvs Around a Firewall = 
     119 
     120 
     121Many users are behind firewalls or proxy servers which block traffic on the TCP ports normally used to access our CVS servers (22 for SSH authentication). We provide SSH access to our CVS servers using port 443 (normally SSL-encrypted HTTP web traffic), to eliminate some of the problems users encounter. 
     122 
     123In some cases, proxies or firewalls modify the packets sent on these ports as well, which is not something that can be overcome. For these cases, you should contact your Network Administrator or ISP for further assistance. 
     124 
     125These instructions should be followed only if you know you are behind a firewall or proxy which is blocking outbound traffic on port 22. 
     126 
     127If you are not a member of the project that you wish to connect to, instructions on how to configure access via pserver authentication immediately follow the instructions on configuring developer SSH access. 
     128 
     129For developer access to repositories via SSH, from behind a firewall or proxy, install WinCvs and follow these alternate instructions for configuring the CVSROOT string. First, you must gather the following information (this information is different than that in the developer configuration section, but you should still read it first.): 
     130 
     131    * USERNAME: Your SourceForge.net username, the same one used to login to the SourceForge.net website. 
     132    * PROJECTNAME: The Project UNIX name for the project whose CVS repository you want to access. The WinCvs client is managed under a project with the UNIX name of 'cvsgui', for example. All project UNIX names are lower case. The project UNIX name can be located on the summary page for the project (https://www.sourceforge.net/projects/cvsgui/ for example). 
     133    * PORT: 443 
     134 
     135 
     136 
     137The generalized format for the CVSROOT string looks like: 
     138 
     139:ssh:USERNAME@PROJECTNAME.cvs.sourceforge.net:443/cvsroot/PROJECTNAME 
     140 
     141Or, for the USERNAME bob and PROJECTNAME cvsgui and port 443, the string looks like: 
     142 
     143:ssh:bob@PROJECTNAME.cvs.sourceforge.net:443/cvsroot/cvsgui 
     144 
     145If the standard service ports (TCP 22 for SSH, TCP 2401 for pserver) do not function properly due to a firewall or proxy, and the above workaround also does not work properly, please contact your network administrator or ISP for further assistance. 
     146 
     147 
     148= Using WinCvs = 
     149 
     150 
     151Basic CVS usage: CVS is a complex tool, designed mainly for developers. Though graphical clients like TortoiseCVS or WinCvs ease the learning curve significantly, it is still important to understand the basics of how CVS works before deciding to use it for your project. Basic information about CVS may be found in the following places: 
     152 
     153    * SourceForge.net Guide to CVS 
     154    * The CVS Manual (the Cederqvist) 
     155    * The CVS Book 
     156 
     157 
     158 
     159The WinCvs -- Daily Use Guide provides a good overview of the available commands in WinCvs and how to use them. It is highly recommended that you read that document first, before attempting to use WinCvs for your development activities. 
     160 
     161WinCvs uses a Windows menu-style interface for its operations. Most of the operations that one would perform with WinCvs are located on the Admin or Remote menu options ('Create a Module' i.e. import, checkout and update, for example). 
     162 
     163 
     164Common read operations (available to everyone): 
     165 
     166    * Checkout: Refer to the WinCvs -- Daily Use Guide "Getting a New Module from CVS" section. 
     167    * Update: Refer to the WinCvs -- Daily Use Guide "Getting Other People's Changes from CVS" section. 
     168 
     169 
     170 
     171Common write operations (available to developers via SSH authentication): 
     172 
     173    * Commit: Refer to the WinCvs -- Daily Use Guide "Sending Your Changes to CVS" section. 
     174    * Import: Refer to the WinCvs -- Daily Use Guide "Starting a New Module" section. 
     175    * Add: Refer to the WinCvs -- Daily Use Guide "Adding Files and Directories" section. 
     176 
     177 
     178 
     179 
     180= Configuring a Local Test Repository = 
     181 
     182 
     183To create a test repository to work from, you must first initialize a new repository. This is done for you automatically when using the SourceForge.net provided repository, but you must do this to test operations on your local workstation, which we strongly advise you to do. This enables you to get a feel for how CVS works prior to doing operations using the SourceForge.net provided repository. 
     184 
     185To create a new repository: 
     186 
     187   1. Select 'Create a new repository...' from the 'Remote' menu option in WinCvs. 
     188   2. Enter the local CVSROOT string into the 'CVSROOT:' field. If you want it to go to 'C:\cvsroot', enter ':local:C:\cvsroot' into the 'CVSROOT:' field. 
     189   3. Click the 'OK' button to initialize the local repository. 
     190 
     191 
     192 
     193This directory will contain the contents of the CVS repository and shouldn't be manipulated directly. Instead, you will check content into this path, just like you would with the SourceForge.net repository. To work with it, you would use your working copy which you must now import into this repository to create a module. The CVSROOT string for any operations on this local repository will always be as specified in the prior initialization operation. 
     194 
     195Please refer to the usage instructions for specific commands and operations that can be used with this repository. 
     196 
     197If you want to start fresh with a new repository, delete the CVSROOT (C:\cvsroot) and start fresh, creating a new test repository. 
     198 
     199 
     200= Troubleshooting Authentication Problems = 
     201 
     202 
     203SourceForge.net provides CVS access both to project members (developers) and to the community (non-developers). 
     204 
     205Am I a developer? Developers are listed as members of the project. Developers access the project CVS repository via SSH authentication, allowing them to perform write operations. Users who are not a member of the project team must use anonymous pserver-based authentication to access the repository; they cannot use SSH. 
     206 
     207Password for anonymous access: When using anonymous pserver-based authentication, no password should be entered; the username should be set to 'anonymous', not your SourceForge.net username. 
     208 
     209Write operations via pserver authentication: pserver-based repository access does not permit write operations. Write operations may be performed using SSH authentication as a developer. A fresh checkout of the module into a new directory (using SSH authentication) will resolve the problem. 
     210 
     211Developer use of passwords: Project developers use SSH keys to authenticate against the project CVS servers. Use of passwords for developer CVS authentication will be deprecated in the near future. 
     212 
     213Issues with SSH keys: Troubleshooting of SSH key usage is covered in our guide to SSH key generation. 
     214 
     215Developer CVS access: It is within the discretion of the project administrator to grant CVS write access to project developers. These permissions are shown on the summary page of the Project Admin pages (which may be accessed by all project members). Those developers who have been granted CVS access by the project administrator should access the repository via SSH authentication. Developers who have not been granted CVS access must access the repository via anonymous pserver. 
     216 
     217 
     218= WinCvs Support = 
     219 
     220 
     221WinCvs is a fully-supported means to access SourceForge.net project CVS repositories. Issues related to the WinCvs software should be directed to the WinCvs project team. Issues related directly to using WinCvs with SourceForge.net should be directed to SourceForge.net staff. Please use the following instructions for issue submission. 
     222 
     223Support for WinCvs software bugs may be obtained from the CvsGui project on SourceForge.net. Before reporting issues to the CvsGui team, you are encouraged to review the following: 
     224 
     225    * Documentation on WinCvs and the CvsGui project 
     226    * Existing issue reports in the WinCvs Bug Tracker 
     227 
     228 
     229 
     230SourceForge.net staff provides support for usage issues pertaining to the 
     231WinCvs client. Please collect the following information specific to this client and then follow the instructions provided for CVS support: 
     232 
     233    * Generate screenshot images of your configuration settings, and of the error message or issue you have encountered. Screenshot images (or zip archives containing multiple images) may be attached to Tracker items when issue reports are submitted. The screenshots should be in JPEG (.jpg or .jpeg), GIF (.gif) or PNG (.png) format. Please do not provide them in BMP (.bmp) format. 
     234    * Copy the output of the bottom WinCvs pane and include it (either in the body of, or as an attachment to) your Support Request or bug report. The 'Save Output As...' option on the File menu will allow you to save the contents of that pane to a file. 
     235 
     236 
     237= Getting Help = 
     238 
     239 * [wiki:"Support"] 
     240 * [wiki:"Request an enhancement"] 
     241 
    1242EXPANDME 
    2243 
    3 READYFOREDIT 
    4  
    5244Draw content from http://alexandria.wiki.sourceforge.net/CVS+Client+-+WinCvs+with+PuTTY 
    6245