## Collect repository information

This script pulls all of theorchard organization repositories and sorts them by prefix. It then scrapes two places to get the data it's looking for:

    * The Dockerfile for the repo to get the programming language and it's version.
    * The terraform-infra prod directory to look for the application_family stored in the repos variables.tf file.

**Currently only scrapes repos with the prefix of "ows-"**

### Setup

If you don't have pyenv
```bash
$ brew update
$ brew install pyenv
```

```bash
$ pyenv install 3.11.4
$ pyenv local 3.11.4
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ cp .env.shadow .env
```

Then set the value for `GITHUB_TOKEN` in .env to your token.

### Running

```bash
python collect_repo_info.py
```

A file repository_info.csv should be generated after running.