Method and device for code management
A management method and management device technology, applied in the software field, can solve problems such as troublesome, unreliable, and missing modification of branch code, and achieve the effects of improving efficiency and reliability, simplifying modification process, and realizing automatic modification.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It is a flow chart of the code management method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the distributed version control system git or the command line tool repo manages the code server. This method can be implemented by the code management device To execute, the device can be implemented by software and / or hardware, and the device can be integrated in any code server. The method includes:
[0024] S101. Detect codes, where the codes include main codes and at least one branch code.
[0025] The branch code is based on the main code and has been adaptively modified for specific application requirements. The branch code has the same or similar common code as the main code, and usually there is more than one branch code. The purpose of detecting the main code or branch code is to find errors in the code. The errors in the code can be found when the code runs incorrectly, or can be found by the code ...
Embodiment 2
[0036] figure 2 It is a flow chart of the code management method provided by Embodiment 2 of the present invention. Embodiment 2 is based on the above-mentioned embodiment. After obtaining the modification of the backbone code by the manager of the backbone code for the error code and error type After the result, adding an error number for the error code and error type and adding the error number to the error table of the trunk code, after updating the at least one branch code according to the modification result of the trunk code, If the update of the at least one branch code is successful, add the error number to the error table of the corresponding branch code; if the update of the at least one branch code fails, cancel the update of the corresponding branch code.
[0037] The code management method provided in this embodiment includes the following steps: step S201, step S202, step S203, step S204, step S205, step S206 and step S207. Wherein, step S201 , step S202 , step...
Embodiment 3
[0052] image 3 It is the flow chart of the code management method provided by the third embodiment of the present invention. The third embodiment is based on the above-mentioned embodiments, and at the end, the update result of the at least one branch code is sent to the corresponding branch code management personnel.
[0053] The code management method provided by this embodiment includes the following steps: step S301, step S302, step S303, step S304, step S305, step S306, step S307 and step S308. Wherein, step S301, step S302, step S303, step S304, step S305, step S306 and step S307 are respectively the same as step S201, step S202, step S203, step S204, step S205, step S206 and step S207 in the second embodiment , the same steps will not be repeated.
[0054] S301. Detect codes, where the codes include main codes and at least one branch code.
[0055] S302. If an error code and an error type are detected, confirm whether the error code is a common code of the main code ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com