现在的位置: 首页 > 综合 > 正文

版权控制SCM

2014年10月11日 ⁄ 综合 ⁄ 共 1190字 ⁄ 字号 评论关闭

(written in
2012-05-17 01:25:01
)

Software Configuration Management简称SCM,源代码的版本管理。

SCCS,RCS发展而来。核心功能:版本控制,开发过程管理。

  • Repository仓库
  • Workspace
  • Delta 版本差异(存变化了的部分)
  • Baseline  基线
  • Branch 分支
  • Label
  • Version Control
  • History record
  • Process control
    • Case tool & CM integration -RCS,Rational Suite
    • Life Cycle Phase Integration
      • Requirement - requirement management
      • Design - OOA/OOD tools & SCM
      • Coding - Concurrent Developing
      • Test - Automate Testing & SCM
    • Whole life Cycle Integration
    • No "Silver bullet"
  • Change request management,workflow
  • Build and release system
    • Automate Building
      • Makefile
        • Ant
    • Nightly Build Support
    • QA/Test
      • Assurence
    • Check out the related CMI
    • Product Realease
  • Coordination Work
    • Related roles follow the workflow to do the right work
      • Soft engineer Concurrent Developing
      • Project manager
      • QA stuffs
    • Improve the team's productivity
    • Archive the team's work

 

 

CVS

服务器:CVSNT Server

1.Repostory建立仓库

客户端:(Eclipse默认自带了客户端)

用户和密码就是操作系统的用户的帐号和密码

 

SVN

 

服务器:Tigris SVN(运行方式apache
http

 

1.建立仓库:建立一个目录存放源代码。

svnadmin create svn repo

2.设置用户。安装目录的config目录下,conf文件修改访问的权限等,passwd文件管理使用者的信息

3.启动服务:

svnserve -d -r svnrepo

4.关闭服务:关掉窗口

 

Eclipse中添加SVN插件:

方法一:new software填写Tigris
SVN
安装地址

方法二:下载安装包,new software,加载安装包。

 

客户端: Tortoise SVN

1.新建一个文件夹作为SVN客户端的工作目录

2.添加服务器的仓库路径

例:svn://localhost (本地的仓库地址)

3.把仓库的内容下载到本机目录

checkout svn

4.把本地文件check in 到仓库中,svn--add

抱歉!评论已关闭.