VSO. Configuration Management

Similar documents
Software Tools Subversion

Revision Control. Software Engineering SS 2007

Introduction to Revision Control

What is Subversion and what does it do?

Revision control systems (RCS) and. Subversion

Version Control System. -- base on Subversion 1.4

Source control with Subversion A user perspective

Subversion Repository Layout

Department of Computer Science College of Engineering Boise State University

Subversion. Network Monitoring & Management

Revision Control II. - svn

Common Configuration Management Tasks: How to Do Them with Subversion

An Introduction to Subversion

February 2 nd Jean Parpaillon

Version Control Systems (VCS)

Manage quality processes with Bugzilla

2/9/2013 LAB OUTLINE INTRODUCTION TO VCS WHY VERSION CONTROL SYSTEM(VCS)? II SENG 371 SOFTWARE EVOLUTION VERSION CONTROL SYSTEMS

Chapter 3. Revision Control

GIT TUTORIAL. Creative Software Architectures for Collaborative Projects CS 130 Donald J. Patterson

Home Page. Title Page. Contents. Page 1 of 17. Version Control. Go Back. Ken Bloom. Full Screen. Linux User Group of Davis March 1, Close.

Exercise 3: Adding a file to the master directory

Programming in the large. Lecture 22: Configuration Management. Agenda for today. Bertrand Meyer. Bernd Schoeller

Version Control Systems

Apache Subversion Tutorial

Push up your code next generation version control with (E)Git

Source Code Management

Using Subversion with LeMANS and MONACO

Version Control. Kyungbaek Kim. Chonnam National University School of Electronics and Computer Engineering. Original slides from James Brucker

Welcome! Virtual tutorial starts at 15:00 GMT. Please leave feedback afterwards at:

Warmup. A programmer s wife tells him, Would you mind going to the store and picking up a loaf of bread? Also, if they have eggs, get a dozen.

Tools for software development:

CSC 2700: Scientific Computing

Computer Labs: Version Control with Subversion

CPSC 491. Lecture 19 & 20: Source Code Version Control. VCS = Version Control Software SCM = Source Code Management

Source Control. Comp-206 : Introduction to Software Systems Lecture 21. Alexandre Denault Computer Science McGill University Fall 2006

If you are new to version control systems and are wondering where to start, read the article Version Control and Altium Designer.

Version Control. Second level Third level Fourth level Fifth level. - Software Development Project. January 17, 2018

Project Management. Overview

A BASIC UNDERSTANDING OF VERSION CONTROL

A Practical Introduction to Version Control Systems

TDDC88 Lab 4 Software Configuration Management

Revision Control. An Introduction Using Git 1/15

CSE 374 Programming Concepts & Tools. Hal Perkins Winter 2012 Lecture 16 Version control and svn

Subversion. CS 490MT/5555, Fall 2015, Yongjie Zheng

Subversion. An open source version control system. W. Miah escience Rutherford Appleton Laboratory

Version Control Systems

Introduction to Version Control

Introduction to version control. David Rey DREAM

2/8/18. Overview. Project Management. The First Law. What is Project Management? What Are These Changes? Software Configuration Management (SCM)

Part I Part 1 Version Control Systems (VCSs)

CSCI 2132: Software Development. Norbert Zeh. Faculty of Computer Science Dalhousie University. Subversion (and Git) Winter 2019

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs)

Version Control Systems

Version Control Systems

Laboratorio di Programmazione. Prof. Marco Bertini

Managing Source Code With Subversion

COSC345 Software Engineering. Version Control

M E R C U R I A L (The Source Control Management)

[Software Development] Development Tools. Davide Balzarotti. Eurecom Sophia Antipolis, France

Version Control. Second level Third level Fourth level Fifth level. - Software Development Project. January 11, 2017

Systems Programming Advanced Software Development

CVS. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 21

Version Control Systems: Overview

Git tutorial. Katie Osterried C2SM. October 22, 2015

Lab Objective. Lab Assignment. Downloads and Installation

Versioning. Jurriaan Hage homepage: Slides stolen from Eelco Dolstra.

Version control. Michael Tsai 2012/4/10

Yinghui Wang

Technology Background Development environment, Skeleton and Libraries

Computer Labs: Version Control with Subversion

CSE 390 Lecture 9. Version control and Subversion (svn)

Next Generation Software Configuration Management with Subversion

Version Control. 1 Version Control Systems. Ken Bloom. Linux User Group of Davis March 1, 2005

A Short Introduction to Subversion

Subversion Branching and Merging. Jan Skalický

Subversion FOUR. 4.1 What is Version Control? 4.2 What is Subversion? Types of Version Control SESSION

Assembla & TortoiseSVN

Configuration Management

MNXB Working with SVN. Florido Paganelli Lund University Tutorial 2b

Git for Subversion users

Versioning with git. Moritz August Git/Bash/Python-Course for MPE. Moritz August Versioning with Git

Workshop: High-performance computing for economists

Version Control. Version Control

1 ope. TortoiseSVN 1.7. Beginner's Guide. Perform version control in the easiest way with the. Lesley Harrison. best SVN client-tortoisesvn

AgileSCM Release 4.1. AgileSCM Release 4.0. AgileSCM Release 3.2. New Features. Bug Fixes. New Features. Bug Fixes

Portions adapted from A Visual Guide to Version Control. Introduction to CVS

Weak Consistency and Disconnected Operation in git. Raymond Cheng

Reusable Component Management Through the Use of Subversion Externals. Who Am I?

FCM and the UM Reading 9th November 2012

Using Git For Development. Shantanu Pavgi, UAB IT Research Computing

Module Road Map. 7. Version Control with Subversion Introduction Terminology

Working with CVS in Eclipse

Task-Oriented Solutions to Over 175 Common Problems. Covers. Eclipse 3.0. Eclipse CookbookTM. Steve Holzner

Thursday, October 13. Announcements

Introduction to Version Control

USER GUIDE. MADCAP FLARE 2018 r2. What's New

About CVS. 1 Version Control - what is it? why is it useful?

Transcription:

VSO Configuration Management Timo Wolf Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 1

Outline Mapping the IEEE Standard to Subversion (SVN) Introduction to Subversion Subversion exercises Exercise 1: Create your local Working Directory Exercise 2: Adding your file to svn Exercise 3: Check in your changes Exercise 4: Update your Working Directory Exercise 5: Managing concurrent changes Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 2

CM:Controlling Changes Two types of controlling change: Promotion: The internal development state of a software is changed. Release: A changed software system is made visible outside the development organization. Programmer Promotion Master Directory Release Software Repository User Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 3

Standard SCM Directories Programmer s Directory (IEEE Std: Dynamic Library ) Completely under control of one programmer. Master Directory (IEEE Std: Controlled Library ) Central directory of all promotions. Promotion Central source code archive Software Repository (IEEE Std: Static Library ) Externally released baselines. Foo 95 Release Foo 98 Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 4

Configuration Management Use Cases Add Controlled Item Delete Controlled Item Configuration Manager Create Release Create Branch Identify Changes Copy Status Diff Log Developer Check out Add Modify Controlled Item Modify Change Check in Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 5 Delete

Subversion Subversion is an Open Source SCM Subversion is based on CVS Subversion properties: Atomic commits File moves and copies are recognized Branching and tagging are cheap Designed for the network Good binary file handling Directory versioning Metadata Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 6

Mapping SCM Directories to Subversion :Programmer s Computer :Server Computer Working Directory Apache:Webserver Subversion:SCM :Configuration Manager s Computer trunk :MasterDirectory Working Directory tags :SoftwareRepository Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 7

Event Flow for Use Cases Modify Controlled Item and Create Release :Programmer s Computer Working Directory 1. Commit changes :Server Computer Apache:Webserver 1.1 Delegate changes 2.1 Delegate Subversion:SCM :Configuration Manager s Computer 2. Create Release 1.2 Apply changes trunk :MasterDirectory 2.2 Copy trunk to tags Working Directory tags :SoftwareRepository Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 8

Subversion Hardware Software Mapping :Mac OS X Eclipse :SVN Client Network access over http or https Explore repository with web browser :Server Computer :Windows TortoiseSVN :SVN Client Apache:Webserver :Linux Command line :SVN Client Subversion:SCM - Many SVN Clients are possible. - Clients are available for Windows, Unix, Mac OS X. Berkeley:Database -Integrated Development Data integrity Environment plug-ins are available. Atomic writes Recoverability Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 Hot backups 9

VSO Master Directory URL for Master and Software Repository http://wwwbruegge.in.tum.de/repos/vso Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 10

VSO Master Directory Structure http://wwwbruegge.in.tum.de/repos/vso trunk/ cal/ dev/ apm/ architecture/ audio/ orchestra/ tracking/ ui/ video/ tutorial/ branches/ tags/ Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 11

SVN Revision Numbering Small terminology change IEEE version => SVN Revision Global revision number rather than individual numbers Example: Allows you to talk about revision 050204 Unique identifier for different development states of your system Each revision corresponds to a single check in of a Controlled Item Each revision consist of: Number, author, log message, and date SVN Client View is tree based, similar to names in hierarchical File System Directories are also controlled items Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 12

Getting a Revision Conflict SVN Client 1 Subversion Server SVN Client 2 Peter :Developer SPMP.txt:File :SVN Client :SVN Server SPMP.txt:File :SVN Client SPMP.txt:File Max :Developer Change Check in Commit file changes Change Change file Check in OK OK Commit file changes Conflict! Conflict! Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 13

Two ways of resolving conflicts in a text file Automated Merge: File changes are in different lines and do not overlap Example: Developer Peter changed the first paragraph of the SPMP Developer Max added a new paragraph at the end of the SPMP Subversion merges to two file versions Manual Merge File changes are in the same lines and overlap Example: Developer Peter changed the first paragraph of the SPMP Developer Max deleted the first paragraph of the SPMP The merge of the two file versions must be manual Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 14

Resolving Conflicts I: Automated Merge SVN Client 2 Subversion Server Max :Developer SPMP.txt:File :SVN Client :SVN Server SPMP.txt:File Check in Commit file changes Conflict! Conflict! Checkout Get latest revision [No conflicts in file changes] apply update Latest revision OK Check in OK Commit file changes OK change Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 15

Resolving Conflicts II: Manual Merge SVN Client 2 Subversion Server Max :Developer SPMP.txt:File :SVN Client :SVN Server SPMP.txt:File Check in Commit file changes Conflict! Conflict! Checkout [Conflicts in file changes] - Keep local changes - Add server changes Get latest revision Latest revision File Conflicts! Resolve Conflicts Check in Commit file changes OK OK change Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 16

Extended Subversion Documentation SVN Book http://svnbook.red-bean.com/ PDF and HTML Format Subversion Home page http://subversion.tigris.org/ Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 17