Project

General

Profile

Repositories » History » Version 5

Alexey Demakov, 01/21/2016 12:09 PM

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