An Introduction to SCM GForge.ppt
《An Introduction to SCM GForge.ppt》由会员分享,可在线阅读,更多相关《An Introduction to SCM GForge.ppt(32页珍藏版)》请在麦多课文档分享上搜索。
1、An Introduction to SCM & GForge,Lin Guo guolincs.cornell.edu,2,Roadmap,What is SCM Why do we need SCM Interesting SCM features SCM tools GForge Conclusion,3,What is SCM,Source Control Management Maintain a repository of source files Track all changes Control changes Software Configuration Management
2、 More than source control Manage source repositories,4,Why we need SCM,Source Control Sharing: supports concurrent development Versioning: provide version number and dates Change tracking: find details of a change Archival: reproduce any file from any point Documentation, drawing, etc. Configuration
3、 Management Branch: release version vs. develop version Snapshot of the whole system Prohibit further check-in before release,5,Roadmap,What is SCM Why do we need SCM Interesting SCM features Source control vocabulary Code Sharing Branch Label SCM tools GForge Conclusion,6,Source Control Vocabulary,
4、Update: obtain the latest versions of the code Check-out: obtain the writable version of files Check-in: commit the changes to files Lock/unlock: one only person may modify a file Integrate: combines the changes with others Add/delete: add/remove files to repositories Top-of-trunk: most updated,7,Ro
5、admap,What is SCM Why do we need SCM Interesting SCM features Source control vocabulary Code Sharing Lock Sharing SCM tools GForge Conclusion,8,Code Sharing,Multiple people can work on the same source base without colliding - (1) Lock: locks individual files so only one person at a time can modify i
6、t or (2) Merge: Allows multiple people to modify a source file and the system will automatically merge the changes (usually),9,Locking,Only one person can modify certain source files. Works fairly well if developers work on different areas of the project and dont conflict often Problem 1: People for
7、get to unlock files when they are done Problem 2: People work around locking by editing a private copy and checking in when the file is finally unlocked - easy to lose changes.,10,Merging,Several people can work on a file at once Before committing changes, each user merges their copy with the latest
8、 copy in the database This is normally done automatically by the system and usually works, but you should not blindly accept the result of the merge,11,Roadmap,What is SCM Why do we need SCM Interesting SCM features Source control vocabulary Code Sharing Branching SCM tools GForge Conclusion,12,Bran
9、ching,Brach sources for different purposes When a new version ships, typically create a branch for maintenance Companies ship several products from the same source base Branching repository “fork” and branch off the base repository. Double update: (manually) merge back changes in the branching repos
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANINTRODUCTIONTOSCMGFORGEPPT
