CN101477467A - Project code releasing method - Google Patents

Project code releasing method Download PDF

Info

Publication number
CN101477467A
CN101477467A CNA2008102381197A CN200810238119A CN101477467A CN 101477467 A CN101477467 A CN 101477467A CN A2008102381197 A CNA2008102381197 A CN A2008102381197A CN 200810238119 A CN200810238119 A CN 200810238119A CN 101477467 A CN101477467 A CN 101477467A
Authority
CN
China
Prior art keywords
version
issue
automatically
repository
code
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.)
Pending
Application number
CNA2008102381197A
Other languages
Chinese (zh)
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.)
Inspur Software Co Ltd
Original Assignee
Langchao Qilu Software Industry 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 Langchao Qilu Software Industry Co Ltd filed Critical Langchao Qilu Software Industry Co Ltd
Priority to CNA2008102381197A priority Critical patent/CN101477467A/en
Publication of CN101477467A publication Critical patent/CN101477467A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method for distributing item codes. The method comprises the following steps: automatically checking out needed codes from a configuration library, putting in a specified compiling directory; automatically calling the compilation method of a compiler to convert codes into execution codes, and packing the execution codes to a complete product package or an independent upgrade package. A configuring administrator just needs to check relevant logs and judges whether the codes are compiled correctly or not, if yes, the packed software is released to a target environment. The invention has the advantages that the problems, such as the code selection by the configuring administrator, and the compilation, are solved; the releasing time is greatly compressed; the releasing promptness is improved; and the operation on tools compiled according to the method after the completion of the intraday work by the configuring administrator can enable the upgrade package to be finished, so that the item codes distribution can be finished by just sending the upgrade package to the target environment and just costs 0.5-1 hour.

Description

A kind of method of item code issue
Technical field
The present invention is applicable to computer realm, mainly is the method that in a kind of medium-and-large-sized software project performance history code is published to testing server and produces environment such as server from configuration management server.The present invention has been verified under Harvest (a kind of configuration management tool), Java (a kind of development language), Eclipse (a kind of can as the instrument of Java development platform) environment to be feasible and to have brought good benefit for the change issuing process of product.
Background technology
In the large software R﹠D process, there are the code development personnel more than tens to carry out coding work, the research and development of products center will constantly be published to the code unification research and development test environment on stream and test, method originally needs the special messenger and concentrates and to pick out the code of revising in the certain hour one by one detect unified translation and compiling environment from repository, the unified run time version that is compiled into, be published in the targeted environment then, this work is quite wasted time and energy, the code that general medium-and-large-sized project is issued change at every turn may just relate to thousands of code files, be distributed in tens literature kit, the code issue personnel come out these code manual extraction, only this situation that everything goes well with your work needs the working time of special messenger's several hrs, labor intensive not only, and cause code can not be published to targeted environment as early as possible, influence the work of next stage, caused the delay of project overall progress.
Summary of the invention
The method of code issue of the present invention, it is the method that the process of arrangement software product release that will be original complicated is converted to the process that a kind of machine automatically performs, can put code automatically in order and produce the version bag, and can select the code packages of needs freely according to the situation of project, can be according to the actual conditions generation of manual intervention version bag in the case of necessary, to satisfy the needs of upgraded version.
The objective of the invention is to realize in the following manner, according to the actual content of change issue and the requirement of product version issue, all supporting papers of automatic tissue products edition upgrading code packages and issue, guide item release upgrade version, its key step is as follows:
A) code detects, compiles;
B) colophon generates;
C) problem solves the inventory generation;
D) disposing supporting paper generates
E) arrangement generates the wooden AKU of version.
Wherein:
Problem solves inventory and generates automatically, is the inventory that the extraction problem solves from repository, and tissue becomes issue list supporting paper automatically.
The interface of finishing repository and compilation tool comprises:
1) finishes the repository interface and detect code packages as required automatically, and be published to corresponding position;
2) code compile finished automatically the relevant position of compilation tool interface becomes the machine run time version, generates formal release process file.
Automatically write down the course and the imprint of version issue, set up the version repository management system at research and development of products center, the historical record of record version, comprise the issue list that each version solves and dispose the relevant information of version that illustrates, and the complete content of product up-gradation version is put into repository to guarantee the history traceability of version.
Version number generates automatically, and the relation between each version is done corresponding description, and the version that this description is included in the vncsion history storehouse is disposed supporting paper, guarantees the integrality and the consistance in entire product upgraded version storehouse.
Beneficial effect of the present invention is: provide one to detect the code that needs automatically from repository, the unified compiling catalogue that is put into appointment, and call the Compilation Method of compiler automatically, with code conversion is run time version, then run time version is packaged as a complete product bag or AKU independently.Configuration Management Officer only need be checked relevant daily record, sees the compiling that code is whether correct, as normally then the software upgrade package of accomplishing fluently being published to targeted environment.This method has solved the problem that Configuration Management Officer is selected code, compiling, has compressed the time of issue greatly, improves the promptness of issue.Make Configuration Management Officer finish the work on the same day and move the instrument of writing according to this method later on, can finish AKU, be published to targeted environment and get final product (generally only needing 0.5-1 hour) the code development personnel.
Description of drawings:
Accompanying drawing 1 is the procedure chart that the version associated documents compile becomes complete application package.
Accompanying drawing 2 is generative process figure of version file
Embodiment
The concrete steps that realize the inventive method are as follows:
1, the version file that will need from repository the inside to pack is put the catalogue (bibliographic structure is according to the structural requirement of project product) of correspondence automatically in order, packing issues points for attention in addition simultaneously, deployment configuration mode and data change file (general operation system all has the corresponding database support) or the like content, like this, after using the compilation tool compiling to finish, the system of catalogs of application version and the file system such as explanation of issue have just directly been generated, only need to use suitable install software to make duty and make installation file (if application system complexity, generate installation file and have little significance, can directly this document project of being sent to be got final product for issuing process) can finish the original extremely complicated process of this piece.
2, after version file generates, can be automatically in version repository (can be database or file system) the current version number of record, problem that issue solves or the like relevant information of this version, generate the complete documentation of a version change process of research and development centre.Can inquire about former colophon situation for the version user, the contact details between each version bag of acquisition product.When generating, version file (data) can set up the dependence between each version directly with reference to record in the version repository.
3, the present invention can be based on the management of a plurality of projects in project type research and development of products center, in repository, disposed simultaneously under the situation that a plurality of projects need unify to manage, the configuration management personnel can realize the intersection issue of a plurality of projects by selecting different projects, and the version separate records of each project can form the complete change of product storehouse of whole research and development centre.
Embodiment
The present invention is based on the configuration management tool (as Harvest etc.) of complete release phase management function, system based on the Java language exploitation, can use compiling platform such as Eclipse (a kind of instrument that can be used as the Java language development environment) etc., adopt Ant (instrument of a kind of Java) to drive compilation process, generate the file that compiling is finished.
The groundwork step comprises: early-stage preparations (scope of this issue determine), arrangement generate interim APMB package catalogue, use compilation tool compiling, the assembled version literature kit, generate version flag file, complete six steps such as issue bag of formation, being described as follows of this six steps:
1, early-stage preparations:
According to different issue demands (developing engine, test machine, production machine), select different release phase (each stage can have a lot of files), and select the version that is associated, determine the range content of this issue.
The fundamental purpose of early-stage preparations is file contents of this issue of delineation, avoids occurring the file omission or repeat issue making the mistake.
2, generate interim APMB package order
According to the release phase of selecting, put All Files in order appointed positions from the repository the inside and (control documents record content commonly used can be arranged, such as: the file of directory location, compile mode, needs association etc., needn't go to select) at every turn, and, generate the corresponding file structure according to the system of catalogs of application program.
This stage need be called the interface of configuration management tool, and (general configuration management tool all provides corresponding API, at any time call when being convenient to secondary development), the highest version of the file in selected stage is taken out, and the lowest version of avoiding a file repeatedly to revise causing covers the problem of highest version.
Annotate: this puts the file that comes out in order in a temp directory from repository, only comprise the file that this need change, and is not the All Files of application system.
3, compiling file
Start and (according to the configuration item of static state) the ant instrument of setting, will formulate the document copying that needs to compile under the catalogue in the translation and compiling environment of appointment, compiling file.
What guarantee the ant setting during compiling is part compiling (only at the change file compiling, because the file of each change can not be the All Files of application system), to avoid the long waste of time that causes of compilation time.
Annotate: in the file that compiling is finished, may comprise all application compiling files, and be not only the file that this need change.
4, assembled version literature kit
The file that arrangement in the repository is come out, file and some supporting paper that compiling is finished gather according to the designated directory structure, generate a complete change file bibliographic structure.
The version file bibliographic structure that is assembled into must meet application system designated directory structure, will be stored in corresponding formulation position such as the path of java class, the path of jsp etc.Directly covering application system when the assurance system issues gets final product.
Need in the issue explanation, particularly point out for configuration file of personalization or the like, and in final issue catalogue, will avoid the name noting marker of these files mistake to cover the file of user's production system, cause damage.
5, generate the version flag file
The associated version of extracting version existing in the version repository and selecting in the stage 1 generates new version flag file, according to some explanations (developer writes on stream) in this change bag, the supporting paper that generates change (generally is text formatting, to guarantee that the user can easily open), in the change bibliographic structure that the version flag document copying was generated to the stage 4.
Need simultaneously the related content of version flag file and supporting paper is recorded in the database, form the complete product change record of research and development centre.
Version flag generally comprises: contents such as version number, date of formation, dependence version.
Change record comprises: contents such as sequence number, corresponding version number, raiser, date of presentation, solution people, solution date, problem description, solution.
6, form complete issue bag
The file that above step is generated is packaged as a complete change bag or generates installation kit with the installation file Core Generator, promptly finishes the complete issuing process of a change version.

Claims (6)

1, a kind of method of item code issue, it is characterized in that, be according to the actual content of change issue and the requirement of product version issue, all supporting papers of tissue products edition upgrading code packages and issue automatically, guide item release upgrade version, its key step is as follows:
A) code detects, compiles;
B) colophon generates;
C) problem solves the inventory generation;
D) disposing supporting paper generates
E) arrangement generates upgrade edition upgrade pack.
2, method according to claim 1 is characterized in that automatic requirement according to the product issue, detects corresponding code and compiling and generate product issue bag from repository.
3, method according to claim 1 is characterized in that, problem solves inventory and generates automatically, is the inventory that the extraction problem solves from repository, and tissue becomes issue list supporting paper automatically.
4, according to claim 2,3 described methods, it is characterized in that the interface of finishing repository and compilation tool comprises:
F) finish the repository interface and detect code packages as required automatically, and be published to corresponding position;
G) code compile finished automatically the relevant position of compilation tool interface becomes the machine run time version, generates formal release process file.
5, method according to claim 1, it is characterized in that, automatically write down the course and the imprint of version issue, set up the version repository management system at research and development of products center, the historical record of record version, comprise the issue list that each version solves and dispose the relevant information of version that illustrates, and the complete content of product up-gradation version is put into repository to guarantee the history traceability of version.
6, claim 1,5 described methods, version number generates automatically, and the relation between each version is done corresponding description, and the version that this description is included in the vncsion history storehouse is disposed supporting paper, guarantees the integrality and the consistance in entire product upgraded version storehouse.
CNA2008102381197A 2008-12-08 2008-12-08 Project code releasing method Pending CN101477467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102381197A CN101477467A (en) 2008-12-08 2008-12-08 Project code releasing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102381197A CN101477467A (en) 2008-12-08 2008-12-08 Project code releasing method

Publications (1)

Publication Number Publication Date
CN101477467A true CN101477467A (en) 2009-07-08

Family

ID=40838189

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102381197A Pending CN101477467A (en) 2008-12-08 2008-12-08 Project code releasing method

Country Status (1)

Country Link
CN (1) CN101477467A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156643A (en) * 2011-04-25 2011-08-17 青岛海信传媒网络技术有限公司 Software integration method and system thereof
CN102591667A (en) * 2012-01-16 2012-07-18 深圳市同洲视讯传媒有限公司 Method and device for remote publishing application
CN102779037A (en) * 2012-05-22 2012-11-14 杭州斯凯网络科技有限公司 Visual programming method for automatically generating and uniformly maintaining java items
CN103279339A (en) * 2013-04-22 2013-09-04 新浪网技术(中国)有限公司 Code on-line system and method
CN103593183A (en) * 2013-11-01 2014-02-19 浪潮电子信息产业股份有限公司 Construction method for system compatible with mainline version and OEM versions
CN103890722A (en) * 2011-11-06 2014-06-25 国际商业机器公司 Using traceability links strength for software development integrity monitoring
CN104077217A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Method and system for compiling and issuing code file
CN104573075A (en) * 2015-01-26 2015-04-29 浪潮(北京)电子信息产业有限公司 Management method and system for research and development of application codes
CN104866305A (en) * 2015-04-30 2015-08-26 闻泰通讯股份有限公司 Method for self-recognition of optimum compiling mechanism
CN105468428A (en) * 2015-12-04 2016-04-06 上海斐讯数据通信技术有限公司 Android source code compiling method and system
CN106020991A (en) * 2016-05-13 2016-10-12 北京思特奇信息技术股份有限公司 Application synchronization and release method and system based on cloud environment
CN106610854A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Model update method and device
CN106648786A (en) * 2016-12-28 2017-05-10 深圳Tcl数字技术有限公司 Android application establishment method and system
CN106685729A (en) * 2017-01-18 2017-05-17 郑州云海信息技术有限公司 Service configuration management method and system
CN106843855A (en) * 2016-12-29 2017-06-13 北京市天元网络技术股份有限公司 The packaging method and device of a kind of summary file
CN107783763A (en) * 2017-09-29 2018-03-09 乐蜜有限公司 A kind of application program generation method, device, server and readable storage medium storing program for executing
CN107832089A (en) * 2017-11-10 2018-03-23 惠州市德赛西威汽车电子股份有限公司 A kind of method of updating software version automatically number
CN108089864A (en) * 2016-11-14 2018-05-29 平安科技(深圳)有限公司 Application development method and device
CN108563442A (en) * 2018-02-28 2018-09-21 北京智行鸿远汽车有限公司 Code compiling method and device
CN109558163A (en) * 2018-11-09 2019-04-02 中国核动力研究设计院 A kind of version generation and management method based on operating file in controller
CN109558121A (en) * 2018-11-26 2019-04-02 上海达梦数据库有限公司 Development approach, device, equipment and the storage medium of interface drive program
CN111880834A (en) * 2020-07-07 2020-11-03 成都榕慧科技有限公司 Code release method and device, electronic equipment and computer medium

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156643A (en) * 2011-04-25 2011-08-17 青岛海信传媒网络技术有限公司 Software integration method and system thereof
CN103890722A (en) * 2011-11-06 2014-06-25 国际商业机器公司 Using traceability links strength for software development integrity monitoring
CN103890722B (en) * 2011-11-06 2016-11-16 国际商业机器公司 Use trackability link strength for software development integrity monitoring
CN102591667A (en) * 2012-01-16 2012-07-18 深圳市同洲视讯传媒有限公司 Method and device for remote publishing application
CN102591667B (en) * 2012-01-16 2015-05-27 深圳市同洲电子股份有限公司 Method and device for remote publishing application
CN102779037B (en) * 2012-05-22 2015-11-18 杭州斯凯网络科技有限公司 A kind of automatic generation and the unified visual programming method safeguarding java project
CN102779037A (en) * 2012-05-22 2012-11-14 杭州斯凯网络科技有限公司 Visual programming method for automatically generating and uniformly maintaining java items
CN104077217A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Method and system for compiling and issuing code file
CN104077217B (en) * 2013-03-28 2017-11-10 腾讯科技(深圳)有限公司 The compiling dissemination method and system of code file
CN103279339A (en) * 2013-04-22 2013-09-04 新浪网技术(中国)有限公司 Code on-line system and method
CN103279339B (en) * 2013-04-22 2016-08-10 新浪网技术(中国)有限公司 A kind of code on-line system and method
CN103593183A (en) * 2013-11-01 2014-02-19 浪潮电子信息产业股份有限公司 Construction method for system compatible with mainline version and OEM versions
CN104573075A (en) * 2015-01-26 2015-04-29 浪潮(北京)电子信息产业有限公司 Management method and system for research and development of application codes
CN104866305A (en) * 2015-04-30 2015-08-26 闻泰通讯股份有限公司 Method for self-recognition of optimum compiling mechanism
CN106610854A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Model update method and device
CN106610854B (en) * 2015-10-26 2020-02-18 阿里巴巴集团控股有限公司 Model updating method and device
CN105468428A (en) * 2015-12-04 2016-04-06 上海斐讯数据通信技术有限公司 Android source code compiling method and system
CN105468428B (en) * 2015-12-04 2018-07-06 上海斐讯数据通信技术有限公司 A kind of Android compilation of source code method and system
CN106020991A (en) * 2016-05-13 2016-10-12 北京思特奇信息技术股份有限公司 Application synchronization and release method and system based on cloud environment
CN108089864A (en) * 2016-11-14 2018-05-29 平安科技(深圳)有限公司 Application development method and device
CN106648786A (en) * 2016-12-28 2017-05-10 深圳Tcl数字技术有限公司 Android application establishment method and system
CN106843855A (en) * 2016-12-29 2017-06-13 北京市天元网络技术股份有限公司 The packaging method and device of a kind of summary file
CN106843855B (en) * 2016-12-29 2020-07-07 北京市天元网络技术股份有限公司 Method and device for packaging summarized files
CN106685729A (en) * 2017-01-18 2017-05-17 郑州云海信息技术有限公司 Service configuration management method and system
CN107783763A (en) * 2017-09-29 2018-03-09 乐蜜有限公司 A kind of application program generation method, device, server and readable storage medium storing program for executing
CN107832089B (en) * 2017-11-10 2021-01-01 惠州市德赛西威汽车电子股份有限公司 Method for automatically updating software version number
CN107832089A (en) * 2017-11-10 2018-03-23 惠州市德赛西威汽车电子股份有限公司 A kind of method of updating software version automatically number
CN108563442A (en) * 2018-02-28 2018-09-21 北京智行鸿远汽车有限公司 Code compiling method and device
CN109558163A (en) * 2018-11-09 2019-04-02 中国核动力研究设计院 A kind of version generation and management method based on operating file in controller
CN109558163B (en) * 2018-11-09 2021-12-17 中核控制***工程有限公司 Version generation and management method based on running file in controller
CN109558121A (en) * 2018-11-26 2019-04-02 上海达梦数据库有限公司 Development approach, device, equipment and the storage medium of interface drive program
CN109558121B (en) * 2018-11-26 2022-03-11 上海达梦数据库有限公司 Interface driver development method, device, equipment and storage medium
CN111880834A (en) * 2020-07-07 2020-11-03 成都榕慧科技有限公司 Code release method and device, electronic equipment and computer medium
CN111880834B (en) * 2020-07-07 2024-02-09 成都榕慧科技有限公司 Code issuing method, device, electronic equipment and computer medium

Similar Documents

Publication Publication Date Title
CN101477467A (en) Project code releasing method
US9304764B2 (en) Automated merging in a software development environment
US7904484B2 (en) Incremental packaging
Hillah et al. PNML Framework: an extendable reference implementation of the Petri Net Markup Language
CN102270128B (en) Storehouse consistency checker
WO2001082071A1 (en) Methods and systems for supporting and deploying distributed computing components
CN101002174B (en) Method for loading software with an intermediate object oriented language in a portable device
CN101617294A (en) The improvement of component-based development
CN109240669A (en) A kind of integrated deployment software development model of automation
EP2417543A2 (en) Software database system and process of building and operating the same
CN101937336A (en) Software asset bundling and consumption method and system
CN112083948B (en) Automatic construction and deployment method and tool based on data configuration
Javed et al. Safety-oriented process line engineering via seamless integration between EPF composer and BVR tool
CN104572238A (en) Method and system for generating executable software package efficiently
CN102696026A (en) Efficient immutable syntax representation with incremental change
CN101866315A (en) Test method and system of software development tool
CN108228170A (en) A kind of embedded software componentization customizes assemble method
CN110647349B (en) Method for realizing continuous delivery of iOS APP
Hadri et al. Software usage on Cray systems across three centers (NICS, ORNL and CSCS)
CN112597037B (en) Java and Python combined automatic script development method and device
CN114115890A (en) Micro-service development method and system
Di Ruscio et al. Towards maintainer script modernization in FOSS distributions
Hegde et al. Package Management System in Linux
US20120330878A1 (en) Conventions for inferring data models
Devauchelle et al. PICGAL: practical use of formal specification to develop a complex critical system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090708