CN109901876A - Code review method, system, equipment and storage medium - Google Patents
Code review method, system, equipment and storage medium Download PDFInfo
- Publication number
- CN109901876A CN109901876A CN201910148740.2A CN201910148740A CN109901876A CN 109901876 A CN109901876 A CN 109901876A CN 201910148740 A CN201910148740 A CN 201910148740A CN 109901876 A CN109901876 A CN 109901876A
- Authority
- CN
- China
- Prior art keywords
- code
- request
- branch
- distance host
- interim
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012552 review Methods 0.000 title claims abstract description 44
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000012986 modification Methods 0.000 claims abstract description 67
- 230000004048 modification Effects 0.000 claims abstract description 67
- 238000011156 evaluation Methods 0.000 claims abstract description 24
- 230000008901 benefit Effects 0.000 claims description 4
- 230000008859 change Effects 0.000 description 22
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000005291 magnetic effect Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 210000000352 storage cell Anatomy 0.000 description 1
Abstract
The present invention provides a kind of code review method, system, equipment and storage mediums, this method comprises: receiving the request that code pushes to distance host, the title of purpose branch is merged in the code requested including request push, distance host;According to the interim branch of code establishing of the request push;Compare the interim branch and merge purpose branch, obtains the difference of Liang Ge branch;The difference for traversing described two branches creates multiple modification items;Each modification item is evaluated, code corresponding to the modification item that passes through of evaluation is merged into the merging purpose branch in the distance host.Using technical solution of the present invention, by creating interim branch, and the modification item that can be evaluated in advance is relatively obtained according to interim branch and original branch, after modification item evaluation passes through, just code is merged into the branch of distance host, it avoids second-rate code from storing into code storage, and meets the needs of different application scene.
Description
Technical field
The present invention relates to code review technical fields more particularly to a kind of code review method, system, equipment and storage to be situated between
Matter.
Background technique
Company has the platform of two Open Source Code management to use for R&D team simultaneously at present, and a is Gerrit platform,
It mainly provides the mode of pre-commit;Another money is Gitlab, it mainly provides the mode of post-commit.Wherein,
The evaluation mode of pre-commit refers to: the code that developer submits to distal end, it is necessary to by that could be stored in after code review
To code storage.The evaluation mode of post-commit refers to: developer first submits the change of oneself to far-end individual branch,
Then the integrated application of code review and branch is initiated again.
There is a problem of using two sets of platforms very big: developer needs to learn two sets of modes, two sockets;Code platform
Developer need to safeguard two sets of services, or even the extension of new function is done based on two sets of platforms;Continue its of delivery platform
His service needs support two sets of code platforms.
Therefore, in an intra-company, Unicode management is a platform, becomes more more and more urgent.
Summary of the invention
For the problems of the prior art, the purpose of the present invention is to provide a kind of code review method, system, equipment and
Storage medium, it is only necessary to a platform is used, the evaluation mode of pre-commit and post-commit can be provided simultaneously, it is full
The demand of sufficient different application scene.
The embodiment of the present invention provides a kind of code review method, and described method includes following steps:
Receive the request that code pushes to distance host, the request includes the code of request push, in distance host
Merge the title of purpose branch;
According to the interim branch of code establishing of the request push;
Compare the interim branch and merge purpose branch, obtains the difference of Liang Ge branch;
The difference for traversing described two branches creates multiple modification items;
Each modification item is evaluated, code corresponding to the modification item that passes through of evaluation is merged into described long-range
Merging purpose branch in host.
Optionally, the difference of the described two branches of traversal creates multiple modification items, including the described two branches of traversal
Difference, for each commit create modification item.
Optionally, the difference of the described two branches of traversal further includes facing described in deletion after creating multiple modification items
When branch the step of.
Optionally, the code that receives pushes to the request of distance host and the code establishing according to the request push
Further include following steps between interim branch:
Judge that the request belongs to the first request type or the second request type;
If the request belongs to the first request type, according to the interim branch of code establishing of the request push;
If the request belongs to the second request type, the code of request push is merged into the distance host
Merge purpose branch.
Optionally, the method is realized based on Gitlab platform, and second request type is to merge request type.
The embodiment of the present invention also provides a kind of code review system, comprising:
Request receiving module, the request of distance host is pushed to for receiving code, and the request includes request push
Merge the title of purpose branch in code, distance host;
Interim branch creation module, for the interim branch of code establishing according to the request push;
Modification item creation module for the interim branch and merges purpose branch, obtains the difference of Liang Ge branch,
The difference for traversing described two branches creates multiple modification items;
Modification item evaluates module, for evaluating to each modification item;
Merge branch module, code corresponding to the modification item for passing through evaluation is merged into the distance host
Merge purpose branch.
Optionally, the modification item creation module traverses the difference of described two branches, creates multiple modification items, including time
The difference of described two branches is gone through, creates modification item for each commit.
Optionally, the request receiving module receives code and pushes to after the request of distance host, is also used to judge
The type of the request, if the request type is the first request type, the request receiving module sends out the request
It send to interim branch's creation module, if the request type is the second request type, the request receiving module will
The request is sent to the merging branch module.
The embodiment of the present invention also provides a kind of code review equipment, including processor;Memory, wherein being stored with the place
Manage the executable instruction of device;
Wherein, the processor is configured to execute the code review method via the executable instruction is executed
Step.
The embodiment of the present invention also provides a kind of computer readable storage medium, for storing program, which is characterized in that described
Program is performed the step of realizing the code review method.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Code review method, system, equipment and storage medium provided by the present invention have the advantage that
The present invention relatively obtains evaluating in advance by creating interim branch according to interim branch and original branch
Modification item, modification item evaluation pass through after, just code is merged into the branch of distance host, so as to realize
Branch is remerged after can also evaluating to code on Gitlab platform, second-rate code is avoided to store to code storehouse
In library, and only need that the evaluation mode of pre-commit and post-commit can be provided simultaneously using a platform, it is full
The demand of sufficient different application scene.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon.
Fig. 1 is the flow chart of the code review method of one embodiment of the invention;
Fig. 2 is the structural schematic diagram of the code review system of one embodiment of the invention;
Fig. 3 is that the interface schematic diagram of Change mode is provided in the code administration platform of one embodiment of the invention;
Fig. 4 is that the code administration platform of one embodiment of the invention provides Change and Merge Request two ways
Interface schematic diagram;
Fig. 5 is the structural schematic diagram of the code review equipment of one embodiment of the invention;
Fig. 6 is the structural schematic diagram of the computer readable storage medium of one embodiment of the invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
As shown in Figure 1, the technical issues of in order to solve in the prior art, the embodiment of the present invention provides a kind of code review side
Method, the code review method include the following steps:
S100: receive code push (push) to distance host request, it is described request include request push code,
Merge the title of purpose branch in distance host;
S200: according to the interim branch of code establishing of the request push;
S300: the interim branch and merging purpose branch obtain the difference of Liang Ge branch;
S400: traversing the difference of described two branches, creates multiple modification items (change);
S500: being evaluated (review) to each modification item, code corresponding to the modification item that evaluation is passed through
The merging purpose branch being merged into the distance host.
Therefore, code review method of the invention receives code push request by step S100, is created by step S200
The corresponding interim branch of code is built, and is relatively obtained by step S300 and step S400 according to interim branch and original branch
Code is just merged into distance host by step S500 after modification item evaluation passes through by the modification item that can be evaluated in advance
In branch, for by the modification item of evaluation, corresponding code can not be then merged into the branch of distance host, so as to
Branch is remerged after can also evaluating to code on Gitlab platform with realization, second-rate code is avoided to store
Into code storage.
The code review method can be realized based on Gitlab platform, so that Gitlab platform not only can be by closing
And branch (Merge Request) this code administration mode, this code administration mode of Change can be increased, closed in code
And to before in remote branch, first evaluated.Code can also be evaluated on Gitlab platform so as to realize
After remerge branch, avoid second-rate code from storing into code storage, and only need using a platform, can be with
The evaluation mode of pre-commit and post-commit is provided simultaneously, meets the needs of different application scene.
In this embodiment, the difference of the described two branches of traversal, creates multiple modification items, including traversal described two
The difference of a branch creates modification item change for each commit.
In this embodiment, the difference of the described two branches of traversal further includes deleting after creating multiple modification items
The step of interim branch.Such push operation just completes.
In this embodiment, the code that receives pushes to the request of distance host and the generation according to the request push
Code creates between interim branch, further includes following steps:
Judge that the request belongs to the first request type or the second request type, second request type can be
Merge request type (Merge Request) in Gitlab platform;
If the request belongs to the first request type, according to the interim branch of code establishing of the request push;
If the request belongs to the second request type, the code of request push is merged into the distance host
Merge purpose branch.
The increased Change way to manage of the present invention can be perfectly suitable for following three kinds of scenes:
Scene 1, the project of trunk branch exploitation.
Because all changes require on being submitted to unique exploitation branch at the first time, keeps lasting and integrates,
In this way, characteristic branch just there are not necessarily.In this case, it is most suitable for Change mode.Exploitation it is local always
Based on trunk, branch is developed, and exploitation finishes, and is directly pushed to the refs/for/ trunk branch of distal end.One submits, distal end
A modification item change is automatically created, after modification item change passes through review, corresponding commit is just incorporated into master
Dry branch;If review is not passed through, the content changed would not enter trunk branch.
Scene 2 especially payes attention to the team of code quality.
Such team does not allow bum commit, and there are the sides in warehouse, being also not desired to fork (bifurcated function)
Formula, because the mode of fork is not succinct enough and direct, the warehouse that fork goes out needs frequent fetch original code warehouse, needs to tie up
Protect multiple remote (long-range).
Scene 3 has the team of more exploitation new hand.
The change that new hand submits first passes through review (evaluation) and then can just enter the code storage of Gitlab platform.
As shown in Fig. 2, the embodiment of the present invention also provides a kind of code review system, comprising:
Request receiving module M100, the request of distance host is pushed to for receiving code, and the request includes that request pushes away
Merge the title of purpose branch in the code that send, distance host;
Interim branch creation module M200, for the interim branch of code establishing according to the request push;
Modification item creation module M300 for the interim branch and merges purpose branch, obtains Liang Ge branch
Difference traverses the difference of described two branches, creates multiple modification items;
Modification item evaluates module M400, for evaluating to each modification item;
Merge branch module M500, code corresponding to the modification item for passing through evaluation is merged into the distance host
In merging purpose branch.
Therefore, code review system of the invention receives code push request by request receiving module M100, by facing
When the corresponding interim branch of branch creation module M200 creation code, and by modification item creation module M300 according to temporarily dividing
Branch and original branch relatively obtain the modification item that can be evaluated in advance, evaluate module M400 by modification item and comment modification item
It examines, after modification item evaluation passes through, just code is merged into the branch of distance host by merging branch module M500, for
Not by the modification item of evaluation, corresponding code can not be then merged into the branch of distance host, so as to realize
Branch is remerged after can also evaluating to code on Gitlab platform, second-rate code is avoided to store to code storehouse
In library.
In this embodiment, the modification item creation module M300 traverses the difference of described two branches, creates multiple repair
Change item, the difference including traversing described two branches creates modification item change for each commit.The modification item creation
Module M300 traverses the difference of described two branches, after creating multiple modification items, is also used to delete the interim branch.
In this embodiment, the request receiving module M100 receives code and pushes to after the request of distance host,
It is also used to judge the type of the request, it is described to ask if the request type is the first request type (Change mode)
Ask receiving module that the request is sent to interim branch's creation module, if the request type is the second request type
(Merge Request mode), then the request is sent to the merging branch module by the request receiving module.
A specific embodiment of the invention is described below, more clearly to describe code review method of the invention and be
System.But invention is not limited thereto.
(1) corresponding refs/for branch is pushed to after code change.Such as the change done in master branch, just transport
Row git push origin HEAD:refs/for/master.Master is branch name, and origin is distance host title.
(2) after server receives request, refs/for/maste branch (interim branch) can be created, refs/ is compared
The difference of for/master and master (merging purpose branch on distance host), and these differences are traversed, it is each
Commit creates a change.
(3) after the completion of change creation, refs/for/master branch, such push operation are deleted on server
Just complete.
(4) commit corresponding to change is merged into master branch after evaluation by change.
If Fig. 3 and Fig. 4 are using after code review method and system of the invention, the interface of code administration platform is illustrated
Figure.In Fig. 3, the part that box outlines can choose the mode of specific code upload.Wherein SSH and HTTP is selection Merge
Request mode and the two ways for selecting SSH agreement and http protocol respectively, SSH with commit-msg and HTTP
With commit-msg is the two ways for selecting Change mode and selecting SSH agreement and http protocol respectively.Such as Fig. 4 institute
Show, two options of Merge Requests and Changes are shown on the left of interface, two options is clicked on, can distinguish
Check the historical record of Merge Request and Change two ways.
The embodiment of the present invention also provides a kind of code review equipment, including processor;Memory, wherein being stored with the place
Manage the executable instruction of device;Wherein, the processor is configured to execute the code via the executable instruction is executed
The step of reviewing method.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as " circuit ", " module " or " platform ".
Therefore, code review equipment of the invention at runtime, creates the corresponding interim branch of code, and according to interim
Branch and original branch relatively obtain the modification item that can be evaluated in advance, evaluate to modification item, pass through in modification item evaluation
Afterwards, just code is merged into the branch of distance host, for by the modification item of evaluation, corresponding code can not then not closed
And in the branch of distance host, so as to realize code can also be evaluated on Gitlab platform after remerge
Branch avoids second-rate code from storing into code storage.
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 5.The electronics that Fig. 5 is shown
Equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including storage
Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610
Row, so that the processing unit 610 executes described in this specification above-mentioned electronic prescription circulation processing method part according to this
The step of inventing various illustrative embodiments.For example, the processing unit 610 can execute step as shown in fig. 1.
The storage unit 620 may include the readable medium of volatile memory cell form, such as random access memory
Unit (RAM) 6201 and/or cache memory unit 6202 can further include read-only memory unit (ROM) 6203.
The storage unit 620 can also include program/practical work with one group of (at least one) program module 6205
Tool 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage platform etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, described program is performed
Described in Shi Shixian the step of code review method.In some possible embodiments, various aspects of the invention can be with
It is embodied as a kind of form of program product comprising program code, it is described when described program product is run on the terminal device
Program code is for making the terminal device execute root described in this specification above-mentioned electronic prescription circulation processing method part
The step of according to various illustrative embodiments of the invention.
Refering to what is shown in Fig. 6, describing the program product for realizing the above method of embodiment according to the present invention
800, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism
Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing
Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet
Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
Code review method, system, equipment and storage medium provided by the present invention have the advantage that
The present invention relatively obtains evaluating in advance by creating interim branch according to interim branch and original branch
Modification item, modification item evaluation pass through after, just code is merged into the branch of distance host, so as to realize
Branch is remerged after can also evaluating to code on Gitlab platform, second-rate code is avoided to store to code storehouse
In library, and only need that the evaluation mode of pre-commit and post-commit can be provided simultaneously using a platform, it is full
The demand of sufficient different application scene.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.
Claims (10)
1. a kind of code review method, which is characterized in that described method includes following steps:
The request that code pushes to distance host is received, is merged in the code requested including request push, distance host
The title of purpose branch;
According to the interim branch of code establishing of the request push;
Compare the interim branch and merge purpose branch, obtains the difference of Liang Ge branch;
The difference for traversing described two branches creates multiple modification items;
Each modification item is evaluated, code corresponding to the modification item that passes through of evaluation is merged into the distance host
In merging purpose branch.
2. code review method according to claim 1, which is characterized in that the difference of the described two branches of traversal,
Multiple modification items are created, the difference including traversing described two branches creates modification item for each commit.
3. code review method according to claim 1, which is characterized in that the difference of the described two branches of traversal,
After creating multiple modification items, further include the steps that deleting the interim branch.
4. code review method according to claim 1, which is characterized in that the code that receives pushes to distance host
Request and according to it is described request push the interim branch of code establishing between, further include following steps:
Judge that the request belongs to the first request type or the second request type;
If the request belongs to the first request type, according to the interim branch of code establishing of the request push;
If the request belongs to the second request type, the code of request push is merged into the merging in the distance host
Purpose branch.
5. code review method according to claim 4, which is characterized in that the method based on Gitlab platform realize,
Second request type is to merge request type.
6. a kind of code review system characterized by comprising
Request receiving module, pushes to the request of distance host for receiving code, the request include request push code,
Merge the title of purpose branch in distance host;
Interim branch creation module, for the interim branch of code establishing according to the request push;
Modification item creation module for the interim branch and merges purpose branch, obtains the difference of Liang Ge branch, traverse
The difference of described two branches creates multiple modification items;
Modification item evaluates module, for evaluating to each modification item;
Merge branch module, code corresponding to the modification item for passing through evaluation is merged into the merging in the distance host
Purpose branch.
7. code review system according to claim 6, which is characterized in that the modification item creation module traversal described two
The difference of a branch creates multiple modification items, the difference including traversing described two branches, for each commit creation modification
?.
8. code review system according to claim 6, which is characterized in that the request receiving module receives code and pushes away
It send to the request of distance host, is also used to judge the type of the request, if the request type is the first request class
Type, then the request is sent to interim branch's creation module by the request receiving module, if the request type is
Second request type, then the request is sent to the merging branch module by the request receiving module.
9. a kind of code review equipment characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to come described in any one of perform claim requirement 1 to 5 via the execution executable instruction
Code review method the step of.
10. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed realization power
Benefit require any one of 1 to 5 described in code review method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910148740.2A CN109901876A (en) | 2019-02-28 | 2019-02-28 | Code review method, system, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910148740.2A CN109901876A (en) | 2019-02-28 | 2019-02-28 | Code review method, system, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109901876A true CN109901876A (en) | 2019-06-18 |
Family
ID=66945871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910148740.2A Pending CN109901876A (en) | 2019-02-28 | 2019-02-28 | Code review method, system, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109901876A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968301A (en) * | 2019-12-17 | 2020-04-07 | 刘庆 | Code review creation method based on code version control native client and command |
CN111240692A (en) * | 2020-01-17 | 2020-06-05 | 北京简单一点科技有限公司 | Code branch conflict early warning method |
CN111831271A (en) * | 2020-07-20 | 2020-10-27 | 北京简单一点科技有限公司 | Git code review system and method supporting simulation pre-integration assembly line |
CN111857802A (en) * | 2020-07-15 | 2020-10-30 | 上海云轴信息科技有限公司 | Method, system and equipment for merging request group integration |
CN112445514A (en) * | 2019-09-05 | 2021-03-05 | 腾讯科技(深圳)有限公司 | Code evaluation method and related product |
CN115374762A (en) * | 2022-10-26 | 2022-11-22 | 深圳市明源云采购科技有限公司 | VS code-based code template sharing method and device, electronic equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677831A (en) * | 2013-12-12 | 2014-03-26 | 迈普通信技术股份有限公司 | On-line code inspection system and method |
CN105404519A (en) * | 2015-12-07 | 2016-03-16 | 青岛海信电器股份有限公司 | Version control method, code testing method and system |
CN105739968A (en) * | 2016-01-20 | 2016-07-06 | 北京京东尚科信息技术有限公司 | Method and device for reviewing update content based on distributed version control system Git |
CN105868099A (en) * | 2015-12-01 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Branch submit difference detection method and device |
CN107391968A (en) * | 2017-08-18 | 2017-11-24 | 武汉斗鱼网络科技有限公司 | A kind of method and device for realizing privately owned pod issues control of authority |
CN107688541A (en) * | 2017-09-15 | 2018-02-13 | 广州酷狗计算机科技有限公司 | File reviewing method, device, server and computer-readable recording medium |
CN107783780A (en) * | 2017-11-21 | 2018-03-09 | 中国银行股份有限公司 | A kind of Code Review method and system |
-
2019
- 2019-02-28 CN CN201910148740.2A patent/CN109901876A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677831A (en) * | 2013-12-12 | 2014-03-26 | 迈普通信技术股份有限公司 | On-line code inspection system and method |
CN105868099A (en) * | 2015-12-01 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Branch submit difference detection method and device |
CN105404519A (en) * | 2015-12-07 | 2016-03-16 | 青岛海信电器股份有限公司 | Version control method, code testing method and system |
CN105739968A (en) * | 2016-01-20 | 2016-07-06 | 北京京东尚科信息技术有限公司 | Method and device for reviewing update content based on distributed version control system Git |
CN107391968A (en) * | 2017-08-18 | 2017-11-24 | 武汉斗鱼网络科技有限公司 | A kind of method and device for realizing privately owned pod issues control of authority |
CN107688541A (en) * | 2017-09-15 | 2018-02-13 | 广州酷狗计算机科技有限公司 | File reviewing method, device, server and computer-readable recording medium |
CN107783780A (en) * | 2017-11-21 | 2018-03-09 | 中国银行股份有限公司 | A kind of Code Review method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112445514A (en) * | 2019-09-05 | 2021-03-05 | 腾讯科技(深圳)有限公司 | Code evaluation method and related product |
CN110968301A (en) * | 2019-12-17 | 2020-04-07 | 刘庆 | Code review creation method based on code version control native client and command |
CN111240692A (en) * | 2020-01-17 | 2020-06-05 | 北京简单一点科技有限公司 | Code branch conflict early warning method |
CN111240692B (en) * | 2020-01-17 | 2023-05-26 | 北京简单一点科技有限公司 | Code branch conflict early warning method |
CN111857802A (en) * | 2020-07-15 | 2020-10-30 | 上海云轴信息科技有限公司 | Method, system and equipment for merging request group integration |
CN111831271A (en) * | 2020-07-20 | 2020-10-27 | 北京简单一点科技有限公司 | Git code review system and method supporting simulation pre-integration assembly line |
CN111831271B (en) * | 2020-07-20 | 2023-07-07 | 北京简单一点科技有限公司 | Git code review system supporting simulation pre-assembly pipeline and method thereof |
CN115374762A (en) * | 2022-10-26 | 2022-11-22 | 深圳市明源云采购科技有限公司 | VS code-based code template sharing method and device, electronic equipment and medium |
CN115374762B (en) * | 2022-10-26 | 2023-05-26 | 深圳市明源云采购科技有限公司 | Code template sharing method and device based on VS code, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109901876A (en) | Code review method, system, equipment and storage medium | |
US8667456B1 (en) | Cloud-based indexing for integrated development environments | |
US20160306627A1 (en) | Determining errors and warnings corresponding to a source code revision | |
US8433687B1 (en) | Off-line indexing for client-based software development tools | |
CN107491329A (en) | Docker mirror images construction method, equipment, storage medium and electronic installation | |
CN106559438A (en) | A kind of program method for uploading and device based on objective network platform | |
CN111241203B (en) | Hive data warehouse synchronization method, system, equipment and storage medium | |
CN102855131A (en) | Device and method for software configuration management | |
US20160357789A1 (en) | Repairing corrupted references | |
CN107733894B (en) | Comparison method, system, equipment and storage medium of logical interface message | |
CN104714941A (en) | Method and system augmenting bussiness process execution using natural language processing | |
CN109299177A (en) | Data pick-up method, apparatus, storage medium and electronic equipment | |
CN108090043A (en) | Error correction report processing method, device and readable medium based on artificial intelligence | |
CN109951553B (en) | Data processing method, system, electronic device and computer readable storage medium | |
CN109542966A (en) | Data fusion method, device, electronic equipment and computer-readable medium | |
CN113360144B (en) | Auxiliary processing method, device, storage medium and program product for software development | |
JP2012113706A (en) | Computer-implemented method, computer program, and data processing system for optimizing database query | |
US20190243855A1 (en) | Unbounded list processing | |
CN107730352A (en) | Order based reminding method, system, storage medium, electronic installation and server | |
CN109284126A (en) | Class libraries automatic update method, device, electronic equipment, storage medium | |
CN109670972A (en) | Core protects method, apparatus, electronic equipment, storage medium | |
CN113590172A (en) | Code file publishing method, device, equipment and storage medium | |
CN108959454A (en) | A kind of prompt clause designation method, device, equipment and storage medium | |
US20150095094A1 (en) | Node-pair process scope definition adaptation | |
CN112445514A (en) | Code evaluation method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190618 |