Presentation is loading. Please wait.

Presentation is loading. Please wait.

Fundamentals of Software Development 1Slide 1 Version control – outline What is it?What is it? Why do it?Why do it? How to do it?How to do it?

Similar presentations


Presentation on theme: "Fundamentals of Software Development 1Slide 1 Version control – outline What is it?What is it? Why do it?Why do it? How to do it?How to do it?"— Presentation transcript:

1 Fundamentals of Software Development 1Slide 1 Version control – outline What is it?What is it? Why do it?Why do it? How to do it?How to do it?

2 Fundamentals of Software Development 1Slide 2 Version control: what is it? A system that controls the successive versions of the software as it is developedA system that controls the successive versions of the software as it is developed The repository stores the initial version of the software and all subsequent changes to it. Our repository is in the basement of Crapo. Each team member has her own copy of the software, working on her own part of it. She periodically: updates to get changes from her teammates commits her own work to a new version in the repository

3 Fundamentals of Software Development 1Slide 3 Version control – why do it? It allows the software development team to:It allows the software development team to: –Produce successive versions of the software And fall back to a previous version if necessaryAnd fall back to a previous version if necessary –Work concurrently on the software –Work on different branches of the software development We use version control in CSSE 120 because:We use version control in CSSE 120 because: –It allows you to work more easily with your teammates –It is a practice that scales up to larger software projects The larger the project, the more important version control becomesThe larger the project, the more important version control becomes

4 Fundamentals of Software Development 1Slide 4 Version control – how to do it? Preliminary steps: Someone in the organization creates the repository. It can contain many modules. Someone on the team does CVS ~ Make New Module to upload the initial version of the module to the repository You do CVS Checkout to obtain that initial version of the module You repeatedly: 1. CVS Update 2. Work on the software Occasionally do CVS Update to get your teammate’s work Occasionally do CVS Update to get your teammate’s work CVS warns you if that work conflicts with your own work CVS warns you if that work conflicts with your own work 3. Share your work (put it into the repository, as a new version) when you are ready, by: a. CVS Update a. CVS Update b. CVS Add Contents b. CVS Add Contents c. CVS Commit c. CVS Commit


Download ppt "Fundamentals of Software Development 1Slide 1 Version control – outline What is it?What is it? Why do it?Why do it? How to do it?How to do it?"

Similar presentations


Ads by Google