Study for Migration from CVS to SubVersion (SVN) Gunter Folger CERN/PH/SFT.

Slides:



Advertisements
Similar presentations
Week 2 DUE This Week: Safety Form and Model Release DUE Next Week: Project Timelines and Website Notebooks Lab Access SharePoint Usage Subversion Software.
Advertisements

1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
Version Control System Sui Huang, McMaster University Version Control SystemSui Huang, McMaster University Version Control System -- base on Subversion.
Revision Control Systems Amin Tootoonchian Kian Mirjalali.
LECTURE 13 OCT 18, 2010 A different take on more scripting stuff;& version control.
2/6/2008Prof. Hilfinger CS164 Lecture 71 Version Control Lecture 7.
Using subversion COMP 2400 Prof. Chris GauthierDickey.
Version Control using Subversion Albert Young-Sun Kim November 2 nd, 2005 Available at entations/ subversion/
Source Code Revision Control with Subversion Christophe Dupré May 13, 2005 Update KEJ May 10, 2006 Scientific Computation Research Center Rensselaer Polytechnic.
Version Control at UCB Version control with Subversion and Subclipse.
SubVersioN – the new Central Service at DESY by Marian Gawron.
Version Control. What is Version Control? Manages file sharing for Concurrent Development Keeps track of changes with Version Control SubVersion (SVN)
European Organization for Nuclear Research Source Control Management Service (Subversion) Brice Copy, Michel Bornand EN-ICE 13 May 2009.
CERN - IT Department CH-1211 Genève 23 Switzerland t SVN Pilot: CVS Replacement Manuel Guijarro Jonatan Hugo Hugosson Artur Wiecek David.
Source Code Revision Control Software CVS and Subversion (svn)
1 CSE 390 “Lecture 11” Version control with Git slides created by Ruth Anderson, images from
Git: Part 1 Overview & Object Model These slides were largely cut-and-pasted from tutorial/, with some additions.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
Software Engineering Modern Approaches
The Design Workshop Introduction to Version Control 1.
Git – versioning and managing your software L. Grewe.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 8-Oct-15.
Subversion (SVN) Tutorial Source:
Git (Get) it done right! Practical Applied Version Control for Drupal site developers Peter Chen - Stanford School of Engineering Technical Webmaster.
…using Git/Tortoise Git
SWEN 302: AGILE METHODS Roma Klapaukh & Alex Potanin.
Chris Onions Getting started with CVS in ATLAS 11 Getting started with CVS in ATLAS Chris Onions (Tutorial based on that of Raúl Ramos Pollán CERN / IT.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Subversion (SVN) A Revision Control System Successor to CVS Carlos Armas Hervey Allen.
Progress with migration to SVN Part3: How to work with g4svn and geant4tags tools. Geant4.
Computer Science and Engineering The Ohio State University  Widely used, especially in the opensource community, to track all changes to a project and.
CVS – concurrent versions system Network Management Workshop intERlab at AIT Thailand March 11-15, 2008.
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
Version Control with SVN Images from TortoiseSVN documentation
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Stephen Childs Trinity College Dublin &
CVS – concurrent versions system AROC Guatemala July 19-23, 2010 Guatemala City, Guatemala.
CSE 436—Requirements and Version Control Systems Ron K. Cytron 26 September 2005.
L.T.E :: Learning Through Experimenting Using google-svn for MtM Docs Development Denis Thibault Version 3.2 Mar 12 th, 2009.
12 CVS Mauro Jaskelioff (originally by Gail Hopkins)
Part 4: FCM and the UM University of Reading, December 2015.
Version Control and SVN ECE 297. Why Do We Need Version Control?
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
Geant4 is a toolkit to simulate the passage of particles through matter, and is widely used in HEP, in medical physics and for space applications. Ongoing.
Transition to SVN server: follow up P.Hristov 24/01/2008.
SVN code server for AliRoot P.Hristov 18/10/2007.
11/01/2012B.Couturier - Core Software Workshop 1 Software Development Infrastructure Main Topics Development tools Build and Release tools Tracking/Management.
(1) Introduction to Subversion (SVN) and Google Project Hosting Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences.
(1) Introduction to Subversion (SVN) and Google Project Hosting Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences.
Managing TDM Drawings Lifecycle WorkFlow Created: March 30, 2006 Updated: April 10, 2006 By: Tony Parker.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
T Project Review Wellit I1 Iteration
Database & Information Systems Group University of Basel DBIS Group Talk Michael Springmann Distributed Source Code Management in Mercurial.
Introduction to Git - Chirag Dani. Objectives Basics of Git Understanding different “Mindset of Git” Demo - Git with Visual Studio.
GIT: What, how and why ? Part 1: Basics. What do I know about git? Started using it for experiments on April 2009 Moved all voms development on git on.
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
NALINI S. NAUTIYAL SYSTEM SOFTWARE DIVISION Subversion.
CS520 Web Programming Version Control with Subversion Chengyu Sun California State University, Los Angeles.
1 Subversion Kate Hedstrom April Version Control Software System for managing source files –For groups of people working on the same code –When.
BIT 285: ( Web) Application Programming Lecture 07 : Tuesday, January 27, 2015 Git.
SYSTEM INTEGRATION TESTING Getting ready for testing shifts Gunter Folger CERN PH/SFT Geant4 Collaboration Workshop 2011 SLAC.
Use of SVN as lattice repository Andrea Latina Common paths for CLIC and ILC BDS – Friday, 30 August 2013 – CERN.
Source Control Dr. Scott Schaefer. Version Control Systems Allow for maintenance and archiving of multiple versions of code / other files Designed for.
Software Configuration Management -Subversion- RTLAB YuJin Park.
How to Contribute to System Testing and Extract Results
Software Version System Part1: Subversion at CERN
Subclipse CSCI 3130 Summer 2016.
Notefied (web publishing)
Prof. Hilfinger CS164 Lecture 4
Presentation transcript:

Study for Migration from CVS to SubVersion (SVN) Gunter Folger CERN/PH/SFT

Why to migrate  svn is more powerful  Usage largely similar to cvs  Except handling of cvs style tags  G4 cvs repository hosted by CERN/IT cvs/lcg service  Service provided by CERN/IT  CERN/IT runs two services, cvs/general and CVS/lcg  Strong push to migrate to SVN Gunter Folger - SVN2

Overview  What is SVN  What is needed before migration  Current status  Timeline for migration  Documentation links 3Gunter Folger - SVN

What is Subversion (SVN) “Subversion  was designed to be a successor to CVS  its originators set out to win the hearts of CVS users in two ways  by creating an opensource system with a design (and “look and feel”) similar to CVS,  by attempting to avoid most of CVS's noticeable flaws.  Subversion is very powerful, very usable, and very flexible.” 4Gunter Folger - SVN from Suvbersion book, Preface

SVN differs from CVS “Subversion tracks tree structures, not just file contents. It's one of the biggest reasons Subversion was written to replace CVS.” from SubVersion book, App. B 5Gunter Folger - SVN

SVN features  SVN versions everything  Including directories  Allows to keep under ‘revision’ control the renaming, move, or deletion of files or directories  Revisions IDs are not per file, but on repository  Commits are transactions  No notion of cvs style Tag  Branch, which is a named copy, places Tag  Improved access to repository  Svn, also over ssh,  dav(http or https)  local Gunter Folger - SVN6

WHAT IS NEEDED BEFORE MIGRATION Gunter Folger - SVN7

Prototype migration  Snapshot of cvs migrated in svn   svn co svn+ssh://svn.cern.ch/reps/g4test/tags/geant4/_symbols/geant ref-07  Directory structure ok, i.e. as wanted – can be changed  Set of tools developed to achieve this  Conversion needs about one working day  Emulation of sticky tag  Will be implemented via svn hook (still missing)  Performance is good  More technical details on migration in session 2-B, Przemyslaw Paprocki Gunter Folger - SVN8

Development tools (1) Bonsai  Tag collection  Ok, much simpler with svn  Web interface  Bonsai web interface needs re-write independent of svn!  Careful testing needed before switch to svn  replacement exists in alpha version   Testing starting using tags from current db  New tags copied across  Needs testing, volunteers please contact me! Gunter Folger - SVN9

Development tools (2)  Adapt other procedures and scripts  system testing  release building  Currently moving tag  Prepare in branch, ‘tag’ final ?  Disclaimer, check for std::,...  Adapt procedures to svn  Documentation  Work on documentation has started Gunter Folger - SVN10

Current status  Migration possible  Still work to be done, but no problems expected  G4Tags - Bonsai replacement  Alpha version ready  Should be fully ready and tested before actual migration  Do with tags from cvs  Switch before svn migration, if all goes well?  Need decision to go ahead with migration Gunter Folger - SVN11

Proposed schedule  Provide updated documentation by end 2010  G4Tags tested by December 2010  Migrate to svn early January 2011  Decide upon migration – this workshop Gunter Folger - SVN12

svn References  SVN home page:   Ben Collins-Sussman, Brian W. Fitzpatrick, C. Michael Pilato “Version Control with Subversion”,  O’Reilly:  Online version of book:  SVN service at CERN:   cvs2svn home page  Gunter Folger - SVN13

Summary  Propose to migrate to svn  Lots of work for some  Some learning to do for all  Long term profit from modern repository  More in session 2-B today at 14:10 Gunter Folger - SVN14

BACKUP Gunter Folger - SVN15

Geant4: cvs use by developer  Developer checks out a reference tag  Updates files in partial directory tree to head,  Tags are not changed after creation  See differences to previous versions, log files,... Gunter Folger - SVN16 commit tag modify

CVS use by testing or release manager  Checkout reference tag  Update list of dirs to more recent tag  Global to global-V  Particles to... ...  Frequent need to move tag prior to release  Release manager Gunter Folger - SVN17

Re-organization Clean-up?  Chance to re-organize repository  Several directories probably not in best place  But SVN supports fully support move, so can be done in transparent way later  Clean-up  No longer needed or (near-)duplicate directories  But do we want to break possibility to go back? Gunter Folger - SVN18