/
Study for Migration from CVS Study for Migration from CVS

Study for Migration from CVS - PowerPoint Presentation

ZestyZenMaster
ZestyZenMaster . @ZestyZenMaster
Follow
352 views
Uploaded On 2022-07-28

Study for Migration from CVS - PPT Presentation

to SubVersion SVN Gunter Folger CERNPHSFT Why to migrate svn is more powerful Usage largely similar to cvs Except handling of cvs style tags G4 cvs repository hosted by CERNIT ID: 930981

folger svn gunter cvs svn folger cvs gunter cern subversion http tags geant4 migration testing needed files cvs2svn move

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Study for Migration from CVS" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Study forMigration from CVSto SubVersion (SVN)

Gunter

Folger

CERN/PH/SFT

Slide2

Why to migratesvn is more powerfulUsage largely similar to cvs

Except handling of

cvs

style tagsG4 cvs repository hosted by CERN/IT cvs/lcg serviceService provided by CERN/ITCERN/IT runs two services, cvs/general and CVS/lcgStrong push to migrate to SVN

Gunter Folger - SVN

2

Slide3

OverviewWhat is SVNWhat is needed before migrationCurrent statusTimeline for migrationDocumentation links

3

Gunter Folger - SVN

Slide4

What is Subversion (SVN)“Subversionwas 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.” 4

Gunter

Folger

- SVN

from

Suvbersion

book, Preface

Slide5

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

Slide6

SVN featuresSVN versions everythingIncluding directoriesAllows 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 TagBranch, which is a named copy, places TagImproved access to repositorySvn, also over ssh, dav(http or https)

local

Gunter Folger - SVN

6

Slide7

What is needed before migrationGunter Folger - SVN

7

Slide8

Prototype migrationSnapshot of cvs migrated in svn

https

://svnweb.cern.ch/cern/wsvn/g4test

/svn co svn+ssh://svn.cern.ch/reps/g4test/tags/geant4/_symbols/geant4-09-03-ref-07Directory structure ok, i.e. as wanted – can be changed

Set of tools developed to achieve thisConversion needs about one working dayEmulation 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

- SVN

8

Slide9

Development tools (1) BonsaiTag collectionOk, much simpler with svn

Web interface

Bonsai web interface needs re-write independent of

svn!Careful testing needed before switch to svnreplacement exists in alpha versionhttps://

sftweb.cern.ch/geant4/geant4tagsTesting starting using tags from current db

New tags copied across

Needs testing, volunteers please contact me!

Gunter Folger - SVN

9

Slide10

Development tools (2)Adapt other procedures and scriptssystem testing release buildingCurrently moving tag

Prepare in branch, ‘tag’ final ?

Disclaimer, check for std::, ...

Adapt procedures to svnDocumentationWork on documentation has startedGunter Folger - SVN

10

Slide11

Current statusMigration possibleStill work to be done, but no problems expectedG4Tags - Bonsai replacement Alpha version ready

Should be fully

ready and tested before actual migration

Do with tags from cvsSwitch before svn migration, if all goes well?Need decision to go ahead with migrationGunter Folger - SVN

11

Slide12

Proposed scheduleProvide updated documentation by end 2010G4Tags tested by December 2010Migrate to svn early January 2011

Decide upon migration – this workshop

Gunter Folger - SVN

12

Slide13

svn ReferencesSVN home page:http://subversion.tigris.org/

Ben Collins-

Sussman

, Brian W. Fitzpatrick, C. Michael Pilato“Version Control with Subversion”,O’Reilly: http://www.oreilly.com/catalog/0596004486/Online version of book: http://svnbook.red-bean.com/SVN service at CERN:http://cern.ch/svn

cvs2svn home page http://cvs2svn.tigris.org/cvs2svn.html

Gunter Folger - SVN

13

Slide14

SummaryPropose to migrate to svn

Lots of work for some

Some learning to do for

allLong term profit from modern repositoryMore in session 2-B today at 14:10Gunter Folger - SVN

14

Slide15

BackupGunter Folger - SVN

15

Slide16

Geant4:cvs use by developerDeveloper checks out a reference tagUpdates files in partial directory tree to head,

Tags are not changed after creation

See differences to previous versions, log files,...

Gunter Folger - SVN16

Slide17

CVS use by testing or release manager Checkout reference tagUpdate list of dirs to more recent tagGlobal to global-V09-02-02

Particles to ...

...

Frequent need to move tag prior to releaseRelease managerGunter Folger - SVN17

Slide18

Re-organizationClean-up?Chance to re-organize repositorySeveral directories probably not in best placeBut 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