- Clone my fork of PyGithub at https://github.com/tomibgt/PyGithub
- Add PyGithub to your python includes (e.g. something like
export PYTHONPATH="/home/bgt/git/PyGithub/") - Clone this repository to your local system.
- Copy the file NonSomeFinder/src/config.cfg.template as NonSomeFinder/src/config.cfg – This new file is in the git ignore. Edit it and put your own GitHub creditentials there.
- run
python [path/here/NonSomeFinder/src/]NonSomeFinder.py
Currently there is no clean termination for delegated setups.
This command searches GitHub for projects that appear to use the Facebook Graph API. All projects are listed in the outputfile.csv, with an indicator of true or false, wether Graph API was detected.
This command also searches GitHub projects starting of project ID 1549311, but instead of analysing the projects itself, it delegates the projects to files first.delegate and second.delegate. The -facebook flag is required, because otherwise the command would expect a search phrase to be sought for in the projects. (The search phrase would be passed on to GitHub API as a parameter to filter out search results.)
The delegation files are only pushed new projects, when they have less than 20 projects in them already. If the delegates are slow, the delegator will wait for a delegate file to have room again.
This command takes over the analysis of projects delegated to the file first.delegate and produces output in outputfile.csv. The command pops repositories from the delegation file, as it has analysed them.