Project

General

Profile

Repositories » History » Version 3

Alexey Demakov, 12/10/2013 02:41 PM

1 1 Alexey Demakov
h1. Repositories
2 2 Alexey Demakov
3
Supported types of SCM repositories are Subversion (svn) and Git.
4
5
h2. Repository access
6
7
Repositories are listed at Repositories tab for each project along with checkout command.
8
Repositories hosted at this site can be accessed through HTTPS or HTTP (from iSP RAS network only).
9
10 3 Alexey Demakov
h3. Server certificate verification
11 1 Alexey Demakov
12 3 Alexey Demakov
If HTTPS connection gives the following error message:
13
14
@server certificate verification failed@
15
16
configure git client not to verify server sertificate for the current repository:
17
18
@git config http.sslVerify false@
19
20
or for all repositories:
21
22
@git config --global http.sslVerify false@
23
24
h2. Repository creation
25
26 2 Alexey Demakov
Project member with rights to Manage repositories may create or add existing repositories at Settings -> Repositories tab.
27
28
The following fields should be filled:
29 1 Alexey Demakov
* SCM - Subversion or Git
30
* Main repository - check for main repository
31
* Identifier - unique id of repository {repoid}
32
* URL:
33 2 Alexey Demakov
** For new repositories (repository naming is important for access control):
34 3 Alexey Demakov
*** @file:///svn/{projectid}@ for main repository;
35
*** @file:///svn/{projectid}.{repoid}@ for additional repositories;
36
*** @/git/{projectid}@  for main repository;
37
*** @/git/{projectid}.{repoid}@ for additional repositories;
38 2 Alexey Demakov
** For external (existing) repositories URL with read-only access is enough;
39
* Login - if needed for existing (external) repository;
40
* Password - if needed for existing (external) repository;
41
* Overwrite default settings for checkout protocols - if need.
42
43
*Important:*
44
* to create repository press *Create new repository* button, not *Create*. 
45
* to add existing repository press *Create* button.