Refactor code to not fetch repos that are explicitly excluded #26
Labels
good first issue
Good for newcomers
hacktoberfest
Help wanted for hacktoberfest
help wanted
Extra attention is needed
Currently in the code base we fetch the repositories for a user or an organization with the following respectively
and
And when we want to exclude things such as forks,private, archived or disabled repos we simply pass over them in our evaluation
The GitHub API supports changing the types in the options that are declared above as shown in their documentation https://developer.github.com/v3/repos/#list-repositories-for-the-authenticated-user
This would be a good issue if someone wanted to investigate this and see if they can instead modify the opts variable with the appropriate string to prevent us from getting unnecessary repos.
The text was updated successfully, but these errors were encountered: