Code branch management method and device, equipment and storage medium

A management method and a branched technology, applied in the computer field, can solve problems such as reducing the accuracy of codes to be put into production and the quality of putting into production, reducing user trust and experience, so as to enhance trust and experience, facilitate development and management, and improve accuracy. degree of effect

Pending Publication Date: 2021-12-03
SHANGHAI PUDONG DEVELOPMENT BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the existing technical solution creates the release branch, the release branch is created directly from the development branch, which often results in the production of content that does not need to be put into production, thus causing a series of loopholes or defects in the production environment and reducing the code to be put into production. Accuracy and quality of production, thereby reducing the user's trust and experience

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 branch management method and device, equipment and storage medium
  • Code branch management method and device, equipment and storage medium
  • Code branch management method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 It is a flow chart of a code branch management method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the code to be put into production is put into production through code branch management. The method can be executed by a code branch management device. The device It can be realized by means of software and / or hardware. like figure 1 As shown, the method specifically includes the following steps:

[0027] S110. Cut out at least one development branch from the master branch, for corresponding developers to write codes and perform local testing.

[0028] Among them, the main branch may include at least one code to be put into production that can be put into production. The code to be put into production may be the function code of an application or software product to be developed. For example, a software product has at least one product function, and a product function can correspond to At least one pie...

Embodiment 2

[0056] figure 2 It is a flowchart of a code branch management method provided by Embodiment 2 of the present invention. This embodiment is optimized and improved on the basis of the above technical solutions.

[0057] Further, the operation "according to the UAT test results, control the merge of the release branch into the main branch for production" is refined into "merge the release branch that passed the UAT test into the main branch to For production; or, feedback modification reminders to the developers corresponding to the code branch that failed the UAT test, so that the corresponding developers can perform code modification and local testing, and return to perform the merge operation to the SIT branch." To improve the UAT test Analysis of results.

[0058] like figure 2 As shown, the method includes the following specific steps:

[0059] S210. Cut out at least one development branch from the master branch, for corresponding developers to write codes and perform l...

Embodiment 3

[0076] Figure 3A It is a schematic diagram of a code branch management method provided by Embodiment 3 of the present invention. This embodiment can provide a preferred example based on the foregoing embodiments.

[0077] like Figure 3A As shown, the method includes the following specific steps:

[0078] S301. Pull the development branch corresponding to each business requirement from the main branch, so that developers can write code and perform local testing according to the function of the business requirement on the corresponding development branch.

[0079] Exemplarily, after the developer completes the code writing on the development tool, he can perform a local test on the written code. If the local test fails, he can directly modify the code on the development tool, and ensure that the local test passes, so that the development branch The code to be put into production on the platform meets the corresponding business requirement functions.

[0080] S302. After th...

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 discloses a code branch management method and device, equipment and a storage medium. The method comprises the steps that at least one development branch is cut out from a main branch so that corresponding developers can carry out code writing and local testing; the at least one development branch passing a local test is combined to a preset system integration test SIT branch, so that a corresponding tester can perform an SIT test on each development branch in the SIT branch; cutting out a release branch from the main branch, merging at least one development branch to the release branch according to an SIT test result, so that a corresponding tester performs a user acceptance test (UAT) on each development branch in the release branch; and according to a UAT result, controlling to combine the release branch to the main branch for production.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a code branch management method, device, equipment and storage medium. Background technique [0002] Currently, the code branch management device usually adopts a GitLab-based code branch management system. During project development, create a development branch from the main branch in the code branch management system, and create a release branch through the development branch; directly merge the development branch that has completed self-testing into the release branch, and then merge the release branch into the main branch. The master branch is used in production. [0003] In the existing technical solutions, when creating the release branch, the release branch is directly created from the development branch, which often results in the production of content that does not need to be put into production, resulting in a series of loopholes or defe...

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
IPC IPC(8): G06F8/70
CPCG06F8/70
Inventor 张华萍吴瑾
Owner SHANGHAI PUDONG DEVELOPMENT BANK
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