您的位置:軟件測試 > 開源軟件測試 > 開源配置管理工具 > cvs
cvs的配置管理
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2013/12/19 14:13:40 ] 推薦標簽:

*** cvswrappers 文件 ***
refers to
http://www.mobilefish.com/developer/cvsnt/cvsnt.html

Before using CVS, it is recommended to update the cvswrappers file. The cvswrapper file contains file extensions which determines which file should be stored as binary files in the CVS Repository. To update this file do the following:

Add the following file extensions in the cvswrappers file, e.g.:

*.cab -k 'b'
*.class -k 'b'
*.doc -k 'b'
*.dll -k 'b'
*.ear -k 'b'
*.exe -k 'b'
*.exp -k 'b'
*.fla -k 'b'
*.gif -k 'b'
*.gz -k 'b'
*.jar -k 'b'
*.jpg -k 'b'
*.jpeg -k 'b'
*.lib -k 'b'
*.msi -k 'b'
*.mso -k 'b'
*.pdf -k 'b'
*.pfw -k 'b'
*.png -k 'b'
*.ppt -k 'b'
*.sit -k 'b'
*.swf -k 'b'
*.tar -k 'b'
*.tlb -k 'b'
*.vsd -k 'b'
*.xls -k 'b'
*.war -k 'b'
*.wmz -k 'b'
*.zip -k 'b'


******************
* CVSNT 配置實驗 *
******************

*** 實驗?zāi)康?***

1.修改 CVSNT 服務(wù)器驗證方式為 CVSNT 用戶單一驗證方式;
2.定義 CVSNT 服務(wù)器的管理員為 cvsadmin,密碼為 cvsadmin;
3.定義兩個 Repository(testa,testb) ,添加四個普通用戶,每個 Repository 有兩個用戶.
test1:test1 , test2:test2 為 Repository testa 的用戶,test1,只能讀(checkout),test2 能讀、寫、添加文件(read,write,create).
test3:test3 , test4:test4 為 Repository testb 的用戶,test3,只能讀(checkout),test4 能讀、寫、添加文件(read,write,create).

*** 完成效果 ***

cvsadmin 能設(shè)置 CVSNT 服務(wù)器的配置,并且能對所有的 Repository 擁有全部權(quán)限;
test1,test2 只能看見 testa,并且 test1 只能對 teata 進行 checkout(read),test2 能對 testa 進行 checkout,commit,add (read,write,create);
test3,test4 只能看見 testb,并且 test3 只能對 teatb 進行 checkout(read),test4 能對 testb 進行 checkout,commit,add (read,write,create);

/*
說明:
權(quán)限參數(shù)有 read,write,add,tag,control. 這里只舉例說明常要的 read,write,add(參見幫助文檔);
control 沒有應(yīng)用成功。

*/

*** 開始配置 ***

/*

上一頁1234567891011下一頁
軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd