博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用cvs或svn从sourceforge上获取开源项目的方法
阅读量:4129 次
发布时间:2019-05-25

本文共 2194 字,大约阅读时间需要 7 分钟。

著名开源软件网站( )上面的开源项目,大部分使用的管理工具为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 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],就可以把项目下载下来了。
 

本文出自 “” 博客,请务必保留此出处

 

相关参考文档:

 

 

cvs使用说明:

 

wincvs 参考资料:  

转载地址:http://azkvi.baihongyu.com/

你可能感兴趣的文章
初始化VUE项目报错
查看>>
vue项目使用安装sass
查看>>
HTTP和HttpServletRequest 要点
查看>>
在osg场景中使用GLSL语言——一个例子
查看>>
关于无线PCB中 中50欧姆的特性阻抗的注意事项
查看>>
Spring的单例模式源码小窥
查看>>
后台服务的变慢排查思路(轻量级应用服务器中测试)
查看>>
MySQL中InnoDB事务的默认隔离级别测试
查看>>
微服务的注册与发现
查看>>
bash: service: command not found
查看>>
linux Crontab 使用 --定时任务
查看>>
shell编程----目录操作(文件夹)
查看>>
机器学习-----K近邻算法
查看>>
HBASE安装和简单测试
查看>>
关于程序员的59条搞笑但却真实无比的编程语录
查看>>
搞笑--一篇有趣的文章编译自一篇西班牙博客。有一位美丽的公主,被关押在一个城堡中最高的塔上,一条凶恶的巨龙看守着她,需要有一位勇士营救她…
查看>>
非常不错 Hadoop 的HDFS (Hadoop集群(第8期)_HDFS初探之旅)
查看>>
Tomcat启动错误,端口占用
查看>>
laravel 修改api返回默认的异常处理
查看>>
高德坐标转换百度坐标 javascript
查看>>