jasonmacgowan / innersource-crawler

This project creates a repos.json that can be utilized by the SAP InnerSource Portal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InnerSource Crawler

.github/workflows/linter.yml Integration Test CodeQL

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.

Installation

pip install -r requirements.txt

Usage

  1. Copy .env-example to .env
  2. Fill out the .env file with a token from a user that has access to the organization to scan (listed below)
  3. Fill out the .env file with the exact topic name you are searching for
  4. Fill out the .env file with the exact organization that you want to search in
  5. Run python3 ./crawler.py, which will create a repos.json file containing the relevant metadata for the GitHub repos for the given topic
  6. Copy repos.json to your instance of the SAP-InnerSource-Portal and launch the portal as outlined in their installation instructions

About

This project creates a repos.json that can be utilized by the SAP InnerSource Portal.

License:MIT License


Languages

Language:Python 100.0%