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

Overview

Developers often need to share packages with their team during development. Self-hosted repos serve as a central place where these packages can be stored and accessed by others, making it easy for team members to obtain packages from repositories.

A self-hosted repo manages private packages, supporting Maven, npm, Go, NuGet, PyPI, RPM, Debian, Conan, Docker, CocoaPods, and OHPM.

In March 2023, CodeArts Artifact was upgraded. Before this upgrade, existing self-hosted repos were not associated to projects. Consequently, repos and their resources from before the upgrade remain in the old repos.

Accessing Self-Hosted Repos

  1. Subscribe to CodeArts Artifact by referring to Purchasing a CodeArts Package.
  2. Add members and assign roles to them. For details, see Configuring Permissions (New).
  3. Log in to the Huawei Cloud console.
  4. Click in the upper left corner of the page and choose Developer Services > CodeArts Artifact from the service list.
  5. Access CodeArts Artifact in either of the following ways.

    • From the service portal

      Click Access Service. The homepage of CodeArts Artifact is displayed. Click the Repositories tab. All self-hosted repos created are displayed.

    • From the project page
      1. Click Access Service. The homepage of CodeArts Artifact is displayed.
      2. Click Homepage on the top navigation bar.
      3. Click the name of the project you want to view.
      4. Choose Artifact > Self-hosted Repos from the navigation pane.

    Click in the upper left corner of the page and select a region.