Code submission method and device

A code and branch technology, applied in the field of code submission methods and devices, can solve the problems of reducing code submission quality efficiency and code submission efficiency, and achieve the effect of improving submission efficiency

Active Publication Date: 2021-11-23
CHENGDU TD TECH LTD
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a code submission method and device to solve the problem of reducing the efficiency of code submission in the prior art by manually verifying and submitting, and only testing the code to be submitted on the development branch separately, and merging the tested code of the development branch into the trunk The problem that the expected effect cannot be produced when branching reduces the quality and efficiency of code submission

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code submission method and device
  • Code submission method and device
  • Code submission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0054] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a code submission method and device, and the method comprises the steps: obtaining a first to-be-submitted code which is a code to be synchronized to a development branch in development codes; enabling the first to-be-submitted code to be subjected to a first-level test, submitting the first to-be-submitted code to the development branch after the first to-be-submitted code passes the test, and completing code development in the development branch, wherein the first-level test comprises a smoking test; obtaining a second to-be-submitted code, wherein the second to-be-submitted code is a code which is developed in the development branch and is to be merged to the main branch; pre-combining the second code to be submitted with the main branch code to generate a temporary node; and performing a second-level test on the code of the temporary node, deleting the temporary node after the test is passed, and submitting the second to-be-submitted code to the main branch. According to the embodiment of the invention, the continuous construction interruption times and development delay time caused by code combination are reduced, and the code submission quality and efficiency are improved.

Description

technical field [0001] The embodiment of the present invention relates to the field of computer technology, and in particular to a method and device for submitting codes. Background technique [0002] As the development complexity of software products continues to increase, developers have introduced continuous construction and automated testing during the development process to safeguard the quality of submitted code. One of the principles of continuous delivery in software engineering is to submit code quickly, build frequently, and establish a feedback path as short as possible in the build pipeline system. Among them, fast submission helps to reduce the waiting time of developers, thereby improving development efficiency; frequent builds help to narrow the differences between the two versions before and after, so that it is easy to find problems and make corresponding improvements; the shortest possible feedback path helps Expose the problem to the code committer this m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3624G06F11/3688
Inventor 陈嘉
Owner CHENGDU TD TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products