Method for momentarily issuing codes based on Git

An implementation method and code technology, applied in the implementation field based on Git to release code at any time, can solve problems such as inability to respond in time, unable to build release packages in time, shorten project development cycle, improve release package quality, and be easy to promote Effect

Inactive Publication Date: 2015-11-25
INSPUR SOFTWARE CO LTD
View PDF5 Cites 45 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is currently no effective way to release at any time and quickly based on Git. For more urgent problems raised by customers, it is impossible to build a release package in time and respond in a timely manner.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described below in conjunction with specific examples.

[0020] The invention provides a method for implementing code release at any time based on Git, which solves the problem that in the case of using Git to manage file versions, the file version can be correctly constructed, and the release package can be constructed at any time, which can accurately solve customer problems, improve customer response speed and satisfaction.

[0021] Based on this, the implementation process of this method is:

[0022] The administrator defines the fixed branch of the Git central library, and the developer creates a task package. The developer develops the code in the local Git development library. After the development is completed, it is synchronized with the code of the fixed branch of the central library, and the code is submitted to the central library after the conflict is resolved.

[0023] Add a hook script in the central library to monit...

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 invention discloses a method for momentarily issuing codes based on Git. The specific achievement process is as follows: at first, a manager defines a central library and fixed branches of Git, namely, the manager defines a certain Git resource library as the central library and defines main branches of a specified project as the fixed branches; obtaining latest versions submitted by codes on the fixed branches of the central library of the Git through a hook script; converting the versions in the Git into self-increasing serial numbers for storage; correlating a developed source code with a task package; and momentarily creating and obtaining a correct file version. Compared with the prior art, the method for momentarily issuing codes based on Git can be used for momentarily creating an issue package necessary for a client without manually picking up files for creation on the condition that multiple people cooperate to develop the same project, so that the working efficiency and the quality of the issue package are improved, the practicability is strong, the application range is wide, and the method is easy to popularize.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a practical method for releasing codes at any time based on Git. Background technique [0002] As a distributed version control system, Git is used by more and more open source projects because of its convenience and efficiency, and some traditional non-open source projects have also begun to gradually consider using Git to manage the version of project files. However, there is currently no effective way to release anytime and quickly based on Git. For more urgent problems raised by customers, it is impossible to build a release package in time and respond in a timely manner. [0003] Based on this, the present invention provides a method for implementing code release at any time based on Git. The method defines the Git central library, monitors the submission of fixed branches in the central library through the Git hook script, and converts the submitted version into a self-in...

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): G06F9/44
Inventor 曲岩董金刚
Owner INSPUR SOFTWARE CO 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