This repository allows querying Drupal.org metadata for core issues (using the Drupal 7 site API and issue queue).
Reference: https://www.drupal.org/drupalorg/docs/apis/rest-and-other-apis
-
First, fetch all issue data for relevant issues in actively supported branches, by running the following from the cloned repository root:
php fetch_active_data.phpWarning: This can take over an hour.
The output of each request is cached locally with weekly granularity, and subsequent requests within the week will retrieve the data from the local cache instead of Drupal.org.
-
Then, populate the SQLite database with this data:
php populate_database.phpThe SQLite database is included in the repository for convenience.
-
Finally, run any desired queries against the data. For example:
php get_untriaged_criticals.php
php fetch_recent_comments.php xjm
Fixed issues are filtered to those issues credited to the individual. Open issues can be edited by hand to include only creditable contributions.