发明名称 DETECTING MERGE CONFLICTS AND COMPILATION ERRORS IN A COLLABORATIVE INTEGRATED DEVELOPMENT ENVIRONMENT
摘要 A method, and associated computer system and computer program product, of detecting source code merge conflicts and compilation errors. Uncommitted changes associated with a source code are received periodically at each time of a sequence of times. A temporary branch corresponding to each uncommitted change associated with the source code is created. The temporary branch corresponding to each uncommitted change is merged to corresponding portions of the source code. It is ascertained that no merge conflict resulted from the merging and in response, a compilation of a merged version of the source code is performed, wherein the merged version of the source code includes the temporary branch corresponding to each uncommitted change. It is determined that no compilation error occurred from the compilation and in response, a version of a product that includes the merged version of the source code is created.
申请公布号 US2015355995(A1) 申请公布日期 2015.12.10
申请号 US201514829826 申请日期 2015.08.19
申请人 International Business Machines Corporation 发明人 Bigwood George T.;McMann Jason T.;Nikitaides Michael G.;Walton Kaleb D.
分类号 G06F11/36;G06F9/44 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method of detecting source code merge conflicts and compilation errors, the method comprising: receiving, periodically by one or more processors of a computer system, a plurality of uncommitted changes associated with a source code; creating, by the one or more processors, a temporary branch corresponding to each uncommitted change associated with the source code; merging, by the one or more processors, the temporary branch corresponding to each uncommitted change to corresponding portions of the source code; ascertaining, by the one or more processors, that no merge conflict resulted from said merging and in response, performing a compilation, by the one or more processors, of a merged version of the source code, said merged version of the source code comprising the temporary branch corresponding to each uncommitted change; and determining, by the one or more processors, that no compilation error occurred from the compilation and in response, creating, by the one or more processors, a version of a product that includes the merged version of the source code.
地址 Armonk NY US