Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the scans of multiple file paths and not only a single directory #1392

Open
pombredanne opened this issue Feb 22, 2019 · 2 comments
Open

Comments

@pombredanne
Copy link
Member

Reported on chat:

@nicobucher wrote on Feb 20 21:52:
Hi aboutcode. I got a question regarding the scancode scanner: "Is it possible to provide a list of files (say e.g. a list of changed files of a pull request) to the scanner instead of a folder? So that the scanner only scans those files?"

@pombredanne
Copy link
Member Author

And @pombredanne wrote on Feb 21 15:30:

@nicobucher welcome!
@nicobucher not for now. there might be a pending ticket
there is way to ignore file but not a way to pass more than one file as arguments
@nicobucher that said, what would you expect as an output in these cases? one JSON or several JSON? and would all the files in question share a common root directory or not?
@nicobucher If we think PR, then they would be under the same root, right?
adding this when there a common root may not be too complicated as it would not break the codebase/fs tree model used internally

@alexwahl
Copy link

Hi! I got the same usecase, I would like to provide a list of files to be scanned. I would expect one output file containing information about all files in the list. It would be nice if the files must not have the same root folder but this is no must have for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants