Managing different software dependencies associated with source code
First Claim
1. A method comprising:
- determining, by a processing device, a plurality of dependencies associated with source code for software, a dependency being a segment of program code that is separate from the source code and to be incorporated into the source code for providing the software with particular functionality;
categorizing, by the processing device, the plurality of dependencies into a plurality of categories, each dependency of the plurality of dependencies being categorized as at least one of (i) an essential dependency that is necessary to create executable code from the source code,(ii) a nonessential dependency that is unnecessary to create the executable code from the source code, or(iii) an expiring dependency for which there is a newer version of the dependency available that is incompatible with the source code, wherein at least one dependency in the plurality of dependencies is categorized as the essential dependency by;
generating a modified version of the source code by removing a reference to the at least one dependency from the source code, andbased on a compiler being unable to create the executable code from the modified version of the source code,determining that the at least one dependency is to be categorized as the essential dependency; and
sorting, by the processing device, the plurality of dependencies based on the plurality of categories.
1 Assignment
0 Petitions
Accused Products
Abstract
Software dependencies can be managed by a system. For example, the system can determine multiple dependencies associated with source code for software. A dependency can be a segment of program code that is separate from the source code and to be incorporated into the source code. The system can determine multiple attributes associated with the multiple dependencies. Each attribute can be associated with a respective dependency and indicate if the respective dependency is at least one of (i) an essential dependency that is necessary to create executable code from the source code, (ii) a nonessential dependency that is unnecessary to create the executable code from the source code, or (iii) an expiring dependency for which there is a newer version of the dependency available that is incompatible with the source code. The system can sort the multiple dependencies based on the multiple attributes.
36 Citations
20 Claims
-
1. A method comprising:
-
determining, by a processing device, a plurality of dependencies associated with source code for software, a dependency being a segment of program code that is separate from the source code and to be incorporated into the source code for providing the software with particular functionality; categorizing, by the processing device, the plurality of dependencies into a plurality of categories, each dependency of the plurality of dependencies being categorized as at least one of (i) an essential dependency that is necessary to create executable code from the source code, (ii) a nonessential dependency that is unnecessary to create the executable code from the source code, or (iii) an expiring dependency for which there is a newer version of the dependency available that is incompatible with the source code, wherein at least one dependency in the plurality of dependencies is categorized as the essential dependency by; generating a modified version of the source code by removing a reference to the at least one dependency from the source code, and based on a compiler being unable to create the executable code from the modified version of the source code, determining that the at least one dependency is to be categorized as the essential dependency; and sorting, by the processing device, the plurality of dependencies based on the plurality of categories. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable medium comprising program code that is executable by a processing device for causing the processing device to:
-
determine a plurality of dependencies associated with source code for software, a dependency being a segment of program code that is separate from the source code and to be incorporated into the source code for providing the software with particular functionality; categorize the plurality of dependencies into a plurality of categories, each dependency of the plurality of dependencies being categorized as at least one of (i) an essential dependency that is necessary to create executable code from the source code, (ii) a nonessential dependency that is unnecessary to create the executable code from the source code, or (iii) an expiring dependency for which there is a newer version of the dependency available that is incompatible with the source code, wherein at least one dependency in the plurality of dependencies is categorized as the essential dependency by; generating a modified version of the source code by removing a reference to the at least one dependency from the source code, and based on a compiler being unable to create the executable code from the modified version of the source code, determining that the at least one dependency is to be categorized as the essential dependency; and sort the plurality of dependencies based on the plurality of categories. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a processing device; and a memory device that includes; source code for a plurality of software applications; and instructions that are executable by the processing device for causing the processing device to; determine a plurality of dependencies associated with the source code, a dependency being a segment of program code that is separate from the source code and to be incorporated into the source code for providing the software with particular functionality; categorize the plurality of dependencies into a plurality of categories, each dependency of the plurality of dependencies being categorized as at least one of (i) an essential dependency that is necessary to create executable code from the source code, (ii) a nonessential dependency that is unnecessary to create the executable code from the source code, or (iii) an expiring dependency for which there is a newer version of the dependency available that is incompatible with the source code, wherein at least one dependency in the plurality of dependencies is categorized as the essential dependency by; generating a modified version of the source code by removing a reference to the at least one dependency from the source code, and based on a compiler being unable to create the executable code from the modified version of the source code, determining that the at least one dependency is to be categorized as the essential dependency; and sort the plurality of dependencies based on the plurality of categories. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification