Repository Servers
(Departmental) Repository servers are special machines in the DMZ zone of our firewall ... you cannot login on them as you can on other departmental machines. They are accessible from anywhere in the world but only for accessing repositories and only by using ssh or https.
There is a departmental repository server described below, but research groups might have their own repository server(s) as well so ask your systems group representative for more information.
Besides these departmental repository servers, there is also the KU Leuven Gitlab service - you can start using it as described there, or you can contact the departmental helpdesk to create a (Gitlab) group for you under the CS toplevel group - e.g. for (but not restricted to) projects that are mainly for educational purposes - we have created an edu subgroup especially for that.
- Keep in mind that the departmental repository servers are included in the departmental backup service and that departmental helpdesk has full admin rights on those services and can therefore help you find things that seem to be lost - something that might take more effort to do on the KU Leuven Gitlab service.
scm.cs.kuleuven.be
SCM manager is used to share and manage git, mercurial and subversion repositories.
How to use a repository ?
-
Via https access only/always using a login and password
https://scm.cs.kuleuven.be/scm/[git,svn]/repository
-
Via ssh access on port 8022
- either using a login and password
- or using a login and ssh keys
git command ssh://user@scm.cs.kuleuven.be:8022/git/repository
either you mention port 8022 on the command line (as shown above) or you update ~/.ssh/configHost scm.cs.kuleuven.be Port 8022
To prevent to have to type your passphrase each time you access the repository with ssh keys, use ssh-agent.
Type of repository accounts
-
Overview:
If given access to a repository by the owner, student SCM accounts can access/use it only with ssh keys (and therefore via ssh) - they cannot create repositories themselves.
Other SCM accounts (members of the department or guest accounts) can access the repository server and its repositories:
- with their password via the https web interface
- with their password via ssh
- with ssh keys (and therefore via ssh)
(Only) Via the web interface they can manage repositories (create, rename, archive, remove, give access) and register (public) ssh keys.
-
students with an account in the departmental computer labs:
- by default only with ssh keys - only in special circumstances a password can be provided to log in on the web interface
-
moreover only ssh keys created via the departemental web interface
https://www.cs.kuleuven.be/restricted/computerklas/
Each night those keys are automatically initialised/updated on the repository server. -
are not allowed to create repositories themselves:
- can only use repositories that are created/initialised in the context of a project, exercises, thesis, ...
- can only use a repository if access is added by the manager of the repository
-
members of the department:
- can activate their own local SCM repository account using the SCM repository account password change interface:
- login with your departmental account and password
- you will see your own SCM repository account and all other SCM repository accounts you are registered for as responsible person
- you can set a new password for your own and for the other SCM repository accounts, which will be mailed to the registered e-mail address
- with this initial password you / the other user can login on the SCM web interface and set the password and/or ssh keys of your / their liking
- can activate their own local SCM repository account using the SCM repository account password change interface:
-
other local SCM accounts:
-
to create a local SCM repository account for:
- someone who is not member of the departement: use this form to ask helpdesk.
-
a student account without mrs-account in the computer labs: send a message to helpdesk with the studentaccount [m,r,s]-number
( Technologiecluster Computerwetenschappen, Technologiecampussen Gent en Aalst )
- helpdesk will create the local SCM repository account and mail an initial password ( to do so, the e-mail address must be correct ).
- for students the account name is their student-number, for others it is usually structured something like Firstname.Lastname ( without blanks or special characters )
- you will be registered as responsible person (unless you specify another member(s) of the department)
- the responsible person(s) of a local SCM repository account can initialize a new password for it using the SCM repository account password change interface (see above for more details).
-
to create a local SCM repository account for:
-
scmadmin or other user with administrator rights
- is only accessible for system administrators
Manage your local SCM account and repositories
Login on the web interface to ( scm commands are in bold letters ):
- change your password ( Change Password )
- initialise/change your ssh keys ( Edit My SSH Keys )
-
create a new repository ( svn or git ) ( Add )
and automatically be OWNER of it
- a repository must at all times include at least 1 departmental login as responsible person / OWNER
-
manage the repositories you are `OWNER` of:
- archive ( Archive ), restore from archive ( Unarchive ) or actually really delete a repository ( Remove - only archived repositories can be removed)
- grant a user and/or group ( check on `is Group` ) READ, WRITE or OWNER rights;
- revoke access rights of a user/group ( Remove )
- make a repository public ( check on Public )
-
manage the local SCM groups you are `Group Manager` of:
- use this form to ask helpdesk to create a local SCM group and to become manager of it
- a local SCM group must include at least 1 member of the departement as responsible person / manager
Information for helpdesk:

