TWiki
>
ATLAS Web
>
GlasgowComputing
>
SubversionAccess
(2013-12-17,
AndrewPickford
)
(raw view)
E
dit
A
ttach
---+++ Subversion at Glasgow Subversion repositories are used to store code centrally so that it can be used and updated by different people. To access the Glasgow repositories (note that there are separate CERN repositories) you will first need to have obtained a [[GridComputing][Grid Certificate]], then you can follow the instructions on [[IT/SubversionRepository#Setting_up_access][this page]]. Be sure to set the permissions on the usercert and userkey files - instructions on how to do this can be found [[http://www.grid-support.ac.uk/content/view/378/276/][here]] (step 4), along with further help on extracting the public and private keys from your certificate. Note that you must use the code which you entered into your browser when you exported the certificate to extract the keys. This is not the same thing as the PEM pass phrase, which you will need to set for your userkey.pem file - this is used every time you use subversion (unless you use a proxy certificate, for which see [[IT/SubversionRepository#Using_a_proxy_certificate_to_acc][here]]). You can test whether you can use Subversion by typing (for example) <verbatim>svn list https://ppesvn.physics.gla.ac.uk/svn/test</verbatim> at the terminal, and entering your password if prompted. After PPEIT have given you access to the repositories, you will want to familiarise yourself with how Subversion operates. Firstly note that there are several different repositories - of most interest are the ATLAS, user and test ones. The last of these is the one you should work in while you are learning how the software works - it is not advisable to attempt to use the ATLAS repository (aside from reading) until you are comfortable with Subversion, since incorrect commands (e.g. to update code) can cause serious problems. You should also note that the test repository is not safe for permanent storage, as its contents will be periodically deleted. You can browse repositories either as normal html pages (see [[IT/SubversionRepository#Repository_Organisation][here]]) or in [[IT/SubversionRepository#Trac_Access][Trac]], which is a menu-based browsing environment. For your convenience you should configure Firefox to present your Grid certificate automatically whenever it is requested (otherwise you will have to do it manually each time). To do this, go to Edit --> Preferences --> Advanced and choose "Select one automatically" under "Certificates". Once you are ready to begin uploading code, you should start by creating a personal folder in the user repository (see [[IT/SubversionRepository#Using_the_repositories][here]]). -- Main.GavinKirby - 23 Jun 2009
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2013-12-17
-
AndrewPickford
ATLAS
Log In
or
Register
ATLAS Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
ATLAS
PUUKA
DetDev
Gridmon
IT
LHCb
LinearCollider
Main
NA62
Sandbox
TWiki
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback