Process of CodeArts Repo
The following figure shows how to use CodeArts Repo.

Process |
Description |
---|---|
Create and Configure a CodeArts Project |
All CodeArts Repo operations must be performed in a project. You need to create a CodeArts project. By doing this, you can create a CodeArts project, add project members, and manage members' permissions to use other CodeArts services. |
Repository administrators can create repositories. Repository administrators can also import repositories. Developers can develop code based on the imported repositories.
|
|
|
|
Configure repository rules |
CodeArts Repo allows repository administrators to set rules for repositories to ensure code security. Repository rules can be configured at the project level and repository level.
Repository Group Information, Configuring Repository Settings in a Repository Group, and Risky Operations. |
Configure the Git environment |
Before cloning a repository to the local host for code development, developers need to install and configure the Git client and configure at least one type of key. |
Clone a repository to a local PC |
Before code development, developers need to clone the repository to the local host using an SSH key or HTTPS. If repository members do not develop code, they can download the repository to the local host for viewing. For details, see Using a Browser to Download Code Package to a Local PC. |
Coding |
You can clone a repository to the local host for code development. You can also develop code online. For details, see Editing and Creating a Merge Request. |
Code commit |
After developing and checking code on the local host, you can upload the code file to CodeArts Repo.
Code conflicts may occur when you upload code. For details, see Resolving Code Conflicts in an MR. After the code file is uploaded, you can view the commit history of the code. For details, see Viewing Commit History. |
Code check |
If the repository administrator selects Automatically create Check task (free of charge) when creating a repository, a CodeArts Check task will be automatically triggered for code specifications check after the code is committed. |
Code review |
After the code passes the check, the code reviewer can organize code review. They can provide review comments based on the configuration of the repository administrator. For details, see 1. |
Approve and merge code in to the master branch |
If the repository administrator sets the review comment gate, you need to pass the review comment gate by referring to Passing of the Gate. Then, the committer can merge the MR. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot