Docstoc

Mastering Subversion

Document Sample
Mastering Subversion Powered By Docstoc
					   SENSIO LABS



      Training
Mastering Subversion




              Sensio

    92-98 boulevard Victor Hugo

           92115 Clichy

                                  1
SOMMAIRE

Introduction ............................................................................................................................................................ 3

Subversion............................................................................................................................................................... 3

Goals ....................................................................................................................................................................... 3

Targets and prerequisites ....................................................................................................................................... 4

Duration and price .................................................................................................................................................. 4

détailléd course ....................................................................................................................................................... 5

   Introduction to Subversion ................................................................................................................................. 5

   Subversion installation ........................................................................................................................................ 5

   Discovering the Subversion client ....................................................................................................................... 5

   BAsic workflows .................................................................................................................................................. 5

   Advanced workflows ........................................................................................................................................... 5

   Get information from your files .......................................................................................................................... 6

   Conflicts and locks............................................................................................................................................... 6

   Subversion properties ......................................................................................................................................... 6

   Branching and merging ....................................................................................................................................... 6

   Tips, tricks and management tools ..................................................................................................................... 6




                                                                                      2
INTRODUCTION

Mastering Subversion is a training, which allows you to get all Subversion’s fundamentals in only one
day in order to be able to work with this tool by yourself on your projects.

During this day, you will be trained by a Sensio Labs consultant and expert in web development. He
will help you to start Subversion well with the best practices thanks to practical exercises covering
the main Subversion’s features. You will discover how to install Subversion with Apache, or how to
setup day-to-day workflows for you developers teams.



SUBVERSION

In software development, Apache Subversion (formerly called Subversion[1], command name svn) is
a revision control system initiated in 2000 by CollabNet Inc. Developers use Subversion to maintain
current and historical versions of files such as source code, web pages, and documentation. Its goal is
to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS).

The open source community has used Subversion widely: for example in projects such as Apache
Software Foundation, Free Pascal, FreeBSD, GCC, Django, Ruby, Mono, SourceForge, ExtJS, Tigris.org,
PHP and MediaWiki. Google Code also provides Subversion hosting for their open source projects.
BountySource systems use it exclusively. CodePlex offers access to Subversion as well as to other
types of clients.

The corporate world has also started to adopt Subversion. A 2007 report by Forrester Research
recognized Subversion as the sole leader in the Standalone Software Configuration Management
(SCM) category and as a strong performer in the Software Configuration and Change Management
(SCCM) category.[2]

Subversion uses the Apache License, making it open source.

                                                                                Source : Wikipedia.org

GOALS

The main goal of this training aims to teach the attendee the basic Subversion knowledge to make
him able to manage his own Subversion repositories and projects. To do this, the training uses a
pedagogic course focused on practice – about 70% of the total time – in order to make attendees
discover all needed tools to manage their source code with Subversion.




                                                   3
TARGETS AND PREREQUISITES

This training is dedicated to developpers, network and system administrators, managers or
architects.



DURATION AND PRICE

The training takes place in Paris during one day (a seven hours continuous training).

The price per attendee is 650 euros (taxes excluded).

The price per attendee from 5 registered attendees is 600 euros (taxes excluded).

Commercial contact: Nicolas BLIN – +33 (0)140 998 109

Operational contact : Hugo HAMON – +33 (0)140 998 211




                                                  4
DÉTAILLÉD COURSE


INTRODUCTION TO SUBVERSION

     What is Subversion?
     Subversion, a centralized source code manager
     Centralized architecture
     Access protocols : svn, http + dav, svn + ssh et file
     Repositories' naming conventions
     Incremental revisions
     Differences between repositories and working copies


SUBVERSION INSTALLATION

     Subversion repository initialization
     The svnadmin command
     Create a typical Subversion repository
     The svn list command
     Apache configuration with Mod DAV
     Repository's protection with an HTTP authentication
     Credentials management: groups and permissions


DISCOVERING THE SUBVERSION CLIENT

     The command line interface svn
     Get help with the svn help command
     List available commands


BASIC WORKFLOWS

     Work copy initialization
     Add, edit and delete file from the repository
     Update your working copy
     Commit modifications to the repository
     List pending files to commit
     Get log informations on a file
     Get the differential between two revisions


ADVANCED WORKFLOWS

     Copy versioned files
     Move versioned files
     Rename versioned files
     Delete versioned files
     Tag a specific code version


                                                     5
GET INFORMATION FROM YOUR FILES

     The svn status command
     Understanding the svn status's output
     Being able to identify problems
     Getting all changesets with the svn log command
     Understanding the svn log's output
     Using the svn blame command


CONFLICTS AND LOCKS

     Understanding conflicts
     Why conflicts happen?
     Resolve files conflicts
     Understanding locks
     Lock your files
     Unlock your files


SUBVERSION PROPERTIES

     Discovering SVN properties
     Define, edit and delete properties
     Adding third party dependencies with svn:externals
     Ignoring files with the svn:ignore property
     Working copy's properties listing


BRANCHING AND MERGING

     Understanding branching
     Typical branching workflows
     Creating extra branches
     Switching to another branch
     Understanding the branches merging process
     Merging two branches
     Advanced branches merging with the svnmerge utility


TIPS, TRICKS AND MANAGEMENT TOOLS

     Restoring a broken working copy
     Understanding the svn cleanup command
     Usefull commands and third party tools to know
     Subversion client for Windows: TortoiseSVN
     Projects manager: TRAC
     IDEs plugins: Subclipse et Subversive




                                                 6

				
DOCUMENT INFO
Shared By:
Tags: subversion
Stats:
views:65
posted:12/18/2010
language:English
pages:6
Description: svn (subversion) version of the rise in recent years, management tools, is the successor to cvs. Currently, the vast majority of open source software code using svn as version control software.