This project creates a repos.json that can be utilized by the SAP InnerSource Portal. The current approach assumes that the repos that you want to show in the portal are available in a GitHub organization, and that they all are tagged with a certain topic.
pip install -r requirements.txt
- Copy
.env-exampleto.env - Fill out the
.envfile with a token from a user that has access to the organization to scan (listed below) - Fill out the
.envfile with the exact topic name you are searching for - Fill out the
.envfile with the exact organization that you want to search in - Run
python3 ./crawler.py, which will create arepos.jsonfile containing the relevant metadata for the GitHub repos for the given topic - Copy
repos.jsonto your instance of the SAP-InnerSource-Portal and launch the portal as outlined in their installation instructions