Closed lengau closed 1 month ago
This is possible by providing the name of the extractor separated with a colon:
$ osv-scanner scan --lockfile requirements.txt:requirements-dev.txt
Should we see if we can loosen up some of the detection here to filenames with variations of *requirements*txt
?
@another-rex
@lengau do you have a list of filenames where you'd expect this to work?
@oliverchang I thought we'd decided not to support alternative names given how many variations there are in the wild, the potential performance impact, and that the colon syntax was meant to enable exactly this situation...
Also see #370 and #67 which this duplicates
Yeah, but given that this has come back time and time again, I think we should revisit this to see if we can offer something better out of the box.
I would expect the following command to work, extracting a Python
requirements.txt
type file:Instead it says "could not determine extractor".