chaoss / chaoss/CollectOSS

facade: we can resolve contributors with github noreply addresses in 1 api call

Open
#256 0 comments 0 reactions 0 assignees View on GitHub
enhancement task:facade
Dominant language
Python
Stars
13
Forks
17
Avg merge
6h 59m
Merged PRs (30d)
1

Description

> [!NOTE]
> Migrated from [augurlabs/augur#3784](https://github.com/augurlabs/augur/issues/3784)
> Originally opened by `@MoralCode` on 2026-03-20

---

github's noreply emails have a known format:

`+@users.noreply.github.com`

this gives us two ways to resolve to the user:
1. extract the user ID from the email and (somehow) make an api call with that (if possible) to fetch public profile data.
2. extract the login username from the email and use the existing user api that we currently do (maybe even cross checking against the source ID)

All of this can be done with only an email address and the single api call to fetch their public profile. this may pretty substantially help us resolve users with noreply addresses.

That said, this may also introduce the edge case where, if we rely solely on the email address (a user-controlled field), and someone decides to make a commit in someone elses name, that will get resolved to the other person.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.