GitGuardian / src-fingerprint

Extract git related information (file shas, commit shas) from your hosted source version control system
MIT License
21 stars 10 forks source link

feat(github): By default, only gather hashes from private repositories #27

Closed Walz closed 2 years ago

Walz commented 2 years ago

closes #23

This PR only changes the behavior of the GitHub provider. By default, it will only gather hashes from private repositories and the added flag --all can be used to gather hashes from every repository.

I've also included a fix for the GitHub provider. If there is more than 100 repositories, src-fingerprint will only query the first 100 repos and duplicate them. (Always querying the first page of 100 repositories)