发明名称 Automated patch generation
摘要 A computer-implemented method, computer program product, and computing system is provided for generating software patches. In an implementation, a method may include receiving an indication of a software product and a product level of the software product. An indication of a specific defect associated with the software product and the product level may be received. A defect change-set associated with a correction of the specific defect may be identified. An overlapping change-set may be determined based on, at least in part, a source control history associated with the software product. The overlapping change set may occur between the product level and the defect change-set in the source control history and may implicate at least one common file with the defect change-set. A software patch correcting the specific defect may be generated based on the defect change-set and the overlapping change-set.
申请公布号 US9594550(B2) 申请公布日期 2017.03.14
申请号 US201414198866 申请日期 2014.03.06
申请人 International Business Machines Corporation 发明人 Hey Laurence A.;Izard William J.;Ponsford Matthew J.
分类号 G06F9/44;G06F9/445;G06F11/36 主分类号 G06F9/44
代理机构 Holland & Knight LLP 代理人 Colandreo, Esq. Brian J.;Placker, Esq. Jeffrey T.;Holland & Knight LLP
主权项 1. A computer-implemented method comprising: receiving, by a processor, an indication of a software product and a product level of the software product; receiving, by the processor, an indication of a specific defect associated with the software product and the product level; automatically identifying, by the processor, a defect change-set associated with a correction of the specific defect based upon, at least in part, a source control history; automatically identifying, by the processor, a source code change to at least one common file that changed between the product level and the defect change-set, wherein the at least one common file was utilized by the defect change-set based upon, at least in part, the source control history associated with the software product; automatically determining, by the processor, an overlapping change-set based on, at least in part, the source control history associated with the software product, the overlapping change set occurring between the product level and the defect change-set in the source control history and implicating the at least one common file with the defect change-set; mapping a source code change associated with one or more of the defect change-set and the overlapping change-set to a location of one or more built files based on, at least in part, the source control history and a build process associated with the software product, wherein an output of each build of the software product for each defect change-set and overlapping change-set is stored in a build output repository; returning, by the processor, a list of the required compiled files for a targeted software patch correcting the specific defect; providing, by the processor a compiled file report to a user interface for displaying the list of required compiled files; and generating, by the processor, the targeted software patch correcting the specific defect based on the defect change-set and the overlapping change-set including obtaining an original corresponding container of the product level, unzipping the original corresponding container, and replacing at least one original file of the product level with at least one of built file corresponding to the defect change-set and the overlapping change set.
地址 Armonk NY US