Incremental build generation
First Claim
1. A computer program product comprising:
- one or more non-transitory computer readable storage media and program instructions stored on one or more non-transitory computer readable storage media for execution by one or more computer processors, the program instructions comprising instructions to perform;
receiving a set of source code build instructions for building a complete software entity, the set of source code build instructions referencing a set of source code files corresponding to the complete software entity;
substituting all variables and expanding all procedures within the set of source code build instructions to produce analyzed source code build instructions for the complete software entity;
determining an incremental build subset for the set of source code files, wherein the incremental build subset comprises source code files that have changed since a previous build;
determining operations within the analyzed source code build instructions that reference files within the incremental build subset to produce a set of incremental operations;
determining a set of affected files corresponding to the set of incremental operations; and
generating a set of incremental source code build instructions, based on the set of incremental operations and the set of affected files;
wherein the set of source code build instructions includes a set of ordering instructions;
wherein the program instructions comprise instructions to organize the set of incremental operations based on the set of ordering instructions to generate a set of organized operations; and
wherein the set of incremental source code build instructions is based on the set of organized operations in combination with the set of source code build instructions, organized according to dependencies.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method includes receiving a set of complete source instructions to process a source code entity, an incremental build part, and a set of file definitions. The method analyzes the set of complete source instructions. The method identifies, from the set of analyzed source instructions, a set of operations that reference the incremental build subset. The method repeats: (i) determining, for each operation, whether any additional files are affected by the operation, the additional files forming a set of affected files; (ii) creating a combined set of files, the combined set of files consisting of the set of affected files and the incremental build subset; and (iii) updating the set of operations to include those from the analyzed source instructions that reference the combined set of files; until no new files are added to the combined set of files. The method generates a set of incremental source instructions.
49 Citations
6 Claims
-
1. A computer program product comprising:
-
one or more non-transitory computer readable storage media and program instructions stored on one or more non-transitory computer readable storage media for execution by one or more computer processors, the program instructions comprising instructions to perform; receiving a set of source code build instructions for building a complete software entity, the set of source code build instructions referencing a set of source code files corresponding to the complete software entity; substituting all variables and expanding all procedures within the set of source code build instructions to produce analyzed source code build instructions for the complete software entity; determining an incremental build subset for the set of source code files, wherein the incremental build subset comprises source code files that have changed since a previous build; determining operations within the analyzed source code build instructions that reference files within the incremental build subset to produce a set of incremental operations; determining a set of affected files corresponding to the set of incremental operations; and generating a set of incremental source code build instructions, based on the set of incremental operations and the set of affected files; wherein the set of source code build instructions includes a set of ordering instructions; wherein the program instructions comprise instructions to organize the set of incremental operations based on the set of ordering instructions to generate a set of organized operations; and wherein the set of incremental source code build instructions is based on the set of organized operations in combination with the set of source code build instructions, organized according to dependencies. - View Dependent Claims (2, 3)
-
-
4. A computer system comprising:
-
one or more computer processors; one or more non-transitory computer readable storage media; computer program instructions; the computer program instructions being stored on one or more non-transitory computer readable storage media for execution by at least one of the one or more computer processors, the computer program instructions comprising instructions to perform; receiving a set of source code build instructions for building a complete software entity, the set of source code build instructions referencing a set of source code files corresponding to the complete software entity; substituting all variables and expanding all procedures within the set of source code build instructions to produce analyzed source code build instructions for the complete software entity; determining an incremental build subset for the set of source code files, wherein the incremental build subset comprises source code files that have changed since a previous build; determining operations within the analyzed source code build instructions that reference files within the incremental build subset to produce a set of incremental operations; determining a set of affected files corresponding to the set of incremental operations; and generating a set of incremental source code build instructions, based on the set of incremental operations and the set of affected files; wherein the set of source code build instructions includes a set of ordering instructions; wherein the program instructions comprise instructions to organize the set of incremental operations based on the set of ordering instructions to generate a set of organized operations; and wherein the set of incremental source code build instructions is based on the set of organized operations in combination with the set of source code build instructions, organized according to dependencies. - View Dependent Claims (5, 6)
-
Specification