Link commit authors to users (#1709, #1711) (#1717)

This commit is contained in:
daveoconnor
2025-03-31 11:34:25 -07:00
committed by GitHub
parent 7e81d7eb61
commit 1344c85617
11 changed files with 199 additions and 12 deletions

View File

@@ -336,3 +336,14 @@ For this to work `SLACK_BOT_API` must be set in the `.env` file.
|----------------|--------|----------------------------------------------------------------------------------------------------------------------|
| `--start_date` | date | If passed, retrieves data from the start date supplied, d-m-y, default 20-11-1998 (the start of the data in mailman) |
| `--end_date` | date | If passed, If passed, retrieves data until the start date supplied, d-m-y, default today |
## `link_contributors_to_users`
**Purpose**: Links commit authors to users in the database by setting `user.github_username` for users where no `github_username` value has been set, by matching the commit author email address against a user's account email address.
**Example**
```bash
./manage.py link_contributors_to_users
```