日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

使用cvs或svn从sourceforge上获取开源项目的方法[转载]

發布時間:2023/12/10 编程问答 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 使用cvs或svn从sourceforge上获取开源项目的方法[转载] 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
著名開源軟件網站(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],就可以把項目下載下來了。

轉載于:https://www.cnblogs.com/SFAN/p/3722095.html

總結

以上是生活随笔為你收集整理的使用cvs或svn从sourceforge上获取开源项目的方法[转载]的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。