Updated on 2026-08-10 GMT+08:00

Configuring a Virtual Repository

After a virtual repository is created, you can modify its configuration as required.

Procedure

  1. Use your Huawei Cloud account to access self-hosted repos.
  2. Select the created virtual repository from the repository list.
  3. Click Settings in the upper right corner of the repository.
  4. Set the parameters by referring to Table 1.

    Table 1 Parameter description

    Item

    Description

    Include Patterns

    Specify the files to include in the operation. These patterns are usually used to filter in and select specific files or folders. If you configure this parameter, only artifacts that match the added path prefix can be operated on (including artifact uploads and downloads).

    You can click + to add multiple inclusion rules. The relationship between multiple inclusion rules is OR.

    Exclude Patterns

    Specify the files to exclude from the operation. These patterns are usually used to filter out and select specific files or folders. If you configure this parameter, artifacts that match the added path prefix cannot be operated on (including artifact uploads and downloads).

    You can click + to add multiple exclusion rules. The relationship between multiple exclusion rules is OR.

    Open To

    Project: Permissions are managed at the project level. Tenant: Permissions are managed at the tenant level. For details, see User Permissions Management.

    Description

    Describe the basic information and purpose of the repository.

  5. Click Submit to save the configurations.

    Changes take effect immediately.