Implementation method and system of automatic compilation and release

A technology of automatic compilation and implementation method, applied in the field of implementation methods and systems of automatic compilation and release, can solve problems such as low work efficiency, large workload of users, and no support for timed compilation, so as to improve work efficiency and achieve comprehensive and complete content. Effect

Inactive Publication Date: 2016-04-06
SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a method and system for automatically compiling and publishing, aiming at solving the problem that the Android system in the prior art needs to directly interact with the code from source code compilation to release, and through the serial port Enter the compilation command to complete the compilation. The release version also needs to be manually uploaded by the user. At the same time, it does not support scheduled compilation, and the user needs to remember various compilation commands to perform specified compilation operations, resulting in code compilation and version release. It brings a lot of workload to the user and the defect of low work efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Implementation method and system of automatic compilation and release
  • Implementation method and system of automatic compilation and release
  • Implementation method and system of automatic compilation and release

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0077] Such as figure 2 As shown, when the user needs to view the results, he only needs to click View Compilation Results, View Compiling List or View All Scheduled Lists on the client page to view the compilation results. which is:

[0078] 11) After the user clicks one of the above three buttons, the client will encapsulate the operation type selected by the user and send it to the server;

[0079] 12) The server will start the thread to first resolve the operation type;

[0080] 13) If the operation type is a viewing command, directly call the compilation entry script to execute the corresponding viewing action, and at the same time pass the viewing content as a parameter to the compilation entry script, and save the execution result of the compilation entry script to the specified file on the compilation end middle;

[0081] 14) After the execution of the compilation entry script is completed, the server receives the execution result returned by the compilation end an...

specific Embodiment 2

[0083] Such as image 3 As shown, when users need to compile the source code immediately, they can compile by filling in the information of the target compilation project, such as filling in the source code path, release path, and compilation script name. Among them, the source code path is the source code path on the SVN server, and the release path is the path that needs to be uploaded to the SVN server after the compilation is completed; the compilation script is a shell script that includes Linux commands such as setting environment variables and compiling, and each project corresponds to a compilation script . After the user has configured these three pieces of information, click Next to start compiling. The specific process is as follows:

[0084] 21) The client encapsulates the user's configuration information and sends it to the server;

[0085] 22) The server will start the thread to first resolve the operation type;

[0086] 23) If it is parsed that the operation...

specific Embodiment 3

[0090] Such as Figure 4 As shown in , after the user sets the scheduled compilation on the client page, the specific process is as follows:

[0091] 31) The client encapsulates the operation type and configuration information and sends them to the server;

[0092] 32) After receiving it, the server first parses the configuration information and saves it as a configuration file;

[0093] 34) The compilation end calls the compilation entry script, and passes the timing compilation instruction as a parameter to the compilation entry script, the compilation entry script then calls the compilation management script, and at the same time directly passes the incoming parameters to the compilation management script;

[0094] 35) After the compilation management script receives the parameters, it parses out that if it is a scheduled build, it calls the scheduled compilation script. The scheduled compilation script will first read the configuration file saved on the server, parse out ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an implementation method and system of automatic compilation and release. The method comprises the following steps: when a client side detects the operation data of a user, packaging and uploading the operation data to a service side; analyzing the packaged operation data by the service side to obtain a corresponding operation type, and sending the operation type to a compiling side; and calling a corresponding compiling entry script by the compiling side according to the operation type, taking the operation data as an input parameter to execute the compiling entry script to obtain an execution result, and sending the execution result to the client side via the service side. The integration from source code compilation to project release for the system of automatic compilation is realized, a user can finish all operations from compilation to release only on a client side page and can carry out the compilation management of a plurality of projects at the time, and in addition, contents compiled and released can be guaranteed to be comprehensive and integrated each time. Meanwhile, the user also can carry out timing compilation, also can assign compilation flows and executes different compilation flows by aiming at different situations so as to greatly improve working efficiency.

Description

technical field [0001] The invention relates to the technical field of operating systems, in particular to a method and system for realizing automatic compilation and distribution. Background technique [0002] SVN is the abbreviation of Subversion, which is an open source version control system, mainly used to manage source code or version iteration files. Compared with RCS and CVS, it uses a branch management system, and its design goal is to replace CVS. Many version control services on the Internet have migrated from CVS to Subversion. [0003] Since SVN does not have a corresponding remote management tool, it can only connect to the server and use the command line to operate, so the operation is more complicated. For this reason, the SVN Club has developed the SVN Manager to manage the SVN remotely. SVN Manager has launched a windows version and a linux version, which are very convenient to deploy without installing additional environments, such as mysql, PHP or JAVA...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
CPCG06F8/41G06F8/427
Inventor 曹黎
Owner SHENZHEN SKYWORTH DIGITAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products