A Python script that mines GitHub for Java projects using the Java Platform Module System (JPMS) and collects issues related to it.
- Finds Java repositories that contain a
module-info.javafile (GitHub Code Search). - Searches each repository's issues for JPMS-related keywords
(
JPMS,module-info,jigsaw,split package, ...). - Saves the results to
jpms_results.csvandjpms_results.json.
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtCreate a GitHub Personal Access Token (no special scopes needed) and set it:
export GITHUB_TOKEN=your_token # Windows (cmd): set GITHUB_TOKEN=your_tokenpython jpms_miner.py --max-repos 50
python jpms_miner.py --max-repos 200 --out my_resultsIf the script is interrupted, run it again — it resumes from where it stopped.
Delete the .json output file to start a fresh search.