mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
to make it easier for people (especially newcomers to the project) to add review tags, we need a database mapping gitlab usernames to author names & emails. that way, if someone just comments "rb" or whatever, there's a direct way to look that up. this comimt adds a list of current contributors with the following methodology: 1. first, I grabbed all names + emails of recent authors, with mailmap applied, as proxy for active contributors: $ git log --since=2025-01-01 --pretty='%aN,%aE,'|sort | uniq 2. then, I scraped usernames via the gitlab api attempting to match by name. I don't want to hammer the gitlab api too much which is why I tried to keep the list in #1 as small as possible. import gitlab import subprocess import tempfile import sys import urllib.request import csv gl = gitlab.Gitlab('https://gitlab.freedesktop.org', private_token=...) names = {} with open('dump.csv') as csvfile: spamreader = csv.reader(csvfile) for row in spamreader: if len(row) == 3: names[row[0]] = row[1] for name in names: users = gl.users.list(search=name) print(', '.join([name, names[name]] + [u.username for u in users])) 3. finally, I fixed up various data issues by hand. there were cases of both people with multiple usernames (I tried to pick the one that's actually in use), and people whose name on their profile does not match the name in their commits (I tried to determine the username from searching gitlab manually, but dropped a number of such authors when it was nontrivial to figure out. I am a regular reviewer across the tree so if I don't recognize your name you're probably not that active, sorry.) Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Mel Henning <mhenning@darkrefraction.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33896> |
||
|---|---|---|
| .. | ||
| ci | ||
| pick | ||
| .editorconfig | ||
| __init__.py | ||
| commit_in_branch.py | ||
| commit_in_branch_test.py | ||
| flamegraph_map_lp_jit.py | ||
| gen_calendar_entries.py | ||
| gen_calendar_entries_test.py | ||
| gen_release_notes.py | ||
| gen_release_notes_test.py | ||
| gen_vs_module_defs.py | ||
| git_sha1_gen.py | ||
| install_megadrivers.py | ||
| khronos-update.py | ||
| meson-cmd-extract.py | ||
| meson.build | ||
| nir-test-runner.py | ||
| people.csv | ||
| perf-annotate-jit.py | ||
| pick-ui.py | ||
| pick-ui.sh | ||
| post_version.py | ||
| post_version_test.py | ||
| python-venv.sh | ||
| rb.py | ||
| refcnt-log-helper.py | ||
| renderdoc-update.py | ||
| symbols-check.py | ||
| toml_lint.py | ||
| update-android-headers.sh | ||