scan remote git repository
markuman opened this issue · 2 comments
markuman commented
it would be nice if whisper can scan remote git repositories.
adeptex commented
hey @markuman, thanks for posting.
For whispers to scan a git repo it would first have to locally clone the repo, and then run as per usual. I think it would be simpler to leave the cloning part outside of the tool itself, because there may be other version control systems (ie: SVN, TFS, etc) that may be used instead of git. Provisioning of the source code will be difficult to implement at code level.
On the other hand, implementing this in a script would be much simpler, for example:
git clone https://github.com/org/repo /tmp/local_copy
whispers -c config.yml /tmp/local_copy