当前位置:网站首页>Record the process of submitting code to openharmony once
Record the process of submitting code to openharmony once
2022-06-25 11:32:00 【InfoQ】
Write it down once OpenHarmony The process of submitting code

One 、DCO signed
1.DCO Signing website
2. signed DCO

3. matters needing attention
git config --global user.name " Xu Jianguo "
git config --global user.email "[email protected]"
git config --global --listTwo 、 Submission code
1. Download code
1.1 Find the community code repository where you want to submit the code ,fork One to his own private warehouse ;

1.2 Copy your own private warehouse “ clone / download ” Medium HTTPS/SSH Link to download code
git clone https://gitee.com/jianguo888/docs.git
2. Submission code
2.1 Merge the modified code into the submission Repository ;
git add .
git commit -sm ' Modify the information ' // The submitted information contains signoff mailbox
git push -f origin master
2.2 If the same problem is modified
git commit --amend3、 ... and 、 Submit ISSUE
1. Enter the community main code to build Issue( No fork Code warehouse of ), At the same time, pay attention to Issue There are many types of options to choose from , Choose... According to the actual situation


2. If the creation is successful, a #XXXXX(I5E2H2) Of IssueID, Submit PR Can relate to , relation PR Integration ,Issue It will shut down automatically .

Four 、 Submit PR
1. Submit the code to your own private repository , Refresh , Click on “+ Pull Request” build PR Merge the code into the community main code warehouse ;

2. Get into PR Submit interface , Code warehouse branches can be selected , And correlation ISSUE ID, Briefly describe the combined PR Modification and other information ;

3.PR Build success , First, by default DCO Check , Check success , You need to manually enter a reply in the comment area ”start build” To access the code CI Static checking and compilation .

5、 ... and 、 contact committer
1. committer The corresponding committer Home page of the person in charge , Find a way to contact


Modify the content
establish visual File support for low code development
- On the JS In Engineering , Select the of the module pages Folder , Right click , choiceNew > JS Visual.

- In the pop-up dialog , Input JS Visual Name, Click onFinish.


- entry > src > main > js > MainAbility > pages > index > index.js: Logical description file of low code page , Defines all the logical relationships used in the page , Like data 、 Events, etc. . Please refer toJS Syntax reference. If you create multiple low code pages , be pages Multiple page folders and corresponding folders will be generated under the directory js file .

- explain :When developing with low code pages , Its relevance js Files cannot have siblings hml and css page , For example, in the figure abovejs > MainAbility > pages > indexThe directory cannot contain hml And css file , Otherwise, there will be compilation errors .
- entry > src > main > supervisual > MainAbility > pages > index > index.visual:visual The file stores the data model of low code pages , Double click the file to open the low code page , Carry out visual development and design . If you create multiple low code pages , be pages Multiple page folders and corresponding folders will be generated under the directory visual file .
- open “page.visual” file , The visual layout design and development of the page can be carried out .
- Using low code to develop the interface , If the interface needs to use other controls that do not support visual layout for the time being , After the low code interface is developed , Click on

- Button , Convert the low code interface to hml and css Code .Be careful, Transcoding will delete visual File and its parent directory , And it is an irreversible process , Cannot pass after code conversion hml/css File reverse generation visual file .
- Scenario of multi device development , You can click the device in the upper right corner of the interface canvas / Mode switch button

- , Perform device switching or mode switching .




边栏推荐
- 金仓数据库 KingbaseES 插件dbms_session
- Arrays. asList()
- GC
- 牛客网:主持人调度
- Writing wechat applet with uni app
- Builder pattern
- 金仓数据库 KingbaseES 插件identity_pwdexp
- C disk uses 100% cleaning method
- 从GEE中免费获取全球人类住区层 (GHSL) 数据集
- Double buffer transparent encryption and decryption driven course paper + project source code based on minifilter framework
猜你喜欢

A difficult mathematical problem baffles two mathematicians

Query method and interrupt method to realize USART communication

Crawler scheduling framework of scratch+scratch+grammar

Idea uses the fast request interface for debugging

SQL注入漏洞(繞過篇)

Shichuang Energy sprint Technology Innovation Board: le chiffre d'affaires annuel prévu de 1,1 milliard de RMB est de 0,7 milliard de RMB, en baisse de 36%

寿命分布 4种

牛客网:分糖果问题

Leetcode 1249. Remove invalid brackets (awesome, finally made)

基于C语言的图书信息管理系统 课程论文+代码及可执行exe文件
随机推荐
龙书虎书鲸书啃不动?试试豆瓣评分9.5的猴书
芯片的发展史和具体用途以及结构是什么样的
Crawler scheduling framework of scratch+scratch+grammar
Niuke.com: Candy distribution
数据库系列:MySQL索引优化总结(综合版)
TCP如何处理三次握手和四次挥手期间的异常
Builder pattern
SQL injection vulnerability (bypass)
Detection and analysis of simulator in an app
Handler、Message、Looper、MessageQueue
Kingbasees plug-in DBMS of Jincang database_ OUTPUT
时创能源冲刺科创板:拟募资11亿 年营收7亿净利反降36%
relu与sigmod的比较
MySQL synchronous data configuration and shell script implementation
SQL注入漏洞(类型篇)
GaussDB 集群维护案例集-sql执行慢
Kingbasees plug-in DBMS of Jincang database_ session
金仓数据库 KingbaseES 插件DBMS_OUTPUT
Gaussdb cluster maintenance case set - slow SQL execution
Socket communication principle