8000 chore: generate authors and update mailmap by crazy-max · Pull Request #4215 · distribution/distribution · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: generate authors and update mailmap #4215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 31, 2023

Conversation

crazy-max
Copy link
Contributor
@crazy-max crazy-max commented Dec 23, 2023

Generate authors and update mailmap. As best effort I took linked authors from https://github.com/moby/moby/blob/master/.mailmap and https://github.com/containerd/containerd/blob/main/.mailmap

Copy link
Member
@milosgajdos milosgajdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wildly outdated. The alpha release we just cut had so many people on the list that the release-tool barfed and I had to patch it. It's not parsing emails from PRs or something, so we decided not to update the list.

I would prefer to chuck this file completely. I'm not even sure what is it used for 🤔

@crazy-max
Copy link
Contributor Author
crazy-max commented Dec 24, 2023

This is wildly outdated. The alpha release we just cut had so many people on the list that the release-tool barfed and I had to patch it. It's not parsing emails from PRs or something, so we decided not to update the list.

I would prefer to chuck this file completely. I'm not even sure what is it used for 🤔

I think you mean the authors file not mailmap. In this case this is for the contributions graph to match accordingly on GitHub and also have a proper git log.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@milosgajdos
Copy link
Member

I think you mean the authors file not mailmap. In this case this is for the contributions graph to match accordingly on GitHub.

No I meant the .mailmap. It's extremely outdated. Look at the contributor list in the latest release:

8000
### Contributors
* Aaron Lehmann
* Aaron Schlesinger
* Adam Dobrawy
* Adam Kaplan
* Adam Wolfe Gordon
* AdamKorcz
* Adrian Plata
* Adrien Duermael
* Ahmet Alp Balkan
* Aidan Hobson Sayers
* Akihiro Suda
* Aleksejs Sinicins
* Alex
* Alex Laties
* Alexander Larsson
* Alexander Morozov
* Alexey Gladkov
* Alfonso Acosta
* Andreas Hassing
* Andrew Bulford
* Andrew Hsu
* Andrew Lavery
* Andrew Lively
* Andrew T Nguyen
* Andrews Medina
* Andrey Kostov
* Andrii Soldatenko
* Andy Goldstein
* Anian Z
* Anil Belur
* Anis Elleuch
* Ankush Agarwal
* Anne Henmi
* Anton Tiurin
* Antonio Murdaca
* Antonio Ojea
* Arien Holthuizen
* Arko Dasgupta
* Arnaud Porterie
* Arthur Baars
* Arthur Gautier
* Aviral Takkar
* Ben De St Paer-Gotch
* Ben Emamian
* Ben Kochie
* Ben Manuel
* Bhavin Gandhi
* Bill
* Bouke van der Bijl
* Bracken Dawson
* Brandon Mitchell
* Brandon Philips
* Brett Higgins
* Brian Bland
* Brian Goff
* Caleb Spare
* Cezar Sa Espinola
* Chad Faragher
* Chaos John
* Cheng Zheng
* Chris Aniszczyk
* Chris K. Wong
* Chris Patterson
* Christopher Yeleighton
* Chuanying Du
* Collin Shoop
* Cory Snider
* CrazyMax
* Daehyeok Mun
* Damien Mathieu
* Dan Fredell
* Dan Walsh
* Daniel Helfand
* Daniel Menet
* Daniel Mizyrycki
* Daniel Nephin
* Daniel, Dao Quang Minh
* Danila Fominykh
* Dave
* Dave Trombley
* David Calavera
* David Justice
* David Karlsson
* David Lawrence
* David Luu
* David Mackey
* David Wu
* David van der Spek
* Dawn W Docker
* Denis Andrejew
* Derek
* Derek McGowan
* Dimitar Kostadinov
* Djibril Koné
* Don Bowman
* Don Kjer
* Donald Huang
* Doug Davis
* E. M. Bray
* Elliot Pahl
* Emmanuel Briney
* Eng Zer Jun
* Eohyung Lee
* Eric Windisch
* Eric Yang
* Erik Hollensbe
* Etki
* Eugene Lubarsky
* Fabio Falci
* Feng Honglin
* Fernando Mayo Fernandez
* Flavian Missi
* Frederick F. Kautz IV
* Gábor Lipták
* Gabor Nagy
* Gaetan
* Geoffrey Hausheer
* Giovanni Toraldo
* Gladkov Alexey
* Gleb M Borisov
* Glyn Owen Hanmer
* Grant Watters
* Greg Rebholz
* Guillaume J. Charmes
* Guillaume Rose
* Hayley Swimelar
* HuKeping
* Hua Wang
* Igor Dolzhikov
* Ihor Dvoretskyi
* Ilion Beyst
* Irene Diez
* Ismail Alidzhikov
* Jack Baines
* Jack Griffin
* Jacob Atzen
* Jake Moshenko
* Jakob Ackermann
* Jakub Mikulas
* James Hewitt
* James Lal
* Jeffrey van Gogh
* Jeremy THERIN
* Jesse Brown
* Jessica Frazelle
* Jessie Frazelle
* Jim Galasyn
* Joao Fernandes
* João Pereira
* Johan Euphrosine
* John Howard
* John Mulhausen
* John Starks
* Jon Poler
* Jonas Hecht
* Jonathan Lee
* Jonathan Rudenberg
* Jordan Liggitt
* Jose D. Gomez R
* Josh Chorlton
* Josh Dolitsky
* Josh Hawn
* Josiah Kiehl
* Joyce Brum
* Julien Bordellier
* Justas Brazauskas
* Justin Cormack
* Justin I. Nevill
* Keerthan Mala
* Ken Cochrane
* Kenny Leung
* Kevin Robatel
* Kirat Singh
* L-Hudson
* Lachlan Cooper
* Laura Brehm
* Lei Jitang
* Lenny Linux
* Li Yi
* Liam White
* Littlemoon917
* Liu Hua
* Luca Bruno
* Lucas França de Oliveira
* Lucas Santos
* MATSUMOTO TAKEAKI
* Ma Shimiao
* Makoto Oda
* Manish Tomar
* Marco Hennings
* Maria Bermudez
* Mark Sagi-Kazar
* Matin Rahmanian
* Matt Duch
* Matt Moore
* Matthew Balvanz
* Matthew Riley
* Maurice Sotzny
* Meaglith Ma
* Michael Bonfils
* Michael Crosby
* Michael Vetter
* Michal Gebauer
* Michal Guerquin
* Michal Minar
* Mike Lundy
* Mike Truman
* Milos Gajdos
* Misty Stanley-Jones
* Morgan Bauer
* Muesli
* Nan Monnand Deng
* Nat Zimmermann
* Naveed Jamil
* Neil Wilson
* Nicolas De Loof
* Nikita Tarasov
* Novak Ivanovski
* Nuutti Kotivuori
* Oleg Bulatov
* Olivier Gambier
* Oscar Caballero
* Pascal Borreli
* Patrick Devine
* Patrick Easters
* Paul Cacheux
* Pavel Antonov
* Paweł Gronowski
* Per Lundberg
* Peter Choi
* Peter Dave Hello
* Peter Kokot
* Phil Estes
* Philip Misiowiec
* Pieter Scheffers
* Qiang Huang
* ROY
* Radon Rosborough
* Ricardo Maraschini
* Richard Scothern
* Rick Wieman
* Rik Nijessen
* Rober Morales-Chaparro
* Robert Kaussow
* Robert Steward
* Roberto G. Hashioka
* Rusty Conover
* Ryan Abrams
* Ryan Thomas
* Sam Alba
* Samuel Karp
* Sean P. Kane
* Sebastiaan van Stijn
* Serge Dubrouski
* Sevki Hasirci
* Shawn Chen
* Shengjing Zhu
* Shiela M Parker
* Shishir Mahajan
* Silvin Lubecki
* Simon
* Simone Locci
* Smasherr
* Solomon Hykes
* Sora Morimoto
* Srini Brahmaroutu
* Stefan Lörwald
* Stefan Majewsky
* Stefan Nica
* Stefan Weil
* Stephen J Day
* Steve Lasker
* Steven Hanna
* Steven Taylor
* Sylvain Baubeau
* T N
* Tariq Ibrahim
* TaylorKanper
* Ted Reed
* Terin Stock
* Thomas Berger
* Tianon Gravi
* Tibor Vass
* Tiger Kaovilai
* Tobias Fuhrimann
* Tobias Schwab
* Tom Hayward
* Tom Hu
* Tonis Tiigi
* Tony Holdstock-Brown
* Tosone
* Trapier Marshall
* Trevor Wood
* Troels Thomsen
* Usha Mandya
* Vaidas Jablonskis
* Vega Chou
* Veres Lajos
* Victor Vieux
* Victoria Bialas
* Vidar
* Vincent Batts
* Vincent Demeester
* Vincent Giersch
* Vishesh Jindal
* Wang Jie
* Wang Yan
* Wassim Dhif
* Wei Fu
* Wei Meng
* Wenkai Yin
* Xueshan Feng
* Yannick Fricke
* Yong Tang
* Yong Wen Chua
* Yu Wang
* Zhang Wei
* allencloud
* amitshukla
* andyzhangx
* baojiangnan
* bin liu
* chlins
* cressie176
* cui fliter
* davidli
* ddelange
* dependabot[bot]
* drornir
* duanhongyi
* ducksecops
* eyjhb
* forkbomber
* gary schaetz
* ghodsizadeh
* glefloch
* gotgelf
* hasheddan
* jdolitsky
* jerae-duffin
* jhaohai
* leonstrand
* libo.huang
* lisong
* liuchang0812
* lostsquirrel
* mallchin
* mqliang
* nevermosby
* olegburov
* ollypom
* paigehargrave
* sangluo
* sayboras
* shin-
* srajmane
* stonezdj
* sun jian
* syntaxkim
* t-eimizu
* tgic
* unclejack
* wayne
* weiyuan.yl
* xiekeyang
* yuzou
* zhipengzuo
* zounengren
* 姜继忠
and compare it with the list of the folks in the .mailmap

The contributor list is a list of names, not GH handles, missing email addresses. Those contributors should be technically added to .mailmap file but it's not been done because it's atrociously painful, hence my saying: I wouldn't bother with this unless there is some significant gain that makes it worth investing into making sure the mailmap is up to date.

Maybe something like this could do the job if you fancy it?

git log --format='%aN <%aE>' | sort -fu 

@crazy-max
Copy link
Contributor Author

Ah ok got it now. I see on containerd repo it's kept updated after each release notes: https://github.com/containerd/containerd/commits/main/.mailmap

@milosgajdos
Copy link
Member

Yes it is, but as I said, this was the first release in millennia for this project so the list was ginormous and the tool we usually use for this barfed like if it had eaten some gone off food.

As I said, the git command sample I pasted above might get you somewhere 😄 if you fancy messing about with this.

@thaJeztah
Copy link
Member

The .mailmap file must contain all contributors that need mapping. I think it's used beyond use for generating Authors or other files, and may also be used by github's "contributors" overview. DCO checks etc.

@milosgajdos
Copy link
Member

The .mailmap file must contain all contributors that need mapping. I think it's used beyond use for generating Authors or other files, and may also be used by github's "contributors" overview. DCO checks etc.

Can you point me in some direction where I can learn more about this? What happens if that map grows beyond belief? What code reads it? How? Does it require a specific format? etc. I've more questions than the presents I got this xmas.

@thaJeztah
Copy link
Member

@milosgajdos
Copy link
Member

We need something like https://github.com/moby/moby/blob/46f7ab808b9504d735d600e259ca0723f76fb164/hack/generate-authors.sh

The original command I suggested above wasn't far off 😄 This needs work for sure....

@crazy-max
Copy link
Contributor Author

We need something like https://github.com/moby/moby/blob/46f7ab808b9504d735d600e259ca0723f76fb164/hack/generate-authors.sh

The original command I suggested above wasn't far off 😄 This needs work for sure....

I have this branch if you're interested in crazy-max@6af1e67

@milosgajdos
Copy link
Member

PR it @crazy-max 😄

@crazy-max crazy-max changed the title chore: update mailmap chore: generate authors and update mailmap Dec 28, 2023
@crazy-max
Copy link
Contributor Author

@milosgajdos Pushed changes here. As best effort I took linked authors from https://github.com/moby/moby/blob/master/.mailmap and https://github.com/containerd/containerd/blob/main/.mailmap

Copy link
Member
@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found some dead names, and some outdated info (there's some more, but I can do a follow-up for some of those)

Victor Vieux <victor.vieux@docker.com> <vieux@docker.com>
Vincent Batts <vbatts@redhat.com>
Vincent Batts <vbatts@redhat.com> <vbatts@hashbangbash.com>
Vincent Demeester <vincent.demeester@docker.com>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one probably needs an update to a current e-mail (I see we need the same on docker/cli)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any suggestions for how to do this? I believe it should stay as is because the contribution as recorded in the git commit tree was made with the email address as stated above. Otherwise we're down the world of INTENSE pain of querying GH API.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't bother too much, but there's a bunch in this one that I'm aware of (former colleagues and such). Removing duplicates may be more relevant to get a (somewhat) accurate list of authors.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I agree RE: removing dupes. That's a solvable problem, searching for up-to-date email addresses I would not bother with.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. I might do a follow-up to set a reasonable baseline (fixing the ones I'm aware of), but after that we can limit to / focus on just removing duplicates (which are easier to spot).

FWIW; CNCF also maintains a database for this purpose, where they try to centrally map aliases etc for their stats (it's being replaced with some other internal tool though); https://github.com/cncf/devstats

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Copy link
Member
@milosgajdos milosgajdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm giving this a preemptive approval because it's already great and I don't want this to end up being blocked and chased by someone who wants to merge this PR in. PTAL @thaJeztah and merge when happy.

Copy link
Member
@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

let's bring this one in; I'll try to look at a follow-up to remove some duplicates 👍

@thaJeztah thaJeztah merged commit 4382e4b into distribution:main Dec 31, 2023
@crazy-max crazy-max deleted the update-mailmap branch January 1, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0