Supervision and tracking method based on git hooks and defect management tool

A management tool and defect technology, applied in the field of supervision and tracking, can solve the problem of not making good use of the customizability of githooks, and achieve the effect of reducing development and testing costs, facilitating expansion, and facilitating problem tracking.

Inactive Publication Date: 2017-08-08
丹露成都网络技术有限公司
View PDF1 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to overcome the defect that most gitlab users do not make good use of the customizability of git hooks, and combine defect management tools to monitor and track code submission defects, and provide a method that can customize githooks and combine bugzilla To control the submission of code, so as to facilitate the tracking and positioning of problems, the supervision and tracking method based on git hooks and defect management tools

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

[0020] The monitoring and tracking method based on git hooks and defect management tools of the present invention first submits the code to the engineering branch on git through the git client, and fills in the information in the Message when submitting the code, and the information in the Message includes a requirement ID or a bug ID . Among them, the format of Message can be 【requirement#ID】comments, 【requirement#ID】comments, 【error#ID】comments or 【bug#ID】comments.

[0021] Then, when the git server receives the push request of the branch code, it will call the pre-receive script of the git hooks server. Git has the function of executing specific script code before or after specific events occur, and git hooks are those scripts that are triggered to run after git executes specific events (such as commit, push, receive, etc.). The location of the git hooks script can be divided into two categories: local hooks, triggering events such as commit, merge, etc.; server hooks, tri...

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 supervision and tracking method based on git hooks and a defect management tool. The supervision and tracking method is characterized by comprising steps as follows: (1) codes are submitted to an engineering branch on git through a git client; (2) when a git server receives a push request of the branch code, a pre-receive script of the git hooks server is called; (3) whether the codes are allowed to be submitted in the ID state is judged according to specific ID information acquired by the pre-receive script from the defect management tool; (4) when the judgement result of the step (3) is yes, submission succeeds, otherwise, submission fails. The method has simple steps, is convenient to operate, can standardize the code submission procedure and facilitate problem tracking and is suitable for popularization and use.

Description

technical field [0001] The invention relates to a monitoring and tracking method, in particular to a monitoring and tracking method based on git hooks and defect management tools. Background technique [0002] At present, most existing gitlab users just use the default git hooks, thus ignoring the customization of githooks, combining git with defect management tools to control code submission actions, and recording code submissions to defect management tools. It is convenient for problem tracking and positioning. Contents of the invention [0003] The purpose of the present invention is to overcome the defect that most gitlab users do not make good use of the customizability of git hooks, and combine defect management tools to monitor and track code submission defects, and provide a method that can customize githooks and combine bugzilla A monitoring and tracking method based on git hooks and defect management tools to control the submission of code, so as to facilitate p...

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 丹露成都网络技术有限公司
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