Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dakaneye
Copy link
Contributor

@dakaneye dakaneye commented Sep 3, 2020

Fixes #167
Signed-off-by: Samuel Dacanay [email protected]

"**/*egg-info/PKG-INFO": parseEggMetadata,
"**/*dist-info/METADATA": parseWheelMetadata,
"**/requirements.txt": parseRequirementsTxt,
"**/*requirements*.txt": parseRequirementsTxt,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is exactly right!

Signed-off-by: Samuel Dacanay <[email protected]>
@dakaneye dakaneye merged commit 11334b6 into main Sep 8, 2020
@dakaneye dakaneye deleted the expand-requirements-file-matching branch September 8, 2020 17:23
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
…uffixes (anchore#168)

* Expand matching of requirements.txt file to include any prefixes or suffixes

Signed-off-by: Samuel Dacanay <[email protected]>

* Add some test cases to integration test (ensure syft can pick up multiple requirements files)

Signed-off-by: Samuel Dacanay <[email protected]>

* Run lint-fix

Signed-off-by: Samuel Dacanay <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand matching of requirements.txt

3 participants