使用cvs或svn从sourceforge上获取开源项目的方法
2009-05-28 22:31
525 查看
著名开源软件网站(www.sourceforge.net)上面的开源项目,大部分使用的管理工具为cvs或svn。
这两种软件的代表客户端程序是wincvs和tortoiseSVN。
1.cvs
CVS (Concurrent Versions System) is a tool used by many software developers to manage changes within their
source code tree. CVS provides the means to store not only the current version of a piece of source code,
but a record of all changes (and who made those changes) that have occurred to that source code. Use of CVS
is particularly common on projects with multiple developers, since CVS ensures changes made by one
developer are not accidentally removed when another developer posts their changes to the source tree.
2.svn
SVN (Subversion) is a tool used by many software developers to manage changes within their source code
tree. SVN provides the means to store not only the current version of a piece of source code, but a record
of all changes (and who made those changes) that have occurred to that source code. Use of SVN is
particularly common on projects with multiple developers, since SVN ensures changes made by one developer
are not accidentally removed when another developer posts their changes to the source tree
同样的描述,只不过将cvs替换成了svn。
在sourceforge上的某一个项目上,都会看到一个public的链接,这个链接提供了想要下载这个项目的cvs或svn地址。点击
public会看到,cvs repository或 svn repository,点击这个链接会看到项目的下载地址,
比如:
cvs的
[cvs -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct login]
[cvs -z3 -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct co -P modulename]
svn的
[svn co https://scummvm.svn.sourceforge.net/svnroot/scummvm scummvm]
同时,你在cvs repository或 svn repository的下面还会看到browse cvs或browse svn这个是用来浏览项目目录的。
如果你使用wincvs,点admin菜单的command line里输入命令:
cvs -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct login
他会问你password,直接回车就行。
然后,接着在命令行接着键入下面的命令:
cvs -z3 -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct co -P modulename
这里的modulename就是你在browse cvs里看到的,你想要下载的模块名,如果你想下载项目的所有文件,modulename写成
你在browse cvs里看到的根路径名。
如果,项目是通过svn管理的,则你需要下载tortoiseSVN。tortoiseSVN和wincvs不同,她不是一个带界面的软件,安装完
之后,会在windows右键查单中出现,在你要保存项目的磁盘位置,新建一个文件夹,右键该文件夹,会看到一个svn
checkout菜单项,点击后,弹出一个对话框,在url of repository中输入上面的:
[https://scummvm.svn.sourceforge.net/svnroot/scummvm scummvm],就可以把项目下载下来了。
本文出自 “沙鸥-专注于网络信息采集” 博客,请务必保留此出处http://freebird.blog.51cto.com/372076/161485
这两种软件的代表客户端程序是wincvs和tortoiseSVN。
1.cvs
CVS (Concurrent Versions System) is a tool used by many software developers to manage changes within their
source code tree. CVS provides the means to store not only the current version of a piece of source code,
but a record of all changes (and who made those changes) that have occurred to that source code. Use of CVS
is particularly common on projects with multiple developers, since CVS ensures changes made by one
developer are not accidentally removed when another developer posts their changes to the source tree.
2.svn
SVN (Subversion) is a tool used by many software developers to manage changes within their source code
tree. SVN provides the means to store not only the current version of a piece of source code, but a record
of all changes (and who made those changes) that have occurred to that source code. Use of SVN is
particularly common on projects with multiple developers, since SVN ensures changes made by one developer
are not accidentally removed when another developer posts their changes to the source tree
同样的描述,只不过将cvs替换成了svn。
在sourceforge上的某一个项目上,都会看到一个public的链接,这个链接提供了想要下载这个项目的cvs或svn地址。点击
public会看到,cvs repository或 svn repository,点击这个链接会看到项目的下载地址,
比如:
cvs的
[cvs -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct login]
[cvs -z3 -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct co -P modulename]
svn的
[svn co https://scummvm.svn.sourceforge.net/svnroot/scummvm scummvm]
同时,你在cvs repository或 svn repository的下面还会看到browse cvs或browse svn这个是用来浏览项目目录的。
如果你使用wincvs,点admin菜单的command line里输入命令:
cvs -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct login
他会问你password,直接回车就行。
然后,接着在命令行接着键入下面的命令:
cvs -z3 -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct co -P modulename
这里的modulename就是你在browse cvs里看到的,你想要下载的模块名,如果你想下载项目的所有文件,modulename写成
你在browse cvs里看到的根路径名。
如果,项目是通过svn管理的,则你需要下载tortoiseSVN。tortoiseSVN和wincvs不同,她不是一个带界面的软件,安装完
之后,会在windows右键查单中出现,在你要保存项目的磁盘位置,新建一个文件夹,右键该文件夹,会看到一个svn
checkout菜单项,点击后,弹出一个对话框,在url of repository中输入上面的:
[https://scummvm.svn.sourceforge.net/svnroot/scummvm scummvm],就可以把项目下载下来了。
本文出自 “沙鸥-专注于网络信息采集” 博客,请务必保留此出处http://freebird.blog.51cto.com/372076/161485
相关文章推荐
- 使用CVS或SVN从SourceForge上获取开源项目的方法
- 使用cvs或svn从sourceforge上获取开源项目的方法[转载]
- 使用cvs或svn从sourceforge上获取开源项目的方法
- 使用cvs或svn从sourceforge上获取开源项目的方法
- 使用cvs或svn从sourceforge上获取开源项目详解-亲身实践
- 使用cvs或svn从sourceforge上获取开源项目
- 使用cvs或svn从sourceforge上获取开源项目
- 关于Slidingmenu_master开源项目的使用方法详解
- 使用jitpack来获取github上的开源项目
- ubuntu git使用方法-获取与创建项目
- eclipse的git使用方法 SVN/CVS用户过渡
- ANDROID-BOOTSTRAP开源项目使用方法
- Android项目:使用pulltorefresh开源项目扩展为下拉刷新上拉加载更多的处理方法,监听listview滚动方向 推荐
- Android Studio该如何导入别人的开源库到自己的项目中并使用库中的控件,网上找过方法但是并不能搞定,希望实际问题 实际解决,拯救我这个傻瓜
- 转一篇文章,以便在后续文章中讲解——开源gis项目Mitab在C#中的使用方法
- 下载使用CocoaPods的开源项目时,编译出现错误解决方法
- android-async-http开源项目介绍及使用方法
- 用SVN进行版本控制和项目管理的安装配置和使用方法
- Android最好用的侧滑栏开源项目SlidingMenu,集成方法与使用
- Android项目:使用pulltorefresh开源项目扩展为下拉刷新上拉加载更多的处理方法,监听listview滚动方向