CN114706567A - Method and device for submitting code associated PM system task progress through gitlab - Google Patents
Method and device for submitting code associated PM system task progress through gitlab Download PDFInfo
- Publication number
- CN114706567A CN114706567A CN202210636250.9A CN202210636250A CN114706567A CN 114706567 A CN114706567 A CN 114706567A CN 202210636250 A CN202210636250 A CN 202210636250A CN 114706567 A CN114706567 A CN 114706567A
- Authority
- CN
- China
- Prior art keywords
- information
- gitlab
- progress
- commit
- hook function
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Operations Research (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Quality & Reliability (AREA)
- Marketing (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method and a device for submitting code associated PM system task progress through gitlab, wherein the method comprises the following steps: commit information is carried when the code is submitted through the gitlab; the commit information triggers a hook function of the gitlab; the hook function analyzes the commit information and extracts key parameters in the commit information, wherein the key parameters comprise PM single numbers and characteristic information; and the hook function calls an SDK tool of the PM system and updates the associated information corresponding to the PM single number according to the key parameter. The device uses the method. The invention ensures that developers do not need to spend extra time to manually update the PM single field after focusing on the normalization of the submission of the code, thereby improving the working efficiency. Meanwhile, the PM system can judge efficiency problems and estimate the prejudgment capability of the added tasks, and the accuracy of task allocation decision is improved.
Description
Technical Field
The invention relates to the technical field of software testing, in particular to a method and a device for submitting code associated PM system task progress through gitlab.
Background
In daily Sprint iteration, baoliwei research and development department staff claim development work tasks based on a PM list of an internal PM system, and in each stage (starting, proceeding and finishing) of the development tasks, besides the need of submitting and integrating work codes in gitlab, the work progress and state of the PM list need to be synchronously and manually maintained and updated, and the work progress feedback mode has the following problems:
1. besides code submission, manual maintenance and updating of PM list state, progress and labor hour fields are needed, a PM list number needs to be inquired in a browser by research and development personnel, labor hours need to be calculated by the research and development personnel independently, and extra time is occupied by the development personnel;
2. if the developer forgets or does not update the progress and the state of the PM in real time, the development task progress and the working efficiency of the developer cannot be accurately counted, and the risk of the project cannot be estimated in time.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method and a device for submitting code associated PM system task progress through gitlab, and the defects that in the prior art, the PM single progress and state need to be manually maintained and updated, so that extra developer time is occupied, and project risks are increased are overcome.
The technical scheme of the invention is realized as follows: a method for submitting code associated PM system task progress through gitlab comprises the following steps:
commit information is carried when the code is submitted through the gitlab;
the commit information triggers a hook function of the gitlab;
the hook function analyzes the commit information and extracts key parameters in the commit information, wherein the key parameters comprise PM single numbers and characteristic information;
and the hook function calls an SDK tool of the PM system and updates the associated information corresponding to the PM single number according to the key parameter.
In one embodiment, the characteristic information includes progress information of the PM number.
In one embodiment, the step of calling the SDK tool of the PM system by the hook function and updating the associated information corresponding to the PM single number according to the key parameter includes:
integrating the SDK tool of the PM system into the performance system interface;
when the hook function analyzes a legal parameter, sending a calling request to an efficiency system interface;
and calling an SDK tool inside the energy efficiency system interface, operating the jira data, and updating the associated information corresponding to the PM single number according to the key parameter.
In one embodiment, the step of updating the associated information corresponding to the PM single number according to the key parameter includes:
confirming the state information of the PM single number according to the progress information in the characteristic information;
and confirming the consumed labor hour information of the PM single number according to the progress information in the characteristic information and the estimated labor hour in the associated information.
In one embodiment, after the step of confirming the consumed labor-hour information of the PM sheet number according to the estimated labor-hour in the progress information and the associated information in the feature information, the method further includes:
and sending the PM single number and the associated information to a working hour efficiency system, and controlling the working hour efficiency system to update the visual model corresponding to the PM single number.
In one embodiment, before the step of confirming the state information of the PM number according to the progress information in the feature information, the method further includes:
splitting parameters according to the fields of the key parameters;
and at least determining the PM single number and the progress information according to the parameter format of each split field.
The invention also provides a device for submitting code associated PM system task progress through gitlab, which comprises:
the sending module is used for carrying commit information when submitting the codes through the gitlab;
the trigger module is used for controlling the commit information to trigger a hook function of the gitlab;
the extraction module is used for controlling the hook function to analyze the commit information and extracting key parameters in the commit information, wherein the key parameters comprise PM single numbers and characteristic information;
and the updating module is used for controlling the hook function to call an SDK tool of the PM system and updating the associated information corresponding to the PM single number according to the key parameter.
In one embodiment, the update module is specifically configured to:
integrating the SDK tool of the PM system into the performance system interface;
when the hook function analyzes a legal parameter, sending a calling request to an efficiency system interface;
and calling an SDK tool inside the energy efficiency system interface, operating the jira data, and updating the associated information corresponding to the PM single number according to the key parameter.
The invention also provides computer equipment which comprises a memory, a processor and a computer program stored on the memory and operated on the processor, wherein the processor executes the computer program to realize the method for submitting the code to be associated with the PM system task progress through the gitlab.
The invention also provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for submitting code associated PM system task progress through gitlab is realized.
According to the embodiment of the invention, commit information is carried when the gitlab submits the code, the commit information contains key parameters including the PM single number and the characteristic information, the commit information triggers a hook function of the gitlab, the hook function analyzes the commit information, extracts the key parameters in the commit information, calls an SDK tool of the PM system, and the SDK tool updates the associated information corresponding to the PM single number according to the key parameters. The developer does not need to spend extra time to manually update the PM single field after being concentrated on the normalization of the submission of the code, the working efficiency is improved, and the submission experience of the developer is not influenced. Meanwhile, the state, the progress and the consumed working hours of the PM list are automatically and accurately updated, so that the working efficiency of all developers can be fed back more truly, a manager can conveniently see the global available working hours, the PM system can judge the efficiency problem and estimate the prejudgment capability of the added task, and the correctness of the task allocation decision is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for submitting code associated with a task progress of a PM system through a gitlab according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for submitting code associated PM system task progress through a gitlab according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a preferred embodiment of S206 in a second example of the present invention;
fig. 4 is a block diagram of a device for submitting codes to associate a task progress of a PM system according to a third embodiment of the present invention;
fig. 5 is a schematic diagram of the internal structure of a computer according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is to be understood that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and well-known modules, units and their connections, links, communications or operations with each other are not shown or described in detail. Furthermore, the described features, architectures, or functions can be combined in any manner in one or more implementations. It will be understood by those skilled in the art that the various embodiments described below are illustrative only and are not intended to limit the scope of the present invention. It will also be readily understood that the modules or units or processes of the embodiments described herein and illustrated in the figures can be combined and designed in a wide variety of different configurations. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment:
referring to fig. 1, an embodiment of the present invention discloses a method for submitting a code associated with a task progress of a PM system through a gitlab, including:
and S11, carrying commit information when submitting the codes through the gitlab.
gitlab is the code hosting center privatized by the baoliwei product technology team under the flag of Guangzhou Yi Fang information technology corporation. Developers typically carry commit information when submitting code. In the present embodiment, the commit information contains key parameters including the PM number and the feature information. As a preferred but not limiting aspect, the characteristic information typically includes progress information of the PM sheet number, which is embodied in the form of a percentage.
As a specific exemplary scheme but not limitation, the key parameter in the present embodiment may be "git commit-m" PLIVE-8952-10% this function development completes the basic configuration ".
S12, the commit information triggers a hook function of the gitlab.
To ensure smooth update of the subsequent associated information, as a specific exemplary scheme, not limited to this, the commit information triggers the hook function of the gitlab and performs the subsequent operation only when the key parameter includes the progress information, and the commit information generation operation is performed when the key parameter does not include the progress information.
And S13, analyzing the commit information by using a hook function, and extracting key parameters in the commit information, wherein the key parameters comprise PM single numbers and characteristic information.
And S14, the hook function calls an SDK tool of the PM system, and updates the associated information corresponding to the PM single number according to the key parameter.
The associated information of the embodiment includes state information, PM link information, description field information, attributed Sprint information, handler information, and update time information, and the SDK tool may determine one or more of the state information, PM link information, description field information, attributed Sprint information, and handler information according to the feature information, and perform an automatic update operation, and the process does not require human intervention, and is simple and convenient.
According to the embodiment of the invention, commit information is carried when the gitlab submits the code, the commit information contains key parameters including the PM single number and the characteristic information, the commit information triggers a hook function of the gitlab, the hook function analyzes the commit information, extracts the key parameters in the commit information, calls an SDK tool of the PM system, and the SDK tool updates the associated information corresponding to the PM single number according to the key parameters. The developer does not need to spend extra time to manually update the PM single field after being concentrated on the normalization of the submission of the code, the working efficiency is improved, and the submission experience of the developer is not influenced. Meanwhile, the state, the progress and the consumed working hours of the PM list are automatically and accurately updated, so that the working efficiency of all developers can be fed back more truly, a manager can conveniently see the global available working hours, the PM system can judge the efficiency problem and estimate the prejudgment capability of the added task, and the correctness of the task allocation decision is improved.
Second embodiment:
referring to fig. 2 and fig. 3, another method for submitting codes and associating task progress of a PM system through a gitlab is disclosed in the embodiments of the present invention. The method comprises the following steps:
s201, commit information is carried when the code is submitted through the gitlab.
And S202, the commit information triggers a hook function of the gitlab.
S203, the hook function analyzes the commit information and extracts key parameters in the commit information, wherein the key parameters comprise PM single numbers and feature information.
S201-S203 are the same as the corresponding steps of the first embodiment, and are not described again here.
S204, integrating the SDK tool of the PM system into the performance system interface.
And S205, when the hook function analyzes the legal parameters, sending a call request to the efficiency system interface.
And S206, calling an SDK tool inside the energy efficiency system interface, operating the jira data, and updating the associated information corresponding to the PM single number according to the key parameter.
The associated information of this embodiment includes status information, PM link information, description field information, affiliated Sprint information, handler information, and update time information. The method for updating the associated information corresponding to the PM single number according to the key parameter in this step specifically includes S261-S264, in which:
s2061, splitting the parameters according to the fields of the key parameters.
Taking the key parameter "git commit-m" PLIVE-8952-10% this function development completion basic configuration "of the first embodiment as an example, the above key parameters are split into" PLIVE-8952 "," 10% "and" this function development completion basic configuration "according to the fields. The specific splitting manner may be constrained by a preset rule, and this embodiment is not limited.
S2062, at least determining the PM single number and the progress information according to the parameter format of each split field.
Corresponding to S2061, the "play-8952" is the PM number, "10%" is the progress information, and "this function development completion basic configuration" is the description field information. Similarly, the classification manner of the parameter format may be constrained by a preset rule, and the embodiment is not limited.
S2063, confirming the state information of the PM single number according to the progress information in the characteristic information.
In the present embodiment, the status information includes two types, i.e., "development completed" and "in progress", and when the progress information is less than 100%, the status information is determined to be "in progress", and when the progress information is equal to 100%, the status information is determined to be "development completed".
And S2064, confirming the consumed working hour information of the PM single number according to the progress information in the characteristic information and the estimated working hours in the related information.
When each PM sheet is manually created, the project manager sets each estimated working hour, and the step can automatically obtain the consumed working hour information of the PM sheet number by multiplying the estimated working hour by the progress information in the characteristic information.
And S207, sending the PM single number and the associated information to a man-hour efficiency system, and controlling the man-hour efficiency system to update the visual model corresponding to the PM single number.
In the step, the PM single number and the updated associated information are sent to the working hour efficiency system, so that the working hour efficiency system can update the visual model corresponding to the PM single number, the visual model can be displayed in a chart or animation mode, on one hand, data tracking and analysis are facilitated, on the other hand, the working efficiency of all developers is fed back more truly, a manager can see the global available working hours conveniently, the PM system can judge efficiency problems and estimate the prejudgment capability of added tasks, and the correctness of task allocation decision is improved.
The embodiment of the invention also provides a method for quickly inquiring the state of adding the PM single task on the IDE interface, which solves the defects that the submission of codes needs to be switched back and forth between a browser and the IDE, time and labor are wasted, and the progress of a project is influenced in the prior art. Referring to fig. 2, the method further includes steps S208-S215 before S201. Wherein:
and S208, opening a terminal tool on an operation interface of the IDE, wherein the terminal tool calls the environment variable and the key string information of the developer machine.
In this embodiment, the terminal tool includes a plug-in or terminal command line for direct implantation into an interface of an Integrated Development Environment (IDE), and the terminal tool of this embodiment is a self-developed one-key-installed PCJ terminal tool. When the terminal tool runs, the environment variable and the key string information PM _ USER and PM _ Password of the developer machine are automatically obtained.
And S209, performing identity login and authority giving operation according to the environment variable and the key string information.
The environment variable and key string information of this embodiment are used to obtain the identity and rights of the current developer and the corresponding IDE environment.
And S210, receiving the global information query operation of the user and acquiring the authority information corresponding to the user.
As a specific solution, but not limited to, the instructions for querying the global information include "pm list- -username xxxx" and "pm key xxx". The global information comprises information of all PM lists in the PM system, and when a user executes global information query operation, the query authority corresponding to the user is obtained.
And S211, pushing the global information query result conforming to the user authority.
And pushing a PM service list corresponding to the username and meeting the authority for the user relative to the global information query command of the 'PM list-username xxxx', and pushing information to which the precise PM list belongs for the user relative to the global information query command of the 'PM key xxx'. The steps can greatly facilitate managers to quickly check the task state, the task quantity and the task progress of the PM list in the team member, so that the task risk and the operation distribution are integrally controlled.
S212, inputting a query instruction in an instruction input window of the terminal tool, wherein the query instruction is at least used for generating a PM service list associated with the login identity, and the PM service list comprises a PM single number and associated information.
In this embodiment, as a specific solution but not limited to, the query instruction includes "pm list". In general, the PM service list in this step is a PM service list of a developer corresponding to key string information.
And S213, inputting a screening instruction in an instruction input window of the terminal tool, wherein the screening instruction object comprises state information, description field information, the Sprint information and the information of a processor.
The step also provides a further fuzzy search method, and the user can further screen the appearing PM service list, so that the user can quickly filter the PM list required to be searched according to the description in the impression. As a specific solution, but not limited thereto, the PM service list including "cloud live broadcast automation" in the description field may be filtered by inputting a "PM search cloud live broadcast automation" instruction.
S214, according to the screening conditions, screening the PM single number and the associated information corresponding to the conditions in the generated service list.
And S215, receiving user operation, and adding the corresponding PM single number and the associated information to the commit information of the gitlab.
In this embodiment, the user may select a PM sheet number corresponding to the development code and associated information to be added, which typically includes progress information. The IDE automatically identifies the selected object of the user, and adds the PM single number and the corresponding associated information or the progress information to the commit information of the gitlab, so that the operation is simple and convenient.
In the scheme S208-S215, a terminal tool is integrated on an operation interface of an IDE (integrated development environment), the environment variable and key string information of a developer machine are called through the terminal tool, identity login and authority giving operation are executed according to the environment variable and the key string information, a developer can directly input a query instruction on an instruction input window of the terminal tool, the query instruction is at least used for generating a PM (personal computer) service list associated with login identity, the PM service list comprises a PM single number and associated information, query operation of the associated PM single number and progress information when a code is submitted can be directly completed on the IDE interface, pain points of switching of the developer before multiple applications in the process of submitting the code are reduced, meaningless operation time is avoided, submission fluency is improved, and production efficiency of the developer is improved. Meanwhile, the embodiment of the invention adds the corresponding PM single number and the associated information to the commit information of the gitlab by receiving the user operation, thereby increasing the association between the IDE and the gitlab, further improving the fluency in the code submitting process, improving the use experience of developers and ensuring the project progress.
The third embodiment:
referring to fig. 4, the present invention further provides a device 100 for submitting code associated with a task progress of a PM system through a gitlab, including a sending module 110, a triggering module 120, an extracting module 130, and an updating module 140, wherein:
the sending module 110 is connected with the triggering module 120 and is used for carrying commit information when submitting codes through the gitlab;
the trigger module 120 is connected with the extraction module 130 and is used for controlling the commit information to trigger a hook function of gitlab;
the extracting module 130 is connected with the updating module 140 and is used for controlling the hook function to analyze the commit information and extracting key parameters in the commit information, wherein the key parameters comprise PM single numbers and feature information;
and the updating module 140 is configured to control the hook function to call an SDK tool of the PM system, and update the associated information corresponding to the PM single number according to the key parameter.
As a preferred solution, but not limited to, the update module 140 is specifically configured to:
integrating the SDK tool of the PM system into the performance system interface;
when the hook function analyzes legal parameters, sending a calling request to an efficiency system interface;
and calling an SDK tool inside the energy efficiency system interface, operating the jira data, and updating the associated information corresponding to the PM single number according to the key parameter.
The modules of this embodiment correspond to the steps of the two method embodiments one-to-one, and are not described here.
According to the embodiment of the invention, commit information is carried when the gitlab submits the code, the commit information contains key parameters including the PM single number and the characteristic information, the commit information triggers a hook function of the gitlab, the hook function analyzes the commit information, extracts the key parameters in the commit information, calls an SDK tool of the PM system, and updates the associated information corresponding to the PM single number according to the key parameters. The developer does not need to spend extra time to manually update the PM single field after being concentrated on the normalization of the submission of the code, the working efficiency is improved, and the submission experience of the developer is not influenced. Meanwhile, the state, the progress and the consumed working hours of the PM list are automatically and accurately updated, so that the working efficiency of all developers can be fed back more truly, a manager can conveniently see the global available working hours, the PM system can judge the efficiency problem and estimate the prejudgment capability of the added task, and the correctness of the task allocation decision is improved.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The embodiment of the invention also provides a computer storage medium, wherein a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the method for submitting codes and associating the task progress of the PM system through the gitlab is realized.
It will be understood by those skilled in the art that all or part of the processes in the methods according to the above embodiments may be implemented by instructing relevant hardware through a computer program, and the computer program may be stored in a non-volatile computer-readable storage medium, and when executed, the computer program may include the processes according to the above embodiments of the method for submitting codes through gitlab to associate the task progress of the PM system. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a RAM, a ROM, a magnetic or optical disk, or various other media that can store program code.
Corresponding to the computer storage medium, in one embodiment, a computer device is further provided, where the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for submitting code to associate task progress of the PM system through gitlab as in the above embodiments.
The computer device may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a method of correlating PM system task progress through gitlab submission code. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
According to the embodiment of the invention, commit information is carried when the gitlab submits the code, the commit information contains key parameters including the PM single number and the characteristic information, the commit information triggers a hook function of the gitlab, the hook function analyzes the commit information, extracts the key parameters in the commit information, calls an SDK tool of the PM system, and the SDK tool updates the associated information corresponding to the PM single number according to the key parameters. The developer does not need to spend extra time to manually update the PM single field after being concentrated on the normalization of the submission of the code, the working efficiency is improved, and the submission experience of the developer is not influenced. Meanwhile, the state, the progress and the consumed working hours of the PM list are automatically and accurately updated, so that the working efficiency of all developers can be fed back more truly, a manager can conveniently see the global available working hours, the PM system can judge the efficiency problem and estimate the prejudgment capability of the added task, and the correctness of the task allocation decision is improved.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent should be subject to the appended claims.
Claims (10)
1. A method for submitting code associated PM system task progress through a gitlab is characterized by comprising the following steps:
commit information is carried when the code is submitted through the gitlab;
the commit information triggers a hook function of the gitlab;
the hook function analyzes the commit information and extracts key parameters in the commit information, wherein the key parameters comprise PM single numbers and characteristic information;
and the hook function calls an SDK tool of the PM system and updates the associated information corresponding to the PM single number according to the key parameter.
2. The method of claim 1, wherein the characteristic information includes progress information of a PM number.
3. The method of claim 2, wherein the hook function calls an SDK tool of the PM system, and the step of updating the association information corresponding to the PM single number according to the key parameter comprises:
integrating the SDK tool of the PM system into the performance system interface;
when the hook function analyzes a legal parameter, sending a calling request to an efficiency system interface;
and calling an SDK tool inside the energy efficiency system interface, operating the jira data, and updating the associated information corresponding to the PM single number according to the key parameter.
4. The method according to claim 3, wherein the step of updating the associated information corresponding to the PM single number according to the key parameter comprises:
confirming the state information of the PM single number according to the progress information in the characteristic information;
and confirming the consumed labor hour information of the PM single number according to the progress information in the characteristic information and the estimated labor hour in the associated information.
5. The method according to claim 4, wherein after the step of confirming the consumed man-hour information of the PM number based on the progress information in the characteristic information and the estimated man-hour in the associated information, further comprising:
and sending the PM single number and the associated information to a working hour efficiency system, and controlling the working hour efficiency system to update the visual model corresponding to the PM single number.
6. The method of claim 5, wherein the step of confirming the status information of the PM number according to the progress information in the characteristic information is preceded by the step of:
splitting parameters according to the fields of the key parameters;
and at least determining the PM single number and the progress information according to the parameter format of each split field.
7. An apparatus for submitting code associated PM system task progress through gitlab, comprising:
the sending module is used for carrying commit information when submitting the codes through the gitlab;
the trigger module is used for controlling the commit information to trigger a hook function of the gitlab;
the extraction module is used for controlling the hook function to analyze the commit information and extracting key parameters in the commit information, wherein the key parameters comprise PM single numbers and characteristic information;
and the updating module is used for controlling the hook function to call an SDK tool of the PM system and updating the associated information corresponding to the PM single number according to the key parameter.
8. The apparatus of claim 7, wherein the update module is specifically configured to:
integrating the SDK tool of the PM system into the performance system interface;
when the hook function analyzes a legal parameter, sending a calling request to an efficiency system interface;
and calling an SDK tool in the energy efficiency system interface, operating the jira data, and updating the associated information corresponding to the PM single number according to the key parameter.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor when executing the computer program implements a method of associating progress of a PM system task by submitting code through a gitlab as claimed in any one of claims 1 to 6.
10. A computer storage medium on which a computer program is stored, which program, when executed by a processor, carries out a method of associating progress of a task of a PM system by submitting code through a gitlab according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210636250.9A CN114706567B (en) | 2022-06-07 | 2022-06-07 | Method and device for submitting code associated PM system task progress through gitlab |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210636250.9A CN114706567B (en) | 2022-06-07 | 2022-06-07 | Method and device for submitting code associated PM system task progress through gitlab |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114706567A true CN114706567A (en) | 2022-07-05 |
CN114706567B CN114706567B (en) | 2022-09-20 |
Family
ID=82178152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210636250.9A Active CN114706567B (en) | 2022-06-07 | 2022-06-07 | Method and device for submitting code associated PM system task progress through gitlab |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114706567B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105243490A (en) * | 2015-10-12 | 2016-01-13 | 湖南快乐阳光互动娱乐传媒有限公司 | KPI statistical system and KPI statistical method |
CN107025112A (en) * | 2017-04-10 | 2017-08-08 | 丹露成都网络技术有限公司 | A kind of supervision and tracking based on git hooks and bug management tool |
US20170364354A1 (en) * | 2016-06-15 | 2017-12-21 | Red Hat Israel, Ltd. | Committed program-code management |
CN110457049A (en) * | 2019-06-27 | 2019-11-15 | 北京奇艺世纪科技有限公司 | Realize method, apparatus, electronic equipment and the storage medium of plug-in unit automation |
CN113220279A (en) * | 2020-01-21 | 2021-08-06 | 华为技术有限公司 | Code index management method, device, equipment and medium |
CN114445042A (en) * | 2022-01-25 | 2022-05-06 | 海宁奕斯伟集成电路设计有限公司 | Project control method, project control device, electronic equipment and computer readable storage medium |
CN114462969A (en) * | 2022-01-28 | 2022-05-10 | 语联网(武汉)信息技术有限公司 | Project progress real-time monitoring method and device, electronic equipment and storage medium |
-
2022
- 2022-06-07 CN CN202210636250.9A patent/CN114706567B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105243490A (en) * | 2015-10-12 | 2016-01-13 | 湖南快乐阳光互动娱乐传媒有限公司 | KPI statistical system and KPI statistical method |
US20170364354A1 (en) * | 2016-06-15 | 2017-12-21 | Red Hat Israel, Ltd. | Committed program-code management |
CN107025112A (en) * | 2017-04-10 | 2017-08-08 | 丹露成都网络技术有限公司 | A kind of supervision and tracking based on git hooks and bug management tool |
CN110457049A (en) * | 2019-06-27 | 2019-11-15 | 北京奇艺世纪科技有限公司 | Realize method, apparatus, electronic equipment and the storage medium of plug-in unit automation |
CN113220279A (en) * | 2020-01-21 | 2021-08-06 | 华为技术有限公司 | Code index management method, device, equipment and medium |
CN114445042A (en) * | 2022-01-25 | 2022-05-06 | 海宁奕斯伟集成电路设计有限公司 | Project control method, project control device, electronic equipment and computer readable storage medium |
CN114462969A (en) * | 2022-01-28 | 2022-05-10 | 语联网(武汉)信息技术有限公司 | Project progress real-time monitoring method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114706567B (en) | 2022-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112631686A (en) | Data processing method, data processing device, computer equipment and storage medium | |
WO2021008576A1 (en) | Context information management method, device, and system, and computer-readable storage medium | |
CN112181477A (en) | Complex event processing method and device and terminal equipment | |
CN115600998A (en) | Process management method, system and readable storage medium based on production management platform | |
CN111950776A (en) | Business process optimization method and device, computer equipment and storage medium | |
CN115794038A (en) | Software engineering development system based on Internet and method thereof | |
CN111552521A (en) | Application data reporting method, device, server and storage medium | |
CN117709077B (en) | Simulation deduction method and system based on network target range, electronic equipment and medium | |
CN114706567B (en) | Method and device for submitting code associated PM system task progress through gitlab | |
CN112686580B (en) | Workflow definition method and system capable of customizing flow | |
CN112596723B (en) | Database script generation method, device, equipment and medium | |
CN113901021A (en) | Method and device for generating upgrading script for multi-version database and electronic equipment | |
CN114722161B (en) | Method and device for rapidly inquiring state of single task of adding PM on IDE interface | |
CN116048480A (en) | Method and device for automatically generating chart based on code tool | |
CN115543428A (en) | Simulated data generation method and device based on strategy template | |
CN115469849A (en) | Service processing system, method, electronic device and storage medium | |
CN115455477A (en) | Data authority management method, device, equipment, medium and program product | |
CN110908642A (en) | Policy generation and execution method and device | |
CN110609725A (en) | Front-end user behavior prediction method and system | |
CN111401825B (en) | Instantiation method and device | |
CN112887425B (en) | Test assistance communication method and device in nuclear power test and computer equipment | |
CN114579268B (en) | Resource scheduling method and device | |
CN117234512B (en) | Method, system, electronic equipment and storage medium for rapidly developing business | |
US9535414B2 (en) | System and method for distributing and exchanging elements for planning and/or for operating automation operating equipment | |
CN117391202B (en) | Method and system for obtaining analysis decision result based on central control knowledge graph |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Room 402, No. 66, North Street, University Town Center, Panyu District, Guangzhou City, Guangdong Province, 510006 Patentee after: Yifang Information Technology Co.,Ltd. Address before: 510006 room 402, No. 66 (innovation building), North Central Street, University City, Panyu District, Guangzhou, Guangdong Province Patentee before: GUANGZHOU EASEFUN INFORMATION TECHNOLOGY Co.,Ltd. |
|
CP03 | Change of name, title or address |