Updated on 2024-11-25 GMT+08:00

CodeArts Repo

The CodeArts Repo connector interconnects with Huawei Cloud CodeArts Repo.

CodeArts Repo is Huawei's proprietary code hosting service that provides Git-based distributed code management and collaborative development capabilities, including member management, permission control, code hosting, check, review, and tracing, and continuous integration. It helps enterprises of different scales improve R&D quality and efficiency.

Prerequisites

You have subscribed to CodeArts Repo.

Creating a CodeArts Repo Connection

  1. Log in to the new ROMA Connect console.
  2. In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
  3. Select the CodeArts Repo connector.
  4. In the dialog box displayed, configure the connector and click OK.

    Parameter

    Description

    Name

    Enter the connector instance name.

    Description

    Enter the description of the connector to identify it.

    Access Key

    Access key ID (AK) of the current account. Obtain the AK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv).

    Secret Access Key

    Secret access key (SK) of the current account. Obtain the SK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv).

Action

Obtaining files in a branch directory; obtaining repository statistics; modifying the status of a repository referenced by a pipeline; checking whether a user has the repository administrator permission; setting a repository to public or private; obtaining the list of repositories that can be set to public under a project; obtaining a public template list; obtaining information about all repositories in a project; verifying a repository name of a specified project; creating a repository; obtaining a repository short ID based on the repository or repository group name to combine the url of the commit details page corresponding to the commit ID; querying a commit of a branch by repository or repository group name; querying a webhook of a specified repository; adding a hook to a specified repository; deleting the hook of a specified repository; querying branches of a specified repository; querying a commit of a repository branch by the repository ID; adding a deploy key; deleting a repository deploy key; obtaining the last commit statistics of a repository; repository statistics; querying a repository under a project; deleting a repository; obtaining all member records in a repository; adding a repository member; setting a role for a member in the repository; deleting a repository member; viewing the repository creation status; verifying HTTPS account and password; obtaining an SSH key list; adding an SSH Key; checking whether the private key has the permission to pull code; deleting a user's public key; query all repositories of a user; creating a project and repository; creating a project and forking a repository; querying all repositories in a project; querying a tag list of a repository; creating a tag; querying details of a repository; querying the commit message of a repository; creating a submit; querying a specific commit message of a repository; querying the commit difference information of a repository; querying a files in a repository; obtaining the number of committed code lines; downloading a repository; creating a protected branch; obtaining the repository branch list; associating branches with work items; obtaining an MR list of a repository; obtaining MR details of a repository

Configuring Parameters

For details about the parameters, see the API Reference of CodeArts Repo.