A simple program to import Issues from a GitHub Repository into a MySQL Database.
##Quick Start
-
Import "/sql/database.sql"
-
Insert the repositories you want to Import into the "repositories" table.
INSERT INTO repositories VALUES (NULL, '%USERNAME%', '%REPOSITORY%', '%URL%');
Example:
INSERT INTO repositories VALUES (NULL, 'nicola-amatucci', 'GithubIssuesCollector', 'https://github.com/nicola-amatucci/GithubIssuesCollector');
- Execute the Program
java -jar GitHubIssuesCollector.jar
##GitHub API Token
If you do not set an Access Token the number of API requests is limited (60 requests).
-
Follow this tutorial to obtain an access token.
-
Set the String parameter "GITHUB_OAUTH_TOKEN" to the obtained token in the class "it.nicola_amatucci.github_issues_collector.config.Configuration".
##Dependencies