Artifact source code identification
AssigneeOracle International Corporation
InventorsBenjamin SELWYN-SMITH, Behnaz HASSANSHAHI
Life of this patent
Estimating the term…
Abstract
Artifact source code identification includes obtaining an artifact version identifier of an artifact in an artifact repository, generating, by a fuzzy regular expression generator, an artifact version identifier regular expression from the artifact version identifier for the artifact version, and processing, with the artifact version identifier regular expression, tags in a commit repository to select a subset of the tags. Artifact source code identification further includes selecting a top matching tag from the subset and obtaining a commit corresponding to the top matching tag.
Claims20
A method comprising:
- obtaining an artifact version identifier of an artifact in an artifact repository;
- generating, by a fuzzy regular expression generator, an artifact version identifier regular expression from the artifact version identifier for the artifact version;
- processing, with the artifact version identifier regular expression, a plurality of tags in a commit repository to select a subset of the plurality of tags;
- selecting a top matching tag from the subset;
- and
- obtaining a commit corresponding to the top matching tag.
A system comprising:
- at least one computer processor;
- a fuzzy regular expression generator configured to execute on the at least one computer processor to perform first operations comprising:
- obtaining an artifact version identifier of an artifact in an artifact repository, and
- generating an artifact version identifier regular expression from the artifact version identifier for the artifact version;
- and
- a comparator configured to execute on the at least one computer processor to perform second operations comprising:
- processing, with the artifact version identifier regular expression, a plurality of tags in a commit repository to select a subset of the plurality of tags,
- selecting a top matching tag from the subset, and
- obtaining a commit corresponding to the top matching tag.
A non-transitory computer readable medium comprising computer readable program code for causing a computer system to perform operations comprising:
- obtaining an artifact version identifier of an artifact in an artifact repository;
- generating, by a fuzzy regular expression generator, an artifact version identifier regular expression from the artifact version identifier for the artifact version;
- processing, with the artifact version identifier regular expression, a plurality of tags in a commit repository to select a subset of the plurality of tags;
- selecting a top matching tag from the subset;
- and
- obtaining a commit corresponding to the top matching tag.
Dependencies are inferred from the claim text.