当前位置:网站首页>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.
边栏推荐
- golang 字符串操作
- Getting Started with Kotlin Algorithms Calculating Prime Factors
- 关于ts中的指针问题call,bind, apply
- 5分钟快速为OpenHarmony提交PR(Web)
- 表达式必须具有与对应表达式相同的数据类型
- Getting Started with Kotlin Algorithms Calculating Prime Numbers and Optimization
- Essential C# scripting skills for Unity developers
- IDEA的初步使用
- Has legal counsel become a tasteless product of law firms?
- 中移链EOSJS实战使用
猜你喜欢
随机推荐
新一代开源免费的轻量级 SSH 终端,非常炫酷好用!
Kotlin算法入门求回文数数算法优化二数字生成规则
pycharm 取消msyql表达式高亮
ASP.NET Core 6框架揭秘实例演示[32]:错误页面的集中呈现方式
UNITY gameobject代码中setacvtive(false)与面板中直接去掉勾 效果不一样
通过Xshell连接Vagrant创建的虚拟机
中移链EOSJS实战使用
What should I do if the mysql data query causes the cup to be full because the query time span is too large
持续集成/持续部署(2)Jenkins & SonarQube
Filesystem Hierarchy Standard
MySQL性能调优,必须掌握这一个工具!!!(1分钟系列)
Typescript基本类型---下篇
AUTOSAR从入门到精通番外篇(八)-C语言常用技巧50个
三次握手与四次挥手
Typescript基本类型---上篇
万字长文带你了解多态的底层原理,这一篇就够了
Inventorying Four Entry-Level SSL Certificates
nodejs微服务中跨域,请求,接口,参数拦截等功能
YTU 2297: KMP pattern matching three (string)
Kotlin算法入门计算素数以及优化









