当前位置:网站首页>Quickly submit a PR (Web) for OpenHarmony in 5 minutes
Quickly submit a PR (Web) for OpenHarmony in 5 minutes
2022-08-11 09:04:00 【InfoQ】
Event title:
[OpenHarmony Open Source Contributor Program 2022]
1. Introduction
This article will describe how to use the web pageOperation, submit PR quickly within 3 minutes, suitable for simple document modification PR.
The overall process is:
Discover Issue->Create Issue->
Sign dco agreement
->Register Gitee->fork repository -> Edit online (and add extended information) -> Submit PR -> PR inspection -> Wait for Committer review -> Merge.
1. Create Issue
1. Click New Issue
2. Jump to the interface as shown, enter the title and content
3. After clicking Create, as shown in the figure, remember #I5LPU2, and then associate Pr with
2. Sign DcoAgreement
Sign the dco agreement
3.Register Gitee
Register
4.Fork repository
First find the repository where you want to submit PR, perform the fork operation, and fork the repository to my repository.
1. As shown in the figure below, the name of the warehouse we want to modify is docs, and click the fork button in the upper right corner.
2.Fork successfully will automatically enter its own fork warehouse, as shown in the following figure.
5. Modify the content
After the warehouse has been forked, we can modify the content online through the Web, taking the modification of README.md as an example:
1.Click README.md to open the file.
2. Click Edit to modify the file.
3. After entering the file modification interface, the file content is modified in markdown syntax format.
4. Click on the small eyes to preview the effect after modification
5. After the file modification is completed, enter the extended information, otherwise the PR will fail to pass the DCO schoolThe format is as follows:
Signed-off-by: gitee username For example, my
Signed-off-by: Nut <[email protected]>After entering the extended information, as shown in the figure below, click Submit, and the modification of the local warehouse is completed.
6. Submit PR
- Click docsl in the upper left corner to enter our fork's local repository.
- Click the Pull Request button to enter the PR submission page.
- Enter the title of the PR submission, the content can be defined by yourself, and add #I5LPU2 to thisThen click Create Pull Request.
- After the creation is complete, it will automatically jump to our PR page.
7.PR detection
After the PR submission is completed, it is necessary to check whether the submitted PR conforms to the warehouse rules. After the detection is successful, PROnly then can they be merged, and the PR process completed at one time is considered a success.
- Comment start build under the PR to perform data detection and trigger access control inspection.
- Refresh the page to view the inspection results.When thedco check is successful, the code quality check is successful, and the code compliance check is successful, you can wait for the warehouse administrator to join in!
At this point, the whole process is over. Compared with the local operation method, this is faster, but there are also problems, that is, this can only be used for simple modificationThe textual description will be more appropriate. If it is at the code level, it is better to follow another method I provided, which will be better.
边栏推荐
- 【无标题】超时超时超时超时超时
- Design of Cluster Gateway in Game Server
- Filesystem Hierarchy Standard
- Unity3D——自定义类的Inspector面板的修改
- Rust从入门到精通06-函数
- Getting Started with Kotlin Algorithms Calculating Prime Factors
- Alibaba Sentinel - Slot chain解析
- Unity3D - modification of the Inspector panel of the custom class
- Lightweight network (1): MobileNet V1, V2, V3 series
- 大佬们,我有一个MySQL source 通过旁路分流分了两个流,然后转表,现在想sink到两个hb
猜你喜欢
随机推荐
利用mindspore下面mindzoo里面的yolov3-darknet53进行目标识别,模型训练不收敛
Nuget can't find the package problem
模型训练出现NAN
Getting Started with Kotlin Algorithms Calculating Prime Factors
腾讯电子签开发说明
Kotlin算法入门计算素数以及优化
YTU 2297: KMP pattern matching three (string)
工业检测深度学习方法综述
nodejs微服务中跨域,请求,接口,参数拦截等功能
dsu on tree(树上启发式合并)学习笔记
jenkins 流水线脚本详细解析Pipeline
shell之sed
gRPC系列(一) 什么是RPC?
Has legal counsel become a tasteless product of law firms?
Alibaba Sentinel - Slot chain解析
VoLTE基础自学系列 | 3GPP规范解读之Rx接口(上集)
深度学习100例 —— 卷积神经网络(CNN)识别眼睛状态
法律顾问成了律所鸡肋产品了吗?
Interview questions about Android Service
基于 VIVADO 的 AM 调制解调(2)工程实现



![ASP.NET Core 6框架揭秘实例演示[32]:错误页面的集中呈现方式](/img/c9/93ab353c4908adaaae0da2cc3b6a3c.png)





