1 / 15

Object-Oriented Analysis & Design

Object-Oriented Analysis & Design. Subversion. Contents. Configuration management The repository Versioning Tags Branches Subversion. Configuration Management. Configuration management is Storing source code and documents in a central location

ishana
Download Presentation

Object-Oriented Analysis & Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Object-Oriented Analysis & Design Subversion

  2. Contents • Configuration management • The repository • Versioning • Tags • Branches • Subversion

  3. Configuration Management • Configuration management is • Storing source code and documents in a central location • Allowing people to check out copies of the documents • Checking in documents • Assigning version numbers to documents • Locking documents so only one person can check it out • Sharing documents among several people and resolving conflicts • Assigning tags to major releases • Creating branches off the trunk

  4. The Repository • Repository stores all software in project • Usually accessed via the internet • Any member of the group can • Checkin software • Checkout software • The repository is a copy of the software on the user’s local disk Repository Checkin / checkout

  5. Versioning • Every time software is checked in, a version number is assigned • When software is checked out, you get the most recent version by default • You can request any version of the software if you do not want the most recent version 1.0 1.1 1.2 2.0

  6. Checking In • Copies software from your computer to the repository • Assigns a version number to it • Makes the software to other people in the team • New files can be added to the project • Comments can be added • Can resolve conflicts if someone else modified the same document Repository

  7. Checking Out • Copies the software from the repository to your computer • Can optionally lock the software so no one else can check out the same files Repository

  8. Tags • Can add a tag to any combination of files • Tag can be used to mark major milestones • Can be used to retrieve all files used in a release Release 1.0

  9. Branches • Allow branches of the code base • Each branch is a different version of the software • Allows for • Experimental development • Development of different versions for specialized markets 1.0 1.1 1.1.1 1.2.1 1.1.2 1.2.2

  10. Subversion • One of many open source source code control systems • Advantages • Can be run locally on a computer • Can be run as a network server • Has a client integrated into the Windows file manager (Tigress SVN) • Recognizes the structure of directories • Uses the same version number for all files in a project, even if some of the files are not updated • Commits are atomic

  11. Connecting to a Repository • Right click on a file in the file browser • Select Tortoise SVN | Repo Browser • Use https to specify repository • Enter user name and password

  12. Adding Files to the Repository • You must place files under version control • Right click on file or directory in file browser • Select Tortoise SVN | Add... • This will let you add files to the project

  13. Checking In • Once you have changed a file and want to place the changes in the repository • Right click on the file in the file browser • Select SVN Commit

  14. Checkout Fill in destination directory Right click and select checkout

  15. Update • This will refresh the files in your copy to make sure they are up to date with the repository • Right click on file or directory in file browser and click • SVN Update

More Related