Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Code submission method and device

A code and branch code technology, applied in the computer field, can solve problems such as fixed branch code exceptions and fixed branch code pollution, and achieve the effect of avoiding exceptions

Pending Publication Date: 2019-01-18
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for the prior art, when there is a new branch code, the system will directly submit the new branch code to the developed fixed branch code. The developed fixed branch code causes pollution, resulting in abnormalities in the fixed branch code

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

[0051] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0052] An embodiment of the present invention provides a code submission method, which is applied to a Git distributed version control system containing target branch codes. Such as figure 1 As shown, the method includes:

[0053] Step 101: Monitor whether there is a code submission request initiated to the target branch code, wherein the code submission request is a request to perform a code submission operation on the target bra...

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 relates to the field of computer technology, particularly relates to a code submission method and a device, which are applied to a Git distributed version control system including a target branch code. The method monitors whether a code submission request initiated to the target branch code exists, and the code submission request is a request for code submission operation to the target branch code by using the branch code to be submitted. When the code submission request is detected, the branch code to be submitted is tested to judge whether the branch code to be submitted meetsthe preset test standard, and the judgment result is obtained; and when the branch code to be submitted meets the preset test standard, the branch code to be submitted is tested. If the judgment result indicates that the branch code to be submitted reaches the preset test standard, the code submission operation is carried out on the target branch code by using the branch code to be submitted. If the judgment result indicates that the branch code to be submitted does not reach the preset test standard, the branch code to be submitted is prevented from submitting the code to the target branch code. The invention avoids the abnormal situation of the target branch code caused by the problematic branch code to be submitted.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a code submission method and device. 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. Git has the following functions: clone the completed Git warehouse from the server to a single machine; create branches and modify codes on your own machine according to different development purposes; submit code on the branch you created yourself on the single machine; merge branches on a single click ,etc. [0003] Git is composed of branch codes, and the development process of Git is a process of continuously submitting new branch codes to the developed fixed branch codes. However, for the prior art, when there is a new branch code, the system will directly submit the new branch code to the developed fixed branch code. The well-developed fixed-branch code causes pollution, ...

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): G06F8/71G06F11/36
CPCG06F8/71G06F11/3668
Inventor 崔俊
Owner BEIJING QIHOO TECH 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
Eureka Blog
Learn More
PatSnap group products