CN113419963A - Method, device, equipment and storage medium for integrating programming language items - Google Patents

Method, device, equipment and storage medium for integrating programming language items Download PDF

Info

Publication number
CN113419963A
CN113419963A CN202110794978.XA CN202110794978A CN113419963A CN 113419963 A CN113419963 A CN 113419963A CN 202110794978 A CN202110794978 A CN 202110794978A CN 113419963 A CN113419963 A CN 113419963A
Authority
CN
China
Prior art keywords
branch
source code
test
temporary
merging
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
Application number
CN202110794978.XA
Other languages
Chinese (zh)
Other versions
CN113419963B (en
Inventor
张振兵
孙海英
唐俊军
刘乐
宋龙飞
李蒙蒙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pudong Development Bank Co Ltd
Original Assignee
Shanghai Pudong Development Bank Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Pudong Development Bank Co Ltd filed Critical Shanghai Pudong Development Bank Co Ltd
Priority to CN202110794978.XA priority Critical patent/CN113419963B/en
Publication of CN113419963A publication Critical patent/CN113419963A/en
Application granted granted Critical
Publication of CN113419963B publication Critical patent/CN113419963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/48Incremental compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses an integration method, an integration device, equipment and a storage medium of a programming language project. The method comprises the following steps: submitting source codes to be merged to a temporary branch with a time stamp through a set script, and initiating a merging request for merging the temporary branch to a test branch; when the source code is approved, merging the temporary branch to a test branch according to the merging request; performing incremental compiling on the source code in the test branch to generate an application program; and deploying the application program to a corresponding test environment for testing. The integration method of the programming language project provided by the embodiment of the invention can realize the automatic integration of the programming language project, thereby reducing the time consumption for integrating the project and improving the integration efficiency of the project.

Description

Method, device, equipment and storage medium for integrating programming language items
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an integration method, device, equipment and storage medium of a programming language project.
Background
The integration of programming language (such as C language, C + + language, Java language, etc.) projects requires several steps, such as source code submission, source code merging, source code compilation, and compiled program deployment. In the traditional integrated deployment scheme, the steps need to be manually executed, so that the time is consumed, and the requirement of quick iteration cannot be met.
Disclosure of Invention
The embodiment of the invention provides an integration method, an integration device, equipment and a storage medium of a programming language project, which are used for realizing the integration of the automatic programming language project, reducing the integration time consumption of the project and improving the integration efficiency of the project.
In a first aspect, an embodiment of the present invention provides an integration method for programming language items, including:
submitting source codes to be merged to a temporary branch with a time stamp through a set script, and initiating a merging request for merging the temporary branch to a test branch;
when the source code is approved, merging the temporary branch to a test branch according to the merging request;
performing incremental compiling on the source code in the test branch to generate an application program;
and deploying the application program to a corresponding test environment for testing.
In a second aspect, an embodiment of the present invention further provides an apparatus for integrating programming language items, including:
the source code submitting module is used for submitting the source codes to be merged to a temporary branch with a time stamp through a set script and initiating a merging request for merging the temporary branch to a test branch;
the branch merging module is used for merging the temporary branch to a test branch according to the merging request when the source code is approved;
the incremental compiling module is used for carrying out incremental compiling on the source codes in the test branches to generate an application program;
and the environment testing module is used for deploying the application program to a corresponding testing environment for testing.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes: comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements a method for integrating programming language items according to an embodiment of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processing device, implements a method for integrating programming language items according to the embodiment of the present invention.
The embodiment of the invention discloses an integration method, an integration device, equipment and a storage medium of a programming language project. Submitting source codes to be merged to a temporary branch with a time stamp through a set script, and initiating a merging request for merging the temporary branch to a test branch; when the source code is approved, merging the temporary branch to the test branch according to the merging request; performing incremental compiling on the source code in the test branch to generate an application program; and deploying the application program to a corresponding test environment for testing. The integration method of the programming language project provided by the embodiment of the invention can realize the automatic integration of the programming language project, thereby reducing the time consumption for integrating the project and improving the integration efficiency of the project.
Drawings
FIG. 1 is a flow chart of a method for integrating programming language items according to one embodiment of the present invention;
FIG. 2 is a diagram illustrating an example of a process according to one embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an integrated device for programming language items according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an integration method of programming language items according to an embodiment of the present invention, where the embodiment is applicable to a case of integrating programming language items, and the method may be executed by an integration apparatus of programming language items, where the apparatus may be composed of hardware and/or software, and may be generally integrated in a device having a function of clustering programming language items, where the device may be an electronic device such as a server or a server cluster. As shown in fig. 1, the method specifically comprises the following steps:
step 110, submitting the source code to be merged to a temporary branch with a time stamp through a set script, and initiating a merging request for merging the temporary branch to a test branch.
In this embodiment, the integration of the programming language project may be completed based on a code hosting and development collaboration platform (git), that is, the integration of the programming language project is realized based on a git branch management policy. Wherein, the setting script can be an mtooat script, and the temporary branch can be understood as a virtual test branch.
The developer submits the code to be merged to a temporary branch with a time stamp through the script mtooat and initiates a merging request of the temporary branch to be merged to the test branch.
Specifically, the process of submitting the source code to be merged into a temporary branch with a timestamp through a set script may be: receiving a source code list submitted by a developer; whether the source codes of the local development branches are all sent to the server development branch is checked; if so, copying the source code file to a temporary path according to the source code list; switching to a local test branch, and copying a temporary branch with a time stamp; the source code file under the path is committed to the temporary branch.
In this embodiment, a developer fills in a source code list to be submitted, and uploads the source code list. Switching to a local test branch may be triggered by a switch instruction configured in the set-up script. The local test branch may be a local traffic test (UAT) branch.
Specifically, the process of initiating the merge request from the temporary branch to the test branch may be: sending the temporary branch to a server; and initiating a temporary branch combination to test branch combination request at the server.
And step 120, merging the temporary branch to the test branch according to the merging request when the source code is approved.
In this embodiment, the reviewer reviews the code submitted by the developer, and returns the developer if the code does not pass the review. And if the result passes, the auditor completes the combination from the temporary branch to the test branch.
And step 130, performing incremental compiling on the source code in the test branch to generate an application program.
Incremental compilation may be understood as compiling newly added source code.
Specifically, the process of performing incremental compilation on the source code in the test branch to generate the application program may be: extracting a source code and a last submitted code in a test branch in a compiling environment; determining an increment source code according to the source code in the test branch and the last submitted code; and compiling the incremental source code to generate the application program.
In this embodiment, after the temporary branch is merged into the test branch, the test branch has source codes uploaded by the developer. Wherein incremental source code may be understood as code that is added locally relative to the last submitted code.
Specifically, the method for determining the incremental source code according to the source code in the test branch and the last submitted code may be: acquiring a present submission identifier and a last submission identifier; obtaining a current source code list according to the current submission identifier, and obtaining a previous source code list according to the previous submission identifier; comparing the current source code list with the last source code list to obtain an incremental code list; the incremental source code is determined from the incremental code manifest and the source code in the test branch.
Wherein, the submission identifier (commit id) may be generated after the auditor passes the audit, and is used for uniquely identifying the source code submitted once. In this embodiment, the incremental code list is obtained according to the current source code list and the last source code list, and the incremental source code is determined according to the incremental code list and the source code in the test branch, only the source code list needs to be compared, and the source code does not need to be compared, so that the efficiency of determining the incremental source code can be improved.
Step 140, deploying the application program to a corresponding test environment for testing.
The test environment may include an internal test (SIT) environment, a traffic test (UAT) environment, and a production-ready test (REL) environment, among others.
Specifically, the manner of deploying the application program to the corresponding test environment for testing may be: packaging the application program into a program deployment package, and sending the program deployment package to a corresponding test environment; and decompressing the program deployment package to perform testing in the corresponding testing environment.
The format of the program deployment package may be. Optionally, after sending the program deployment package to the corresponding test environment, the method further includes: and backing up the program deployment package. To facilitate subsequent modifications to the program deployment package.
Optionally, after the application program is deployed to the corresponding test environment for testing, the method further includes the following steps: and updating the files and the parameters in the database according to the program deployment package.
In this embodiment, the progress of compiling and deploying in the integration process may also be shown through a web page. For example, fig. 2 is an example diagram showing progress. As shown in fig. 2, when the three schedules are compiling, deploying and restarting, respectively, the integration of the project is passed only when the three schedules are completed.
According to the technical scheme of the embodiment, a source code to be merged is submitted to a temporary branch with a time stamp through a set script, and a merging request for merging the temporary branch to a test branch is initiated; when the source code is approved, merging the temporary branch to the test branch according to the merging request; performing incremental compiling on the source code in the test branch to generate an application program; and deploying the application program to a corresponding test environment for testing. The integration method of the programming language project provided by the embodiment of the invention can realize the automatic integration of the programming language project, thereby reducing the time consumption for integrating the project and improving the integration efficiency of the project.
Example two
Fig. 3 is a schematic structural diagram of an integrated device for programming language items according to a second embodiment of the present invention. As shown in fig. 3, the apparatus includes:
a source code submitting module 210, configured to submit a source code to be merged to a temporary branch with a timestamp through a set script, and initiate a merge request for merging the temporary branch to a test branch;
a branch merging module 220, configured to merge the temporary branch into the test branch according to the merge request when the source code is approved;
an incremental compiling module 230, configured to perform incremental compiling on the source code in the test branch to generate an application program;
and the environment testing module 240 is used for deploying the application program to the corresponding testing environment for testing.
Optionally, the source code submission module 210 is further configured to:
receiving a source code list submitted by a developer;
whether the source codes of the local development branches are all sent to the server development branch is checked;
if so, copying the source code file to a temporary path according to the source code list;
switching to a local test branch, and copying a temporary branch with a time stamp; wherein, the temporary branch is a virtual test branch;
the source code file under the path is committed to the temporary branch.
Optionally, the source code submission module 210 is further configured to:
sending the temporary branch to a server;
and initiating a temporary branch combination to test branch combination request at the server.
Optionally, the incremental compiling module 230 is further configured to:
extracting a source code and a last submitted code in a test branch in a compiling environment;
determining an increment source code according to the source code in the test branch and the last submitted code;
and compiling the incremental source code to generate the application program.
Optionally, the incremental compiling module 230 is further configured to:
acquiring a present submission identifier and a last submission identifier;
obtaining a current source code list according to the current submission identifier, and obtaining a previous source code list according to the previous submission identifier;
comparing the current source code list with the last source code list to obtain an incremental code list;
the incremental source code is determined from the incremental code manifest and the source code in the test branch.
Optionally, the environment testing module 240 is further configured to:
packaging the application program into a program deployment package, and sending the program deployment package to a corresponding test environment;
and decompressing the program deployment package to perform testing in the corresponding testing environment.
Optionally, the method further includes: a database update module to:
and updating the files and the parameters in the database according to the program deployment package.
The device can execute the methods provided by all the embodiments of the invention, and has corresponding functional modules and beneficial effects for executing the methods. For details not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present invention.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a computer device according to a third embodiment of the present invention. FIG. 4 illustrates a block diagram of a computer device 312 suitable for use in implementing embodiments of the present invention. The computer device 312 shown in FIG. 4 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention. Device 312 is a computing device that is typically a collection of functional programming language items.
As shown in FIG. 4, computer device 312 is in the form of a general purpose computing device. The components of computer device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
Bus 318 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Computer device 312 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 312 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 328 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 330 and/or cache Memory 332. The computer device 312 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 334 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 318 by one or more data media interfaces. Storage 328 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 336 having a set (at least one) of program modules 326 may be stored, for example, in storage 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which may comprise an implementation of a network environment, or some combination thereof. Program modules 326 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 312 may also communicate with one or more external devices 314 (e.g., keyboard, pointing device, camera, display 324, etc.), with one or more devices that enable a user to interact with the computer device 312, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 312 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 322. Also, computer device 312 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), etc.) and/or a public Network, such as the internet, via Network adapter 320. As shown, network adapter 320 communicates with the other modules of computer device 312 via bus 318. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 312, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 316 executes various functional applications and data processing by executing programs stored in the storage 328, for example, implementing an integration method of programming language items provided by the above-described embodiments of the present invention.
Example four
Embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processing device, the computer program implements a method for integrating a programming language item as in the embodiments of the present invention. The computer readable medium of the present invention described above may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: submitting source codes to be merged to a temporary branch with a time stamp through a set script, and initiating a merging request for merging the temporary branch to a test branch; when the source code is approved, merging the temporary branch to a test branch according to the merging request; performing incremental compiling on the source code in the test branch to generate an application program; and deploying the application program to a corresponding test environment for testing.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for integrating programming language items, comprising:
submitting source codes to be merged to a temporary branch with a time stamp through a set script, and initiating a merging request for merging the temporary branch to a test branch;
when the source code is approved, merging the temporary branch to a test branch according to the merging request;
performing incremental compiling on the source code in the test branch to generate an application program;
and deploying the application program to a corresponding test environment for testing.
2. The method of claim 1, wherein submitting the source code to be merged into a temporary branch with a time stamp via a set script comprises:
receiving a source code list submitted by a developer;
whether the source codes of the local development branches are all sent to the server development branch is checked;
if so, copying the source code file to a temporary path according to the source code list;
switching to a local test branch, and copying a temporary branch with a time stamp; wherein, the temporary branch is a virtual test branch;
and submitting the source code file under the path to the temporary branch.
3. The method of claim 2, wherein initiating a merge request for the temporary branch to merge to a test branch comprises:
sending the temporary branch to a server;
and initiating a temporary branch combination to test branch combination request at the server.
4. The method of claim 1, wherein incrementally compiling the source code in the test branch to generate an application comprises:
extracting source code and last submission code in the test branch in a compilation environment;
determining an increment source code according to the source code in the test branch and the last submitted code;
and compiling the increment source code to generate an application program.
5. The method of claim 4, wherein determining delta source code from source code in the test branch and last committed code comprises:
acquiring a present submission identifier and a last submission identifier;
obtaining a source code list according to the submitting identification, and obtaining a last source code list according to the last submitting identification;
comparing the current source code list with the last source code list to obtain an incremental code list;
and determining the incremental source code according to the incremental code list and the source code in the test branch.
6. The method of claim 1, wherein deploying the application program into a corresponding test environment for testing comprises:
packaging the application program into a program deployment package, and sending the program deployment package to a corresponding test environment;
decompressing the program deployment package for testing in the corresponding test environment.
7. The method of claim 6, after deploying the application program into a corresponding test environment for testing, further comprising:
and updating files and parameters in a database according to the program deployment package.
8. An integrated apparatus for programming language items, comprising:
the source code submitting module is used for submitting the source codes to be merged to a temporary branch with a time stamp through a set script and initiating a merging request for merging the temporary branch to a test branch;
the branch merging module is used for merging the temporary branch to a test branch according to the merging request when the source code is approved;
the incremental compiling module is used for carrying out incremental compiling on the source codes in the test branches to generate an application program;
and the environment testing module is used for deploying the application program to a corresponding testing environment for testing.
9. A computer device, the device comprising: comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements a method for integration of programming language items according to any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processing means, carries out a method of integrating programming language items according to any one of claims 1 to 7.
CN202110794978.XA 2021-07-14 2021-07-14 Method, device, equipment and storage medium for integrating programming language items Active CN113419963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110794978.XA CN113419963B (en) 2021-07-14 2021-07-14 Method, device, equipment and storage medium for integrating programming language items

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110794978.XA CN113419963B (en) 2021-07-14 2021-07-14 Method, device, equipment and storage medium for integrating programming language items

Publications (2)

Publication Number Publication Date
CN113419963A true CN113419963A (en) 2021-09-21
CN113419963B CN113419963B (en) 2022-12-13

Family

ID=77720973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110794978.XA Active CN113419963B (en) 2021-07-14 2021-07-14 Method, device, equipment and storage medium for integrating programming language items

Country Status (1)

Country Link
CN (1) CN113419963B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6311327B1 (en) * 1998-03-02 2001-10-30 Applied Microsystems Corp. Method and apparatus for analyzing software in a language-independent manner
US20040210883A1 (en) * 2003-04-17 2004-10-21 International Business Machines Corporation Method and apparatus for building executable computer programs using compiled program libraries
US20070006155A1 (en) * 2005-06-30 2007-01-04 Microsoft Corporation Locating source code when stopping in a debugger
US20150106790A1 (en) * 2013-10-15 2015-04-16 International Business Machines Corporation Detecting merge conflicts and compilation errors in a collaborative integrated development environment
US20160179569A1 (en) * 2014-12-23 2016-06-23 Justin E. Gottschlich Apparatus and method for a profiler for hardware transactional memory programs
CN109165169A (en) * 2018-10-16 2019-01-08 江苏满运软件科技有限公司 A kind of test branch management method and system
CN109960643A (en) * 2017-12-22 2019-07-02 网宿科技股份有限公司 A kind of code test method and device
CN110532189A (en) * 2019-07-18 2019-12-03 中国人民财产保险股份有限公司 A kind of continuous integration system, method and device
CN110633101A (en) * 2019-09-25 2019-12-31 杭州港盛软件科技有限公司 Program code management method, device and equipment and readable storage medium
CN111444080A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Continuous testing method and device
CN112732561A (en) * 2020-12-31 2021-04-30 武汉悦学帮网络技术有限公司 Project deployment method and device, computer equipment and storage medium
CN112988594A (en) * 2021-04-25 2021-06-18 郑州信大捷安信息技术股份有限公司 Integrated detection method and system for code quality evaluation

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6311327B1 (en) * 1998-03-02 2001-10-30 Applied Microsystems Corp. Method and apparatus for analyzing software in a language-independent manner
US20040210883A1 (en) * 2003-04-17 2004-10-21 International Business Machines Corporation Method and apparatus for building executable computer programs using compiled program libraries
US20070006155A1 (en) * 2005-06-30 2007-01-04 Microsoft Corporation Locating source code when stopping in a debugger
US20150106790A1 (en) * 2013-10-15 2015-04-16 International Business Machines Corporation Detecting merge conflicts and compilation errors in a collaborative integrated development environment
US20160179569A1 (en) * 2014-12-23 2016-06-23 Justin E. Gottschlich Apparatus and method for a profiler for hardware transactional memory programs
CN109960643A (en) * 2017-12-22 2019-07-02 网宿科技股份有限公司 A kind of code test method and device
CN109165169A (en) * 2018-10-16 2019-01-08 江苏满运软件科技有限公司 A kind of test branch management method and system
CN111444080A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Continuous testing method and device
CN110532189A (en) * 2019-07-18 2019-12-03 中国人民财产保险股份有限公司 A kind of continuous integration system, method and device
CN110633101A (en) * 2019-09-25 2019-12-31 杭州港盛软件科技有限公司 Program code management method, device and equipment and readable storage medium
CN112732561A (en) * 2020-12-31 2021-04-30 武汉悦学帮网络技术有限公司 Project deployment method and device, computer equipment and storage medium
CN112988594A (en) * 2021-04-25 2021-06-18 郑州信大捷安信息技术股份有限公司 Integrated detection method and system for code quality evaluation

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
姜文等: "基于持续集成的C/C++软件覆盖率测试", 《计算机技术与发展》 *
张磊等: "嵌入式装置的可视化云编程平台设计", 《单片机与嵌入式系统应用》 *
徐星等: "企业开发、测试环境快速部署方案的设计与实现", 《工业控制计算机》 *
贺旭等: "基于CC和STAF的分布式持续集成和自动测试方案", 《计算机工程与设计》 *

Also Published As

Publication number Publication date
CN113419963B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
US11363087B2 (en) Leveraging microservices to orchestrate media workflows in the cloud
CN112256315A (en) Upgrading method, device, equipment and storage medium
WO2022105563A1 (en) Indexed file generation method, terminal device, electronic device, and medium
CN110795331A (en) Software testing method and device
CN112596720A (en) Service operation method and device, electronic equipment and computer storage medium
CN111831750A (en) Block chain data analysis method and device, computer equipment and storage medium
CN112988583A (en) Method and device for testing syntax compatibility of database
CN111782207A (en) Method, device and equipment for generating task stream code and storage medium
CN111290961A (en) Interface test management method and device and terminal equipment
CN113448869B (en) Method and device for generating test case, electronic equipment and computer readable medium
CN112084114B (en) Method and apparatus for testing interfaces
CN110443034B (en) Risk program file identification method and device, computing equipment and medium
CN111858109B (en) Method, device, equipment and storage medium for verifying mutex logic
CN113238739A (en) Plug-in development and data acquisition method, device, electronic equipment and medium
CN113419963B (en) Method, device, equipment and storage medium for integrating programming language items
CN110196952B (en) Program code search processing method, device, equipment and storage medium
CN116185393A (en) Method, device, equipment, medium and product for generating interface document
US10311138B2 (en) Preventing partial change set deployments in content management systems
CN113918525A (en) Data exchange scheduling method, system, electronic device, medium, and program product
CN111367791B (en) Method, device, medium and electronic equipment for generating test case
CN112783903B (en) Method and device for generating update log
CN114090124A (en) Data processing method, data processing device, computer equipment and storage medium
CN116452208B (en) Method, device, equipment and medium for determining change transaction code
US20230108982A1 (en) Data processing utilizing an asynchronous communication repository
CN116627807B (en) Mobile application test repair method integrating interface element semantics and structural information

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
CB03 Change of inventor or designer information

Inventor after: Wang Haitao

Inventor after: Yan Sien

Inventor before: Zhang Zhenbing

Inventor before: Sun Haiying

Inventor before: Tang Junjun

Inventor before: Liu Le

Inventor before: Song Longfei

Inventor before: Li Mengmeng

CB03 Change of inventor or designer information