how to get CVS working with SourceForge

本文详细介绍了如何让CVS与SourceForge协同工作。包括注册SourceForge并申请开发者权限,安装WinCVS和SSH软件PuTTY,设置并测试SSH连接,创建putty会话,设置环境变量,配置WinCVS,最后检出仓库等步骤。

Home

Rob Bodington wrote up the following after sucessfully writing to the “stepmod” CVS repository:


At last .... SUCCESS.

It was a real gotcha.

I initially checked out the module without using SSH. I then set up SSH. When I then tried to check stuff back, my local copy had the initial CVSROOT - not the one needed for SSH. Hence I could not check stuff back in.

I found out where I was going wrong from https://sourceforge.net/docman/display_doc.php?docid=769&group_id=1.

Here are some additional notes on how to get CVS working with SourceForge. I distilled this from a load of help pages that Josh pointed me to. If I have anything wrong or it does not work, then let us know.

This details the software I am using - there are other ways of doing this.

This help was based on Josh's help page at http://ats.nist.gov/stepmod/cvswin.html.

  1. Register on SourceForge, and request developer access from the stepmod project administrator.
  2. Install WinCVS - Can be down loaded from: http://www.wincvs.org/
  3. Install the SSH software PuTTY - You need putty.exe, plink.exe, pageant.exe, puttygen.exe. The putty help pages would be a useful download as well. These can be down loaded from http://www.chiark.greenend.org.uk/~sgtatham/putty/. Useful help pages: http://sourceforge.net/docman/display_doc.php?docid=6841&group_id=1
  4. Set up and test your SSH to connect to SourceForge. First generate and post your SSH key to SourceForge. Details on how to do this are at http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1. Note - you will have to wait 6 hours before your key has been circulated.
  5. Create and save a putty session that logs on to SourceForge using SSH. On the session window:
     Host Name: cvs.stepmod.sourceforge.net SSH selected 
    On the SSH window:
     SSH 1 selected 
    Specify your authentication key.
  6. Set up PLINK and CVS environment variables
     set CVS_RSH=/path/to/plink.exe set PLINK_PROTOCOL=ssh 
  7. Run pageant adding your key
  8. Configure WinCVS
    Admin->Preferences->General
    CVSROOT box
    :ext:putty_session_name:/cvsroot/stepmod
    where putty_session_name is the name of the putty session you just created.
    Admin->Preferences->Ports
    Alternative rsh name
    E:/apps/putty/plink.exe
  9. Check out the repository - use the Admin->Command line
    cvs -d:ext:username@cvs.stepmod.sourceforge.net:/cvsroot/stepmod co stepmod

Created by Josh Lubell

Last modified Monday July 01, 2002

SourceForge Logo  Valid XHTML 1.0!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值