当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
excel将数据按某一列值分组并绘制分组折线图
当你领导问你“还有其他的么”
5分钟快速为OpenHarmony提交PR(Web)
腾讯电子签开发说明
nodejs微服务中跨域,请求,接口,参数拦截等功能
1002 A+B for Polynomials
WordpressCMS主题开发02-制作顶部header.php和footer.php
OAuth Client默认配置加载
IPQ4019/IPQ4029 support WiFi6 MiniPCIe Module 2T2R 2×2.4GHz 2x5GHz MT7915 MT7975
持续集成/持续部署(2)Jenkins & SonarQube
Continuous Integration/Continuous Deployment (2) Jenkins & SonarQube
前几天,小灰去贵州了
MATLAB实战Sobel边缘检测(Edge Detection)
最强大脑(9)
基于C#通过PLCSIM ADV仿真软件实现与西门子1500PLC的S7通信方法演示
工业检测深度学习方法综述
Redis的客户端连接的可视化管理工具
SDUT 2877: angry_birds_again_and_again
基于 VIVADO 的 AM 调制解调(2)工程实现
Kotlin算法入门求回文数算法优化一