Updated on 2024-12-12 GMT+08:00

Creating a Repository Group

Overview

A repository group consists of one or more repositories. You can configure and manage repository rules for repositories or child repository groups in a repository group, including commit rules and member permissions.

A maximum of five levels of repo groups can be created.

Creating a Repository Group

In the project or parent organization, click the icon, and select New Repository Group from the drop-down list box. On the displayed page, enter basic information according to the following table and click OK. A maximum of five layers of repository groups can be created.

Table 1 Parameters for creating a repository group

Parameters

Mandatory

Remarks

Responsible Project

Yes

  • The repository group must exist in a project.
  • If your account does not have a project, click Create Project in the drop-down list box to create a Scrum project.
    NOTE:

    You can create a project only when you create a repository group on the CodeArts Repo homepage.

Path

No

The repository group path corresponds to the groupId parameter of the API for creating a repository. If groupId is empty, there is no corresponding repository group for the repository in the project. Select a repository group path as required. The repository group path range is the root organization paths of all first-level repository groups and child repository groups.

Name

Yes

Start with a letter, digit, or underscore (_), and use letters, digits, hyphens (-), underscores (_), and periods (.). Do not end with .git, .atom, or periods (.). Max. 256 characters.

Description

No

Describe your repository group. Max. 2000 characters.

Visibility

Yes

You can choose Private (default) or Public.

  • Private

    Only repository group members can access. The child repository groups and repositories in a private repository group can only be private.

  • Public

    Read-only for visitors via referral link and hidden from repo lists and search results. Child repository groups and repositories in a public repository group can be private or public.