You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project creates a repos.json that can be utilized by the [SAP InnerSource Portal](https://github.com/sap/project-portal-for-InnerSource).
4
+
This project creates a `repos.json` that can be utilized by the [SAP InnerSource Portal][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_.
5
5
6
6
## Installation
7
+
7
8
`pip -r requirements.txt`
8
9
9
10
## Usage
10
-
1. Fill out the .env file with a token from a machine user that only has access to the org to scan
11
-
1. Fill out the .env file with the exact topic name you are searching for
12
-
1. Run `python3 ./crawler.py`
11
+
12
+
1. Copy `.env-example` to `.env`
13
+
1. Fill out the `.env` file with a token from a machine user that only has access to the org to scan
14
+
1. Fill out the `.env` file with the exact _topic_ name you are searching for
15
+
1. Run `python3 ./crawler.py`, which will create a `repos.json` file containing the relevant metadata for the GitHub repos for the given _topic_
16
+
1. Copy `repos.json` to your instance of the [SAP-InnerSource-Portal][SAP-InnerSource-Portal] and launch the portal as outlined in their installation instructions
0 commit comments