Project

General

Profile

Repositories » History » Revision 4

Revision 3 (Alexey Demakov, 12/10/2013 02:41 PM) → Revision 4/6 (Alexey Demakov, 01/21/2016 12:01 PM)

h1. Repositories 

 Supported types of SCM repositories are Git (preferable) Subversion (svn). (svn) and Git. 

 h2. Repository access 

 Repositories are listed at Repositories tab for each project along with checkout command. 
 Repositories hosted at this site can be accessed through HTTPS or HTTP (from iSP RAS network only). 

 h3. Server certificate verification 

 If HTTPS connection gives the following error message: 

 @server certificate verification failed@ 

 configure git client not to verify server sertificate for the current repository: 

 @git config http.sslVerify false@ 

 or for all repositories: 

 @git config --global http.sslVerify false@ 

 h2. Repository creation 

 Project member with rights to Manage repositories may create or add existing repositories at Settings -> Repositories tab. 

 The following fields should be filled: 
 * SCM - Subversion or Git or Subversion 
 * Main repository - check for main repository 
 * Identifier - unique id of repository {repoid} 
 * URL: 
 ** For new repositories (repository naming is important for access control): 
 *** @file:///svn/{projectid}@ for main repository; 
 *** @file:///svn/{projectid}.{repoid}@ for additional repositories; 
 *** @/git/{projectid}@    for main repository; 
 *** @/git/{projectid}.{repoid}@ for additional repositories; 
 ** For external (existing) repositories URL with read-only access is enough; 
 * Login - if needed for existing (external) repository; 
 * Password - if needed for existing (external) repository; 
 * Overwrite default settings for checkout protocols - if need. 

 *Important:* 
 * to create repository press *Create new repository* button, not *Create*.  
 * to add existing repository press *Create* button.