Project

General

Profile

Actions

Repositories » History » Revision 5

« Previous | Revision 5/6 (diff) | Next »
Alexey Demakov, 01/21/2016 12:09 PM


Repositories

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

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).

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

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 - 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.

Updated by Alexey Demakov almost 9 years ago · 6 revisions