150 likes | 268 Views
CVS & SVN Helpdesk Presentation. 19 Oct 2010. Agenda. What are CVS and SVN? Services run by IT in CERN Repository details New panel to allow easy changes Documentation Questions. What are CVS & SVN. Version Control Systems (VCS) Contains sets of files arranged in a repository
E N D
CVS & SVN Helpdesk Presentation 19 Oct 2010
Agenda • What are CVS and SVN? • Services run by IT in CERN • Repository details • New panel to allow easy changes • Documentation • Questions Helpdesk Information on VCS
What are CVS & SVN • Version Control Systems (VCS) • Contains sets of files arranged in a repository • Keeps a history of changes • Can revert to older versions, trace changes etc. • Mostly used by experiments for source code • Also for engineering and finance applications • Intended for many small files, NOT data! • Designed for a group of people working together • Many of the users are outside CERN Helpdesk Information on VCS
Concurrent Versions System (CVS) • CVS is the older system • Started in CERN some years ago • Now a central IT service, but frozen • No new repositories in CVS • Existing repositories encouraged to move to SVN • Still some large users in CVS e.g. CMS exp Helpdesk Information on VCS
Subversion (SVN) • SVN is more recent system, similar to CVS • Other systems exist but not run by IT • Performance is better than CVS • CERN IT service started ~2 years ago • Now recommended VCS service in CERN • ~560 repositories, over 200 active Helpdesk Information on VCS
Services we run in CERN (1) • LCGCVS – frozen, no new repositories • Project files are on local disks of one server • Better performance, but only one server • Files backed-up by copies and to TSM • CVS – frozen, no new repositories • Project files are in an AFS volume • Accessible from any server in CVS cluster (8) • Files backed-up by AFS and extra copies Helpdesk Information on VCS
Services we run in CERN (2) • SVN – open for new repositories • Project files are in AFS volumes • Accessible from SVN cluster (7) and SVNWEB cluster (5) • Files backed-up by AFS and local copies Helpdesk Information on VCS
Information on each repository • Project name (short unique name) • Project description (what it is used for) • Account & name of person responsible for it • Account name of librarian in control • Often called librepository • Has full access to the repository files in AFS etc. • Controls access to the repository in authz file • Public access (open) or private (closed) Helpdesk Information on VCS
Example: atlastdaq • Project name atlastdaq • Project description ATLAS Trigger DAQ • Account & name of person responsible for it • akazarov (Andrei KAZAROV) • Account name of librarian in control libatdaq • Librarian email: VC-librarians-atlastdaq@cern.ch • Restricted access (closed) Helpdesk Information on VCS
3 New Web Panels for SVN • Panel for users to request a new repository • https://svnweb.cern.ch/project/request/ • Panel to see status of requests • https://svnweb.cern.ch/project/status/ • Panel for Helpdesk to change information • https://svnweb.cern.ch/project/projectlist/ Helpdesk Information on VCS
New Panel for changes to SVN • To be used by Helpdesk and VCS Admins • https://svnweb.cern.ch/project/projectlist/ • Opens with list of all SVN repositories • Shows some information about each one • Click on shortname to get more info and buttons to make changes in a repository Helpdesk Information on VCS
Changes handled by the panel • Change librarian account (to another account) • The person responsible for repository is updated at the same time in our db. • Resize repository (add to AFS volume quota) • Space automatically increased by 10% when nearly full • Remove repository (delete completely)! • Reset repository (empty – like new) • Change access mode to public/private Helpdesk Information on VCS
Where is the documentation? • Can be found from IT home page! • http://it-dep.web.cern.ch/it-dep/ • Look under Physics Computing • Click on CVS or SVN • This documentation will be updated! • Email: svn.support@cern.ch Helpdesk Information on VCS
VCS Team • Alvaro Gonzalez Alvarez • Pawel Kacper Zembrzuski (till end 2010) • David Asbury (manager) Helpdesk Information on VCS
Questions? Helpdesk Information on VCS