CN106648823B - Code publishing method and device - Google Patents

Code publishing method and device Download PDF

Info

Publication number
CN106648823B
CN106648823B CN201611260960.7A CN201611260960A CN106648823B CN 106648823 B CN106648823 B CN 106648823B CN 201611260960 A CN201611260960 A CN 201611260960A CN 106648823 B CN106648823 B CN 106648823B
Authority
CN
China
Prior art keywords
code
application product
personalized function
server
review
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.)
Active
Application number
CN201611260960.7A
Other languages
Chinese (zh)
Other versions
CN106648823A (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201611260960.7A priority Critical patent/CN106648823B/en
Publication of CN106648823A publication Critical patent/CN106648823A/en
Application granted granted Critical
Publication of CN106648823B publication Critical patent/CN106648823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for code release, relates to the technical field of data processing, and solves the problem that a large amount of Geriit server resources are occupied in the existing code release process. The method of the invention comprises the following steps: acquiring a code review number of an application product personalized function code, wherein the application product personalized function code is a modification code for modifying a general version code of an application product according to the personalized function requirement of a certain application product; acquiring an application product personalized function code corresponding to the code review number from the code review server according to the code review number; locally integrating the personalized function code of the application product with the universal version code to obtain an application product code with a personalized function; and compiling and releasing the application product code with the personalized function. The method and the device are applied to the process of code release.

Description

Code publishing method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for code release.
Background
In Android and Android project development, code review software Gerrit is generally used for code management, project codes are stored in a Gerrit server, Jenkins is used for releasing codes of different versions when products are released, and different versions are distinguished by using different version marks (build). The released version of the build code is based entirely on some version of the mainline code. However, in the actual project development process, according to the characteristic requirements of different clients, modification needs to be performed based on the build version code according to the characteristic requirements of the clients, and then the build version with unique characteristics is issued to the clients, or part of codes in the build version need to be changed to verify certain special functions in the code test stage, however, the code modification in the characteristics and test process is not required by the universal build version issued by the product and cannot be integrated into the mainline code. The code branch can be separately newly built according to the characteristics and special case conditions of the test, namely, the code branch is newly built according to each special case condition to obtain a plurality of build versions of the product, and then the build versions are stored in the Geriit server and different build versions are issued according to different clients through Jenkins. However, since the code base for product development is very large, usually dozens of G, and a plurality of build versions with characteristics obtained by newly creating a code branch all require storage spaces of dozens of G, a large amount of gerit server resources are occupied.
Disclosure of Invention
In view of the above problems, the present invention provides a method and an apparatus for code release, so as to solve the problem that a large amount of gerit server resources are occupied in the existing code release process.
in order to solve the above technical problem, in a first aspect, the present invention provides a method for code release, where the method includes:
acquiring a code review number of an application product personalized function code, wherein the application product personalized function code is a modification code for modifying a general version code of an application product according to the personalized function requirement of the application product;
Acquiring an application product personalized function code corresponding to the code review number from a code review server according to the code review number;
Locally integrating the application product personalized function code and the universal version code to obtain an application product code with a personalized function;
And compiling and releasing the application product code with the personalized function.
In a second aspect, the present invention provides an apparatus for code distribution, the apparatus comprising:
The system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a code review number of an application product personalized function code, and the application product personalized function code is a modification code for modifying a general version code of an application product according to the personalized function requirement of the application product;
the second acquisition unit is used for acquiring the application product personalized function code corresponding to the code review number from the code review server according to the code review number;
The integration unit is used for locally integrating the application product personalized function code and the universal version code to obtain an application product code with a personalized function;
and the release unit is used for compiling and releasing the application product code with the personalized function.
By means of the technical scheme, when the application product code with personalized requirements is released, the method and the device for releasing the code only need to acquire the corresponding personalized function code of the application product from the code review server according to different requirements, and then integrate the personalized function code with the universal version code of the local application product instead of acquiring the code of a new version after integrating the universal version code and the personalized function code of the application product, so that only the single universal version code and the independent and different personalized function codes of the application product need to be stored in the code review server for one application product, and the storage space in the code review server is greatly saved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a method for code distribution according to an embodiment of the present invention;
FIG. 2 is a flow diagram illustrating another method for code distribution provided by an embodiment of the invention;
FIG. 3 is a block diagram illustrating an apparatus for code distribution according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating another apparatus for code distribution according to an embodiment of the present invention.
Detailed Description
exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
in order to solve the problem that a large amount of Geriit server resources are occupied in the existing code publishing process, an embodiment of the present invention provides a code publishing method, as shown in FIG. 1, including:
it should be noted that the embodiments of the present invention are applicable to the release of any persistent software project, especially to the project with a large code base. The following description will be made of a code distribution process using an Android project as an example.
101. And acquiring a code review number of the personalized function code of the application product.
it should be noted that the Code Review number, i.e., the Code Review number, in the Android project, for any build version application product Code, i.e., a modified Code of a specific Code in the determined general codes of an application product, there is a corresponding Code Review number. The code review number is unique. The application product personalized function code in this step is a modification code for the specific code.
in actual application, when the same application product is issued to an unavailable user for use, a specific code in a universal code of the application product may need to be modified according to a personalized requirement of the user, and therefore, when the application product is issued to the user, the universal code and the modified code need to be merged or integrated. It is therefore first necessary to obtain the modification code, i.e. the application product personalization function code. The product personalized function code is distinguished by the code review number, so the code review number of the application product personalized function code needs to be acquired before the application product personalized function code is acquired.
The code review number acquired in this step is a code review number inputted from the outside.
102. and acquiring the application product personalized function code corresponding to the code review number from the code review server according to the code review number.
in actual project development, usually one project is usually developed by one development team, wherein different developers are responsible for development of different functions, in order to manage codes of all developers, code review software is usually used for code management, all finally obtained relevant codes of the project are stored in a server corresponding to the code review software, different application product personalized function codes correspond to different code review numbers in the code review server, and therefore obtaining the application product personalized function codes needs to be obtained from the code review server according to the code review numbers.
103. And locally integrating the personalized function code of the application product and the universal version code to obtain the application product code with the personalized function.
it should be noted that, the universal version code of the application product is downloaded locally before integration, and local integration of the personalized function code of the application product and the universal version code may be to adaptively combine the personalized function code of the application product and the universal version code, so as to finally obtain the application product code with the personalized function. The process of merging is typically performed using a code merging tool.
104. And compiling and releasing the application product code with the personalized function.
In this embodiment, the code release is executed by software capable of performing code release, and after the application product code with the personalized function is obtained in step 103, the application product code with the personalized function is also automatically compiled, and released to the user with the corresponding personalized requirement after no problem is found in the compilation.
According to the method for releasing the code, when the code of the application product with the personalized requirement is released, the corresponding personalized function code of the application product is obtained from the code examination server according to different requirements, and then the personalized function code is integrated with the universal version code of the local application product instead of obtaining the code of a new version after the universal version code and the personalized function code of the application product are integrated, so that only the single universal version code and the independent and different personalized function codes of the application product need to be stored in the code examination server for one application product, and the storage space in the code examination server is greatly saved.
For refinement and extension of the method shown in fig. 1, an embodiment of the present invention further provides a method for code release, as shown in fig. 2:
201. and receiving a task triggering instruction.
wherein the task trigger instruction is an instruction for triggering code to issue. The trigger command may be a trigger command generated by a manual operation of a user, or may be an automatic trigger command set according to a time period.
202. and outputting a prompt message for filling the code review number.
the prompt message for filling the code review number is output, so that the code review number is filled in by the prompt message from the outside. The code review number is the code review number of the personalized function code of the application product. The application product personalized function code is a modification code of a specific code in the general code of the application product. The application product personalized function code is developed to meet the personalized requirements of users. In addition, the prompt message may be in the form of a prompt input box, or the like.
203. And acquiring a code review number of the personalized function code of the application product.
And after receiving a confirmation message of externally filling the code review number of the personalized function code of the application product, acquiring the code review number of the personalized function code of the application product. The code review number of the application product personalized function code is a code identifier capable of distinguishing different application product personalized function codes, so that the code review number of the application product personalized function code is obtained for obtaining the corresponding application product personalized function code according to the code review number.
204. And acquiring the application product personalized function code corresponding to the code review number from the Gerrit server according to the Rest API of the Gerrit server.
It should be noted that, the code review software used in this embodiment is Gerrit, so the application product personalized function code is stored in the Gerrit server, and the obtaining of the application product personalized function code in the Gerrit server belongs to remote obtaining, and therefore needs to pass through a representational state transmission interface Rest API of the Gerrit server. The code resources distributed in various places in the Gerrit server are determined by Uniform Resource Identifiers (URIs), where Rest is a representation manner in which the application of the client obtains the code through the URI, and is a set of architecture constraints and principles, and it corresponds to this embodiment that it is a rule for obtaining the corresponding application product personalized function code from the Gerrit server according to the code review number.
In addition, if the application product personalized function code is stored locally, the get interface of the Gerrit server is used to obtain the application product personalized function code.
205. And calling a code merging tool in Gerrit to integrate the application product personalized function code with the universal version code to obtain the application product code with the personalized function.
Gerrit is software that manages code, including various functions such as code consolidation, code vetting, etc. When the codes are integrated, a code merging tool in Gerrit can be called to integrate the application product personalized function codes and the universal version codes to obtain the application product codes with the personalized functions.
206. and compiling and releasing the application product code with the personalized function.
The code release is usually the released compiled code, so the application product personalized function code and the universal version code are integrated by a code merging tool in Gerrit, the code needs to be compiled after the application product code with the personalized function is obtained, and the application product code without the personalized function is released to a user with the corresponding personalized requirement after being compiled.
it should be noted that the method for code release in this embodiment is not only suitable for releasing an application product with personalized functions, but also suitable for a case where a specific code in the application product code needs to be modified for verifying a specific function when the code of the application product is subjected to a function test, and the modified code in the above case is recorded as a test code. In the above case, the test code cannot be directly integrated into the universal code of the application product, so the test code may also be obtained in the manner described above in fig. 1 or fig. 2, and locally integrated with the universal code of the application product via the test code, and then the code of the application product for functional testing is obtained. The specific method for acquiring the test code is the same as the method for acquiring the personalized function code of the application product, and the method for integrating the test code and the universal version code is the same as the method for integrating the personalized function code of the application product and the universal version code.
In addition, the method for code distribution described in fig. 1 and 2 above is implemented by Jenkins. Jenkins is the software that users keep on version code releases. In the above embodiment, Jenkins and Gerrit are released as codes for realizing general codes of lossless application products. Application product codes with different requirements can be obtained flexibly in local, actual individual requirements are met, and space in the Gerrit server is greatly saved.
In addition, the compiled application product code with the personalized function can be recorded in Jenkins, so that the application product code is convenient to use later. In the prior art, in order to save space in the Gerrit server, a developer acquires a general code of an application product from the Gerrit server, then local development and compilation are performed, and then a tester is refreshed to perform testing. The method for releasing the codes in the embodiment can effectively overcome the problem of non-reusability.
Further, as an implementation of the foregoing embodiments, another embodiment of the embodiments of the present invention further provides a device for code release, which is used to implement the methods described in fig. 1 and fig. 2. As shown in fig. 3, the apparatus includes: a first acquisition unit 31, a second acquisition unit 32, an integration unit 33, and an issue unit 34.
the first obtaining unit 31 is configured to obtain a code review number of an application product personalized function code, where the application product personalized function code is a modification code for modifying a general version code of an application product according to a personalized function requirement of an application product;
It should be noted that the Code Review number, i.e., the Code Review number, in the Android project, for any build version application product Code, i.e., a modified Code of a specific Code in the determined general codes of an application product, there is a corresponding Code Review number. The code review number is unique. The application product personalized function code in this step is a modification code for the specific code.
In actual application, when the same application product is issued to an unavailable user for use, a specific code in a universal code of the application product may need to be modified according to a personalized requirement of the user, and therefore, when the application product is issued to the user, the universal code and the modified code need to be merged or integrated. It is therefore first necessary to obtain the modification code, i.e. the application product personalization function code. The product personalized function codes are distinguished by the code review numbers, so the code review numbers of the application product personalized function codes need to be acquired before the application product personalized function codes are acquired.
the code review number acquired in this step is a code review number inputted from the outside.
The second obtaining unit 32 is configured to obtain, from the code review server, the application product personalized function code corresponding to the code review number according to the code review number;
In actual project development, usually one project is usually developed by one development team, wherein different developers are responsible for development of different functions, in order to manage codes of all developers, code review software is usually used for code management, all finally obtained relevant codes of the project are stored in a server corresponding to the code review software, different application product personalized function codes correspond to different code review numbers in the code review server, and therefore obtaining the application product personalized function codes needs to be obtained from the code review server according to the code review numbers.
The integration unit 33 is used for locally integrating the application product personalized function code and the universal version code to obtain an application product code with a personalized function;
in addition, it should be noted that the universal version code is already in the local before integration, and local integration of the application product personalized function code and the universal version code may be implemented by adaptively combining the application product personalized function code and the universal version code, so as to finally obtain the application product code with the personalized function.
and the issuing unit 34 is used for compiling and issuing the application product code with the personalized function.
in this embodiment, the code release is executed by software capable of performing code release, and after the application product code with the personalized function is obtained by the integration unit 33, the application product code with the personalized function is also automatically compiled, and released to the user with the corresponding personalized requirement after the application product code is compiled without any problem.
The second obtaining unit 32 is configured to:
The code review server is a Gerrit server, and obtains the application product personalized function code corresponding to the corresponding code review number from the Gerrit server according to a representational state transmission interface Rest API of the Gerrit server.
it should be noted that in this embodiment, the application product personalized function code is stored in the Gerrit server, and the obtaining of the application product personalized function code in the Gerrit server belongs to remote obtaining, so that a representational state transmission interface Rest API of the Gerrit server needs to be used. The code resources distributed in various places in the Gerrit server are determined by Uniform Resource Identifiers (URIs), where Rest is a representation manner in which the application of the client obtains the code through the URI, and is a set of architecture constraints and principles, and it corresponds to this embodiment that it is a rule for obtaining the corresponding application product personalized function code from the Gerrit server according to the code review number.
In addition, if the application product personalized function code is stored locally, the get interface of the Gerrit server is used to obtain the application product personalized function code.
As shown in fig. 4, the apparatus further comprises:
The receiving unit 35 is configured to receive a task trigger instruction before acquiring the code review number of the application product personalized function code, where the task trigger instruction is an instruction for triggering code release;
Wherein the task trigger instruction is an instruction for triggering code to issue. The trigger command may be a trigger command manually generated by a user, or may be an automatic trigger command set according to a time period.
And the output unit 36 is used for outputting a prompt message for filling the code review number.
And outputting a prompt message for filling the code review number so as to enable the exterior to fill the code review number through the prompt message, wherein the code review number is the code review number of the application product personalized function code. The application product personalized function code is a modification code of a specific code in the general code of the application product. The application product personalized function code is developed to meet the personalized requirements of users. In addition, the prompt message may be in the form of a prompt input box, or the like.
The integration unit 33 is configured to:
And calling a code merging tool in Gerrit to integrate the application product personalized function code with the universal version code.
Gerrit is software that manages code, including various functions such as code consolidation, code vetting, etc. When the codes are integrated, a code merging tool in Gerrit can be called to integrate the application product personalized function codes and the universal version codes to obtain the application product codes with the personalized functions.
The application product personalized function code in the second obtaining unit 32 includes:
And the test code is used for carrying out functional test on the application product.
it should be noted that the method for code release in this embodiment is not only suitable for releasing an application product with personalized functions, but also suitable for a case where a specific code in an application product code needs to be modified for verifying a specific function when the application product is subjected to a function test, and the modified code in the above case is recorded as a test code. In the above case, the test code cannot be directly integrated into the universal code of the application product, so the test code may also be obtained in the manner described above in fig. 3 or fig. 4, and locally integrated with the universal code of the application product via the test code, and then the code of the application product for functional testing is obtained. The specific method for acquiring the test code is the same as the method for acquiring the personalized function code of the application product, and the method for integrating the test code and the universal version code is the same as the method for integrating the personalized function code of the application product and the universal version code.
The device for releasing the code, provided by the embodiment of the invention, only needs to acquire the corresponding personalized function code of the application product from the code review server according to different requirements when the code of the application product with personalized requirements is released, and then integrates the personalized function code with the universal version code of the local application product instead of acquiring the code of a new version after integrating the universal version code and the personalized function code of the application product, so that only a single universal version code and different independent personalized function codes of the application product need to be stored in the code review server for one application product, and the storage space in the code review server is greatly saved.
in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method and apparatus described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
it is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the title of the invention (e.g., a code-issuing device) according to an embodiment of the invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A method of code distribution, comprising:
Acquiring a code review number of an application product personalized function code, wherein the application product personalized function code is a modification code for modifying a general version code of an application product according to the personalized function requirement of the application product;
Acquiring an application product personalized function code corresponding to the code review number from a code review server according to the code review number, wherein a general version code and different personalized function codes are stored in the code review server;
Locally integrating the application product personalized function code and the universal version code to obtain an application product code with a personalized function;
And compiling and releasing the application product code with the personalized function.
2. The method of claim 1, wherein the code review server is a Gerrit server, and the obtaining the application product personalized function code corresponding to the code review number from the code review server according to the code review number comprises:
And acquiring an application product personalized function code corresponding to the code review number from the Gerrit server according to a representational state transmission interface Rest API of the Gerrit server.
3. The method according to claim 1 or 2, wherein before obtaining the code review number of the application product personalized function code, the method further comprises:
Receiving a task trigger instruction, wherein the task trigger instruction is an instruction issued by a trigger code;
And outputting a prompt message for filling the code review number.
4. The method of claim 3, wherein locally integrating the application product personalization function code with the generic version code comprises:
And calling a code merging tool in Gerrit to integrate the application product personalized function code with the universal version code.
5. The method of claim 4, wherein the application product personalization function code comprises:
and the test code is used for carrying out functional test on the application product.
6. The method of claim 5, wherein the method of code release is implemented by Jenkins.
7. an apparatus for code distribution, comprising:
The system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a code review number of an application product personalized function code, and the application product personalized function code is a modification code for modifying a general version code of an application product according to the personalized function requirement of the application product;
The second acquisition unit is used for acquiring the application product personalized function code corresponding to the code review number from the code review server according to the code review number, and the code review server stores a general version code and different personalized function codes;
the integration unit is used for locally integrating the application product personalized function code and the universal version code to obtain an application product code with a personalized function;
And the release unit is used for compiling and releasing the application product code with the personalized function.
8. The apparatus of claim 7, wherein the second obtaining unit is configured to:
and the code review server is a Gerrit server, and acquires the application product personalized function code corresponding to the code review number from the Gerrit server according to a representational state transmission interface Rest API of the Gerrit server.
9. The apparatus of claim 7 or 8, further comprising:
The system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a task triggering instruction before acquiring a code review number of an application product personalized function code, and the task triggering instruction is an instruction for triggering code release;
And the output unit is used for outputting a prompt message for filling the code review number.
10. The apparatus of claim 9, wherein the integrated unit is configured to:
and calling a code merging tool in Gerrit to integrate the application product personalized function code with the universal version code.
CN201611260960.7A 2016-12-30 2016-12-30 Code publishing method and device Active CN106648823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611260960.7A CN106648823B (en) 2016-12-30 2016-12-30 Code publishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611260960.7A CN106648823B (en) 2016-12-30 2016-12-30 Code publishing method and device

Publications (2)

Publication Number Publication Date
CN106648823A CN106648823A (en) 2017-05-10
CN106648823B true CN106648823B (en) 2019-12-10

Family

ID=58837470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611260960.7A Active CN106648823B (en) 2016-12-30 2016-12-30 Code publishing method and device

Country Status (1)

Country Link
CN (1) CN106648823B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450923B (en) * 2017-07-28 2021-07-02 郑州云海信息技术有限公司 Method and device for realizing customized baseline separation program
CN108920164A (en) * 2018-07-11 2018-11-30 郑州云海信息技术有限公司 The management method and device of host in cloud computing system
CN110704297B (en) * 2019-08-15 2024-02-06 天翼安全科技有限公司 Code review method, device, computer equipment and storage medium
CN112596760A (en) * 2020-12-09 2021-04-02 武汉联影医疗科技有限公司 Software maintenance method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336688A (en) * 2013-06-20 2013-10-02 中标软件有限公司 Software integrating method and system oriented to cloud computing software research and development process
CN103677821A (en) * 2013-12-05 2014-03-26 金蝶软件(中国)有限公司 Method and device for publishing software development tool code
CN105404519A (en) * 2015-12-07 2016-03-16 青岛海信电器股份有限公司 Version control method, code testing method and system
CN105739968A (en) * 2016-01-20 2016-07-06 北京京东尚科信息技术有限公司 Method and device for reviewing update content based on distributed version control system Git

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9767002B2 (en) * 2015-02-25 2017-09-19 Red Hat Israel, Ltd. Verification of product release requirements

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336688A (en) * 2013-06-20 2013-10-02 中标软件有限公司 Software integrating method and system oriented to cloud computing software research and development process
CN103677821A (en) * 2013-12-05 2014-03-26 金蝶软件(中国)有限公司 Method and device for publishing software development tool code
CN105404519A (en) * 2015-12-07 2016-03-16 青岛海信电器股份有限公司 Version control method, code testing method and system
CN105739968A (en) * 2016-01-20 2016-07-06 北京京东尚科信息技术有限公司 Method and device for reviewing update content based on distributed version control system Git

Also Published As

Publication number Publication date
CN106648823A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106648823B (en) Code publishing method and device
US9582268B2 (en) Automatic communications graphing for a source application
US8595693B2 (en) Model driven deployment of composite applications
US9563415B2 (en) Generating visually encoded dynamic codes for remote launching of applications
WO2014000269A1 (en) Rule-based automated test data generation
US10606586B2 (en) Application architecture generation
CN109684188B (en) Test method and device
US9003433B2 (en) Off-premise and codeless process-centric business mashup to integrate BPEL based processes and web 2.0 widgets
CN110320378B (en) Method, apparatus, device and computer readable storage medium for applying for a quality control test
CN112463588A (en) Automatic test system and method, storage medium and computing equipment
US20090037878A1 (en) Web Application Development Tool
CN109739492B (en) Method, terminal, equipment and medium for generating script code
CN107122182B (en) Method and system for constructing and releasing code
US20130125093A1 (en) Generating object-oriented programming language code from a multi-domain dynamic simulation model
CN110648126A (en) Payment type configuration method, device, server and storage medium
KR101687970B1 (en) Connection and communication apparatus and method of the 3D model viewer for shipbuilding CAD
CN111124523A (en) Method and apparatus for initializing applications
JP2008217292A (en) Software component template management system
CN111294250B (en) Pressure testing method, device and system
CN109117122B (en) List view creating method and device
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium
CN110825646A (en) Test case generation method, interface test method, device and electronic equipment
CN110058845A (en) A kind of management method, equipment and the system of model component file
CN116028138B (en) Application publishing method and device
CN110399188B (en) Initialization operation support system

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