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.