CN111324373B - Method and device for sub-coding warehouse on multiple engineering files and computing equipment - Google Patents

Method and device for sub-coding warehouse on multiple engineering files and computing equipment Download PDF

Info

Publication number
CN111324373B
CN111324373B CN201811526278.7A CN201811526278A CN111324373B CN 111324373 B CN111324373 B CN 111324373B CN 201811526278 A CN201811526278 A CN 201811526278A CN 111324373 B CN111324373 B CN 111324373B
Authority
CN
China
Prior art keywords
engineering
files
uploading
engineering files
configuration file
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
CN201811526278.7A
Other languages
Chinese (zh)
Other versions
CN111324373A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811526278.7A priority Critical patent/CN111324373B/en
Publication of CN111324373A publication Critical patent/CN111324373A/en
Application granted granted Critical
Publication of CN111324373B publication Critical patent/CN111324373B/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/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for sub-coding warehouse on a plurality of engineering files and computing equipment, wherein the method comprises the following steps: pre-configuring a common configuration file of a plurality of engineering files; establishing a reference relation between a plurality of engineering files and a common configuration file; traversing the plurality of engineering files, sequentially calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse. The workload required by setting the configuration files for the engineering files respectively can be reduced through the shared configuration file, the reference relation is established between the engineering files and the shared configuration file, the uploading is realized through referencing the shared configuration file during uploading, the complicated operation of setting the configuration files in the engineering files is avoided, the uploading can be completed by directly modifying the shared configuration file during each uploading, and the operation is more convenient. Further, by traversing the plurality of engineering files, uploading tasks of the plurality of engineering files are sequentially called, uploading operation is automatically completed, and manual uploading operation is not needed.

Description

Method and device for sub-coding warehouse on multiple engineering files and computing equipment
Technical Field
The application relates to the field of software, in particular to a method and a device for a passcode warehouse on a plurality of engineering files and computing equipment.
Background
The code repository may be used to store and sort various code packages, and the user may upload his or her own project files to the code repository, and may also be provided to download project files from the code repository for sharing project files. When uploading the engineering files to the code warehouse, the user is required to configure configuration files such as a path uploaded to the code warehouse, uploading version information, code warehouse related login information and the like for each engineering file. This process makes it necessary for the user to configure a corresponding configuration file for each engineering file, and the workload of the user is large.
Disclosure of Invention
The present application has been made in view of the above problems, and it is an object of the present application to provide a method and apparatus, a computing device, a computer storage medium for a passcode warehouse over a plurality of engineering files that overcomes or at least partially solves the above problems.
According to one aspect of the present application, there is provided a method of sub-stacking a warehouse on a plurality of engineering documents, comprising:
pre-configuring a common configuration file of a plurality of engineering files;
establishing a reference relation between a plurality of engineering files and a common configuration file;
traversing the plurality of engineering files, sequentially calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse.
According to another aspect of the present application, there is provided an apparatus for sub-stacking a warehouse on a plurality of engineering documents, comprising:
the configuration module is suitable for pre-configuring a common configuration file of a plurality of engineering files;
the reference module is suitable for establishing a reference relation between a plurality of engineering files and a shared configuration file;
and the uploading module is suitable for traversing the plurality of engineering files, sequentially calling uploading tasks of the plurality of engineering files and finishing uploading the plurality of engineering files to the code warehouse.
According to yet another aspect of the present application, there is provided a computing device comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the method for the passage code warehouse on the plurality of engineering files.
According to still another aspect of the present application, there is provided a computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to a method for passcode warehousing on a plurality of engineering files as described above.
According to the method, the device and the computing equipment for sub-coding warehouse on the plurality of engineering files, which are provided by the application, the common configuration file of the plurality of engineering files is preconfigured; establishing a reference relation between a plurality of engineering files and a common configuration file; traversing the plurality of engineering files, sequentially calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse. The workload required by setting the configuration files for the engineering files respectively can be reduced through the shared configuration file, the reference relation is established between the engineering files and the shared configuration file, the uploading is realized through referencing the shared configuration file during uploading, the complicated operation of setting the configuration files in the engineering files is avoided, the uploading can be completed by directly modifying the shared configuration file during each uploading, and the operation is more convenient. Further, uploading tasks of the engineering files are sequentially called through traversing the engineering files, uploading operation is automatically completed, manual uploading operation is not needed, and possible errors of manual operation are avoided.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
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 application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 illustrates a flow chart of a method of a passcode warehouse over a plurality of project files according to one embodiment of the application;
FIG. 2 illustrates a flow chart of a method of sub-stacking a warehouse over a plurality of project files according to another embodiment of the application;
FIG. 3 illustrates a functional block diagram of an apparatus for a passcode warehouse over a plurality of project files according to one embodiment of the application;
FIG. 4 illustrates a schematic diagram of a computing device, according to one embodiment of the application.
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.
The code warehouse can store engineering files, and after the engineering files to be stored are uploaded to the code warehouse, the code warehouse can also provide other engineering with remote access to the stored engineering files. In the present application, the code repository is described by taking Jcenter as an example, but is not limited to Jcenter.
FIG. 1 illustrates a flow chart of a method of sub-stacking a warehouse over a plurality of project files according to one embodiment of the application. As shown in fig. 1, the method for sub-stacking warehouses on a plurality of engineering files specifically includes the following steps:
step S101, a common configuration file of a plurality of engineering files is preconfigured.
When the project is subjected to the passcode warehouse, special configuration files are required to be configured for the project so as to meet the requirement of the passcode warehouse, and therefore, when the passcode warehouse is carried out on a plurality of project files, a plurality of configuration files are required to be set. In order to reduce the workload of setting configuration files, in this embodiment, one common configuration file is pre-configured, and multiple engineering files can all use the one common configuration file to realize a passcode warehouse on the multiple engineering files.
The common configuration file comprises code warehouse login related information, code warehouse address information, project file uploading address information, project file version information and the like. The code warehouse login related information comprises a code warehouse login user name, a password, authentication information and the like, and login authentication of the current uploading operation is completed according to the code warehouse login related information when uploading is convenient. The code repository address information identifies the address of the last passcode repository, including information such as website address, git address (remote code repository address), and the like. The project file upload address information identifies address information stored in the code repository for uploading of a plurality of project files. The engineering file version information records information such as version numbers of engineering file updates. In addition to the above information, the common configuration file may include configuration information required by other up-passage code warehouses, such as information of project file group information, project name information, project file type, and the like, according to specific implementation requirements.
Step S102, a reference relation between a plurality of engineering files and a common configuration file is established.
When a passcode warehouse is uploaded, a plurality of engineering files are required to be configured with configuration files. Although the common configuration file can be copied to each engineering file respectively, the common configuration file is required to be copied to each engineering file after each new version of engineering file is uploaded, and the problems of error copying, missing copying and the like are easy to occur, so that the failure of the up-passage code warehouse is caused.
In order to avoid the problem of failure of the up-passage code warehouse caused by repeated copying of multiple up-passes, a plurality of engineering files and a common configuration file are established with reference relation. Specifically, traversing a plurality of engineering files, and sequentially adding path information of a common configuration file into each engineering file to establish a reference relation between the plurality of engineering files and the common configuration file. That is, when uploading the code warehouse, the reference of the engineering files to the common configuration files is completed according to the path information of the common configuration files, and the actual common configuration files are not required to be saved under the path of each engineering file. After the reference relation between a plurality of engineering files and the common configuration file is established for the first time, if the path of the common configuration file is not changed, the common configuration file can be modified only for each subsequent passage of the code warehouse, and the secondary uploading can be completed, so that the workload required by uploading is greatly reduced.
Further, the step can be automatically executed through a preset script file, the preset script file traverses a plurality of engineering files, path information of a shared configuration file is added into the engineering files, and the establishment of the reference relation between the engineering files and the shared configuration file is completed.
Step S103, traversing the plurality of engineering files, sequentially calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse.
By reading an engineering list containing a plurality of engineering file path information, a plurality of engineering file path information can be obtained. And traversing the engineering files in sequence according to the path information of the engineering files, finding out specific engineering files, calling uploading tasks of the engineering files, and uploading the engineering files to a code warehouse. When the uploading task of the engineering file is called, the engineering file and the shared configuration file are in a reference relationship, and the shared configuration file does not exist under the path of the engineering file, so that the information of the shared configuration file is required to be read according to the reference relationship of a plurality of engineering files and the shared configuration file. And finishing operations such as login verification of the code warehouse by using the read information in the shared configuration file, thereby uploading a plurality of engineering files to the code warehouse.
Further, the step can be automatically executed through the preset script file, the engineering list is read through the preset script file, the engineering files are traversed, uploading tasks of the engineering files are sequentially called, and uploading of the engineering files to the code warehouse is completed.
In the embodiment, each step of the method is executed in series through the preset script file, so that the sub-code warehouse on a plurality of engineering files is automatically completed, and the workload of manually uploading the plurality of engineering files is reduced.
According to the method for sub-coding the warehouse on the plurality of engineering files, the common configuration files of the plurality of engineering files are preconfigured; establishing a reference relation between a plurality of engineering files and a common configuration file; traversing the plurality of engineering files, sequentially calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse. The workload required by setting the configuration files for the engineering files respectively can be reduced through the shared configuration file, the reference relation is established between the engineering files and the shared configuration file, the uploading is realized through referencing the shared configuration file during uploading, the complicated operation of setting the configuration files in the engineering files is avoided, the uploading can be completed by directly modifying the shared configuration file during each uploading, and the operation is more convenient. Further, uploading tasks of the engineering files are sequentially called through traversing the engineering files, uploading operation is automatically completed, manual uploading operation is not needed, and possible errors of manual operation are avoided.
FIG. 2 illustrates a flow chart of a method of sub-stacking a warehouse over a plurality of project files according to another embodiment of the application. As shown in fig. 2, the method for sub-stacking warehouses on a plurality of engineering files specifically includes the following steps:
step S201, a common configuration file of a plurality of engineering files is preconfigured.
In order to facilitate automatically uploading the plurality of engineering files to the passcode warehouse and automatically uploading the plurality of engineering files to the passcode warehouse after each updated version, the common configuration file can be preset with information which is irrelevant to the engineering files and the updated version of the engineering files, such as information related to code warehouse login, code warehouse address information and the like, and the information can be suitable for uploading different engineering files and is irrelevant to version information of the engineering files.
For information related to the engineering file itself and related to updated versions of the engineering file, the information required in the common configuration file may be automatically set up for the information of the engineering file itself.
Step S202, according to the names of the project files, the project file old version information of the uploaded project files in the code warehouse is searched.
Step S203, the old version information of the engineering file is subjected to version increasing processing to obtain the engineering file version information of the common configuration file.
For project file version information, it may be set according to the history of project files having been uploaded to the code repository. Specifically, according to the names of a plurality of engineering files which need to be uploaded, the uploaded engineering files, which are consistent with the engineering file names, in the code warehouse are searched, and old version information of the engineering files is obtained. And carrying out version-up processing on the old version information of the engineering file according to the specific rule of the updated version of the engineering file to obtain the version information of the engineering file of the current shared configuration file. If the old version information of the engineering file is 2.3.0, the engineering file version information of the common configuration file is 2.3.1 after the version increasing processing is carried out. By executing this step, the project file version information of the common configuration file can be automatically obtained without manual configuration by the user.
Step S204, according to the names of the engineering files, the uploading address information of the uploaded engineering files in the code warehouse is searched.
Step S205, according to the uploaded project file uploading address information, project file uploading address information of the shared configuration file is obtained.
The uploading address information for the engineering file can be set according to the history record that the engineering file is uploaded to the code warehouse. Specifically, according to the names of a plurality of project files to be uploaded, the uploaded project files, which are consistent with the project file names, in the code warehouse are searched, and uploading address information of the uploaded project files is obtained. And taking the uploaded project file uploading address information as project file uploading address information of the current shared configuration file, so that the new project file uploaded again can cover the previous project file. By executing the step, the project file uploading address information of the common configuration file can be automatically obtained, and manual configuration of a user is not needed.
In this embodiment, after the information, which is irrelevant to the engineering file itself and the updated version of the engineering file, in the common configuration file is set once, the common configuration file can be suitable for uploading any multiple engineering files, and is not affected by any uploading address and version of the engineering file, and can be reused. The problem that the shared configuration file needs to be repeatedly modified due to the influences of different uploading address information, version updating and the like of the engineering file is solved, and the workload of modification is reduced. Before uploading, the project file uploading address information is automatically searched and positioned and the project file version information is updated through the project file name, so that the workload in the whole uploading process is reduced, the personnel cost is saved, the uploading processing efficiency is improved, and the method is more rapid and convenient.
The execution order of the steps S202, S203, S204, and S205 is not limited, and the steps S202, S203 may be executed first, and then the steps S204, S205 may be executed, or the steps S204, S205 may be executed first, and then the steps S202, S203 may be executed.
Step S206, establishing a reference relation between a plurality of engineering files and a common configuration file.
Step S207, traversing the plurality of engineering files, sequentially calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse.
The above steps may refer to the descriptions of steps S102-S103 in the embodiment of fig. 1, and are not repeated here. It should be noted that, here, the uploading task may be manually added to a plurality of engineering files, more preferably, after the engineering files are determined according to the path information of the plurality of engineering files, the uploading task is automatically added to each engineering file, and then the uploading tasks of the plurality of engineering files are sequentially invoked to complete uploading of the plurality of engineering files to the code warehouse, so that the whole method is executed with less workload and personnel cost.
According to the method for sub-coding the warehouse on the plurality of engineering files, the information irrelevant to the engineering files and the updated version of the engineering files is configured in the common configuration file, and before uploading, the uploading address information of the engineering files and the version information of the updated engineering files are automatically searched and positioned through the names of the engineering files, so that the common configuration file can be suitable for uploading any plurality of engineering files, is not influenced by the uploading address and the version of any engineering files, and can be reused. The method has the advantages of reducing the influence of different uploading address information and version updating of engineering files and the like, repeatedly modifying the shared configuration files, reducing the workload of modification, saving personnel cost, improving the uploading processing efficiency, and being more rapid and convenient.
FIG. 3 illustrates a functional block diagram of an apparatus for a passcode warehouse over a plurality of project files according to one embodiment of the application. As shown in fig. 3, the device for sub-stacking warehouses on a plurality of engineering files comprises the following modules:
the configuration module 310 is adapted to: a common configuration file of a plurality of engineering files is preconfigured.
The referencing module 320 is adapted to: and establishing a reference relation between a plurality of engineering files and the common configuration file.
The upload module 330 is adapted to: traversing the plurality of engineering files, sequentially calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse.
Optionally, the referencing module 320 is further adapted to: traversing the plurality of engineering files, and sequentially adding path information of the common configuration file into each engineering file to establish a reference relation between the plurality of engineering files and the common configuration file.
Optionally, the configuration module 310 further includes: version module 311.
The version module 311 is adapted to: according to the names of the engineering files, searching the old version information of the engineering files uploaded in the code warehouse; and carrying out version-up processing on the old version information of the engineering file to obtain the version information of the engineering file of the common configuration file.
Optionally, the configuration module 310 further includes: an address module 312.
The address module 312 is adapted to: searching the uploading address information of the uploaded engineering files of the code warehouse according to the names of the plurality of engineering files; and obtaining the project file uploading address information of the common configuration file according to the uploaded project file uploading address information.
Optionally, the upload module 330 is further adapted to: reading an engineering list containing path information of a plurality of engineering files; and traversing the engineering files in sequence according to the acquired path information of the engineering files, calling uploading tasks of the engineering files, and completing uploading the engineering files to a code warehouse.
Optionally, the upload module 330 is further adapted to: invoking uploading tasks of a plurality of engineering files, and reading a common configuration file according to the reference relation between the engineering files and the common configuration file; according to the shared configuration file, login verification of the code warehouse is realized, and uploading of a plurality of engineering files to the code warehouse is completed.
The above descriptions of the modules refer to the corresponding descriptions in the method embodiments, and are not repeated herein.
The application also provides a non-volatile computer storage medium which stores at least one executable instruction, and the computer executable instruction can execute the method for sub-coding the warehouse on the plurality of engineering files in any method embodiment.
FIG. 4 illustrates a schematic diagram of a computing device, according to one embodiment of the application, the particular embodiment of the application not being limited to a particular implementation of the computing device.
As shown in fig. 4, the computing device may include: a processor 402, a communication interface (Communications Interface) 404, a memory 406, and a communication bus 408.
Wherein:
processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
Processor 402 is configured to execute program 410, and may specifically perform the relevant steps in the method embodiment of the passcode repository on a plurality of engineering files.
In particular, program 410 may include program code including computer-operating instructions.
The processor 402 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present application. The one or more processors included by the computing device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 406 for storing programs 410. Memory 406 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Program 410 may be specifically configured to cause processor 402 to perform the method of the passcode repository on a plurality of engineering files in any of the method embodiments described above. The specific implementation of each step in the procedure 410 may refer to corresponding descriptions in the corresponding steps and units in the embodiment of the passcode warehouse on the plurality of engineering files, which are not described herein. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedure descriptions in the foregoing method embodiments, which are not repeated herein.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present application is not directed to any particular programming language. It will be appreciated that the teachings of the present application described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present application.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application 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 application, various features of the application 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 construed as reflecting the intention that: i.e., the claimed application 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 application.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. 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. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units 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 but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
Various component embodiments of the application 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 of an apparatus for a passcode warehouse on multiple project files according to an embodiment of the application. The present application can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present application may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, 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 application 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 use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (15)

1. A method of passaging a warehouse over a plurality of engineering files, comprising:
pre-configuring a common configuration file of a plurality of engineering files;
establishing a reference relation between the plurality of engineering files and the common configuration file;
traversing a plurality of engineering files, sequentially calling uploading tasks of the engineering files, and finishing uploading the engineering files to a code warehouse;
the establishing the referencing relationship between the plurality of engineering files and the common configuration file further includes:
traversing a plurality of engineering files, and sequentially adding path information of the common configuration file into each engineering file to establish a reference relation between the plurality of engineering files and the common configuration file;
the step of calling the uploading task of the plurality of engineering files to complete uploading the plurality of engineering files to a code warehouse further comprises:
invoking uploading tasks of the engineering files, and reading the common configuration file according to the reference relation;
and uploading a plurality of engineering files to a code warehouse according to the common configuration file.
2. The method of claim 1, wherein the pre-configuring the common configuration file of the plurality of engineering files further comprises:
according to the names of the engineering files, searching the old version information of the engineering files uploaded in the code warehouse;
and carrying out version-up processing on the old version information of the engineering file to obtain the engineering file version information of the common configuration file.
3. The method of claim 1, wherein the pre-configuring the common configuration file of the plurality of engineering files further comprises:
searching the uploading address information of the uploaded engineering files of the code warehouse according to the names of the plurality of engineering files;
and obtaining the project file uploading address information of the common configuration file according to the uploaded project file uploading address information.
4. The method of claim 1, wherein traversing the plurality of project files, sequentially invoking the upload tasks of the plurality of project files, completing uploading the plurality of project files to a code repository further comprises:
reading an engineering list containing path information of a plurality of engineering files;
and traversing the plurality of engineering files in sequence according to the acquired path information of the plurality of engineering files, calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse.
5. The method of claim 1, wherein the completing uploading a plurality of project files to a code repository according to the common configuration file further comprises:
and according to the shared configuration file, realizing login verification of the code warehouse, and finishing uploading a plurality of engineering files to the code warehouse.
6. The method of any of claims 1-5, wherein the common configuration file contains code repository login-related information, code repository address information, project file upload address information, and/or project file version information.
7. An apparatus for passcode warehousing across a plurality of engineering documents, comprising:
the configuration module is suitable for pre-configuring a common configuration file of a plurality of engineering files;
the reference module is suitable for establishing a reference relation between the plurality of engineering files and the common configuration file;
the uploading module is suitable for traversing a plurality of engineering files, sequentially calling uploading tasks of the engineering files and finishing uploading the engineering files to the code warehouse;
the reference module is further adapted to traverse a plurality of engineering files, and sequentially add path information of the shared configuration file into each engineering file so as to establish a reference relationship between the plurality of engineering files and the shared configuration file;
the uploading module is further adapted to call uploading tasks of the plurality of engineering files and read the common configuration file according to the reference relation; and uploading a plurality of engineering files to a code warehouse according to the common configuration file.
8. The apparatus of claim 7, wherein the referencing module is further adapted to:
traversing a plurality of engineering files, and sequentially adding path information of the common configuration file into each engineering file to establish a reference relation between the plurality of engineering files and the common configuration file.
9. The apparatus of claim 7, wherein the configuration module further comprises:
the version module is suitable for searching engineering file old version information of the uploaded engineering files in the code warehouse according to the names of the engineering files; and carrying out version-up processing on the old version information of the engineering file to obtain the engineering file version information of the common configuration file.
10. The apparatus of claim 7, wherein the configuration module further comprises:
the address module is suitable for searching the uploaded address information of the engineering files uploaded by the code warehouse according to the names of the engineering files; and obtaining the project file uploading address information of the common configuration file according to the uploaded project file uploading address information.
11. The apparatus of claim 7, wherein the upload module is further adapted to:
reading an engineering list containing path information of a plurality of engineering files; and traversing the plurality of engineering files in sequence according to the acquired path information of the plurality of engineering files, calling uploading tasks of the plurality of engineering files, and completing uploading the plurality of engineering files to a code warehouse.
12. The apparatus of claim 11, wherein the upload module is further adapted to:
invoking uploading tasks of the engineering files, and reading the common configuration file according to the reference relation between the engineering files and the common configuration file; and according to the shared configuration file, realizing login verification of the code warehouse, and finishing uploading a plurality of engineering files to the code warehouse.
13. The apparatus of any of claims 7-12, wherein the common configuration file contains code repository login-related information, code repository address information, project file upload address information, and/or project file version information.
14. A computing device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform operations corresponding to the method of the passcode warehouse on a plurality of project files of any one of claims 1-6.
15. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method of passcode warehousing on a plurality of engineering files of any one of claims 1-6.
CN201811526278.7A 2018-12-13 2018-12-13 Method and device for sub-coding warehouse on multiple engineering files and computing equipment Active CN111324373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811526278.7A CN111324373B (en) 2018-12-13 2018-12-13 Method and device for sub-coding warehouse on multiple engineering files and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811526278.7A CN111324373B (en) 2018-12-13 2018-12-13 Method and device for sub-coding warehouse on multiple engineering files and computing equipment

Publications (2)

Publication Number Publication Date
CN111324373A CN111324373A (en) 2020-06-23
CN111324373B true CN111324373B (en) 2023-12-05

Family

ID=71162898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811526278.7A Active CN111324373B (en) 2018-12-13 2018-12-13 Method and device for sub-coding warehouse on multiple engineering files and computing equipment

Country Status (1)

Country Link
CN (1) CN111324373B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282541B (en) * 2021-06-04 2023-08-11 网易(杭州)网络有限公司 File calling method and device and electronic equipment
CN113268288B (en) * 2021-07-19 2022-06-03 天聚地合(苏州)数据股份有限公司 Shared file configuration method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011126507A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Apparatus and method for matching users for online sessions
CN105653253A (en) * 2014-12-02 2016-06-08 中兴通讯股份有限公司 Method and device for centralized configuration
CN105760168A (en) * 2016-02-23 2016-07-13 深圳竹信科技有限公司 Automatic code file generation method and system
WO2017071494A1 (en) * 2015-10-26 2017-05-04 阿里巴巴集团控股有限公司 Application deployment method and apparatus
CN107122203A (en) * 2017-03-20 2017-09-01 武汉斗鱼网络科技有限公司 The method to set up and device of a kind of configuration file
CN107291458A (en) * 2017-06-06 2017-10-24 北京知道创宇信息技术有限公司 A kind of plug-in unit construction method, system and the server of Web applications
CN107357571A (en) * 2017-06-20 2017-11-17 珠海格力电器股份有限公司 Maintaining method, system and the component server of apparatus assembly program
CN107579865A (en) * 2017-10-18 2018-01-12 北京奇虎科技有限公司 Right management method, the apparatus and system of distributed code server
US9875097B2 (en) * 2015-02-25 2018-01-23 Red Hat, Inc. Applying configuration alignment in build projects
CN107656734A (en) * 2017-08-21 2018-02-02 北京北信源软件股份有限公司 Update method, system, computer-readable recording medium and the storage control of code release information
CN107729031A (en) * 2017-08-25 2018-02-23 上海壹账通金融科技有限公司 Code administration method, apparatus, computer equipment and computer-readable recording medium
CN108563435A (en) * 2018-04-19 2018-09-21 北京百度网讯科技有限公司 The method and device of code building

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011126507A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Apparatus and method for matching users for online sessions
CN105653253A (en) * 2014-12-02 2016-06-08 中兴通讯股份有限公司 Method and device for centralized configuration
US9875097B2 (en) * 2015-02-25 2018-01-23 Red Hat, Inc. Applying configuration alignment in build projects
WO2017071494A1 (en) * 2015-10-26 2017-05-04 阿里巴巴集团控股有限公司 Application deployment method and apparatus
CN105760168A (en) * 2016-02-23 2016-07-13 深圳竹信科技有限公司 Automatic code file generation method and system
CN107122203A (en) * 2017-03-20 2017-09-01 武汉斗鱼网络科技有限公司 The method to set up and device of a kind of configuration file
CN107291458A (en) * 2017-06-06 2017-10-24 北京知道创宇信息技术有限公司 A kind of plug-in unit construction method, system and the server of Web applications
CN107357571A (en) * 2017-06-20 2017-11-17 珠海格力电器股份有限公司 Maintaining method, system and the component server of apparatus assembly program
CN107656734A (en) * 2017-08-21 2018-02-02 北京北信源软件股份有限公司 Update method, system, computer-readable recording medium and the storage control of code release information
CN107729031A (en) * 2017-08-25 2018-02-23 上海壹账通金融科技有限公司 Code administration method, apparatus, computer equipment and computer-readable recording medium
CN107579865A (en) * 2017-10-18 2018-01-12 北京奇虎科技有限公司 Right management method, the apparatus and system of distributed code server
CN108563435A (en) * 2018-04-19 2018-09-21 北京百度网讯科技有限公司 The method and device of code building

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Mining the Modern Code Review Repositories: A Dataset of People, Process and Product;Xin Yang 等;《2016 IEEE/ACM 13th Working Conference on Mining Software Repositories》;460-463 *
基于PaaS的容器引擎管理平台的设计及实现;张婧茹;《中国优秀硕士学位论文全文数据库 信息科技辑》;I139-407 *

Also Published As

Publication number Publication date
CN111324373A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN102841841B (en) A kind of test asserts processing method and system
JP2021500658A (en) Computer implementation methods, systems, and computer program products that perform interactive workflows, as well as computer programs.
US8078914B2 (en) Open error-handling system
CN111782339B (en) Container creation method and device, electronic equipment and storage medium
US9460109B1 (en) Centralized provisioning process leveraging network attached storage
EP2807556A1 (en) Application installation
US8793535B2 (en) Optimizing system usage when running quality tests in a virtual machine environment
US20190087208A1 (en) Method and apparatus for loading elf file of linux system in windows system
US9542173B2 (en) Dependency handling for software extensions
CN110297808B (en) File modification method and device for container application, computer equipment and storage medium
CN111324373B (en) Method and device for sub-coding warehouse on multiple engineering files and computing equipment
WO2019223172A1 (en) Kettle task scheduling method and system, computer device, and storage medium
CN111124480A (en) Application package generation method and device, electronic equipment and storage medium
US10929279B2 (en) Systems and method for automated testing framework for service portal catalog
US11544050B1 (en) Software patch automation
US8539048B2 (en) Electronic device and method for loading configuration files using the same
CN108733758B (en) Hotel static data pushing method and device, electronic equipment and readable storage medium
US11347533B2 (en) Enhanced virtual machine image management system
CN110187890B (en) Project deployment method, electronic equipment and storage medium
CN111124545A (en) Application program starting method and device, electronic equipment and storage medium
CN112559118A (en) Application data migration method and device, electronic equipment and storage medium
CN107992749B (en) Method and device for detecting conflict of patch packages
WO2019091216A1 (en) Data management method and apparatus, computing device and storage medium
CN109582396B (en) Task state processing method, device and system and storage medium
CN112035432B (en) Data replacement migration method and device and computer equipment

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