Use CVS in CNPACK development

xiaoxiao2021-03-06  76

Using CNPACK Development Website 2003-09-18 23:56:33 =============================== ======================================== 1. CVS introduction ======= ============================================================================================================================================================================================================= ============= CVS (Cuncurrent Versions ISTEM) is one of the most important development tools of the TCP / IP protocol and is also one of the most important development tools of the Open Source. (If you have no "version control" concept to view the relevant information.) CVS saves some records for each change in the project source code, and some comments. At any time, you can find any versions of any file in the warehouse. It allows several people to work at the same file while they have made changes when they submit documents. WARNING will issue a warning when changing the conflict to determine that the update version of this file is placed in the warehouse, and the conflict that occurs is solved by someone. Its basic development process is as follows: (1) Pour all your code into (import) CVS, then others can detect a copy of the CHECKS OUT source tree. (2) Everyone works in their local computer. When there is a new feature, they will update their local copy to keep and the current versions as sync. They will submit (commit) them to change the files to the warehouse to generate new versions. (3) If there is a problem, the problem CVS will cause a warning, and then you must carefully check the problem of the problem to handle the conflict. In the file, the changed portion will be displayed in >>>>> in front, and the differences of two versions are listed. Delete the old version only (or modify it to work), submit a file again, once the CVS does not warn back the previous step, continue.

============================================================================================================================================================================================================= ==================== 2. Preparation =========================== ==================================================== in principle only CNPACK development group Develop members have the account to modify the file in the CVS, if you have not yet, please contact the project administrator (Master@cnvcl.org). This step can be omitted if you just want to download the latest code and document from CVS. To use CVS in a Windows environment, we need the following tools: * TortoiseCvs http://download.cnvcl.org/tools/tortoisecvs.exe or: * WinCvs http://umn.dl.sourceforge.net/sourceforge/cvsgui/ WinCvs120.zip This is WinCVS 1.20 stabilization version.

============================================================================================================================================================================================================= ==================== 3. Anonym Access =========================== ===================================================================================================================================== tToiseCVS is integrated in resource management In the server, all operations are done in the resource manager, it is very convenient. * The installation is complete, restart the computer as needed. * Open the resource manager, enter the directory of the saved code * Click Right click on the blank file list area, select "CVS Check Out" * In the pop-up pair of dialog: - cvsroot: Enter: pserver: anoncvs@www.cnvcl. Org: / var / cvshome / cnpack - module: Enter CNPACK * Click "OK", in the pop-up dialog: - Enter the password: Anoncvs * Ok, if there is no accident, you can now get a newest CNPACK source package. If you use WinCVS, step, and the above similar: * Select Preference ... or directly press shortcut Ctrl F1 * in the General page under the pop-up dialog: - Enter the cvsroot: Enter: pserver: anoncvs @ Www.cnvcl.org:/var/cvshome/cnpack - Authentication: Select: "Passwd" File on the cvs server * Click OK, select Login under the admin list, enter your password. * Select Checkout Module under the Create menu. If there is no accident, you can now get a new CNPAck source package. In addition, in order to accelerate the transmission speed, it is recommended to set the "compressed value" to 9 in the setting of TortoiseCVS; WinCVS is selected in the preference menu in the GlobalS page in the GLOBALS page, and sets the rear value to 9.

============================================================================================================================================================================================================= ==================== 4. Use it to work ======================== ====================================================== completely with the above Access operation, the difference is, enter :: pserver: username@www.cnvcl.org: / var / cvshome / cnpack This UserName is assigned to your CVS username for administrators. The password uses the login password.

See: http://www.redsaga.com/cvs_newbie_win32/http://www.soforge.com/wikihttp://www.cvsgui.org/ ===== ============================================================================================================================================================================================================= =============================================================================================================================================================================== =================================================== CVS needs to fill in when submitting code The submitted annotation, the CNPACK development group uses the annotation of the unified format to achieve the purpose of the specification, the format of the comment is as follows: Symbol [Module Name] Details, "Symbol" can be # - *! ^ Six Half-Corner Symbols . Explain as follows: Add new features. #No added function, but it is not perfect, just start. - Delete old features. * Fix mistakes. ! Discover the problem, but still not corrected. ^ The function you want to complete. For example: The following is submitted twice (note that there is a space between symbols and middle brackets): [Code Editor Expert] Add ASCII character table function. * [Public Unit] The assignpersistent process increases processing of method types. One submission If includes multi-faceted content, you can also write more comments such as multi-line, pay attention to the brief.

============================================================================================================================================================================================================= ==================== 6. Frequently Asked Questions answer ========================= ============================================= Q: In CNPACK development In, do I have to use CVS? A: It is not necessary, but I strongly recommend that everyone uses CVS to synchronize the source code. However, the administrator will also package the files in the CVS to the website for download. Related Download: CVS Client Tools TortoiseCVS 1.6.0 (843 times Downloaded) This article has read 4827 from: CNPACK Development Website

转载请注明原文地址:https://www.9cbs.com/read-95264.html

New Post(0)