Thanks for this Sam.
I would like to see this added to the main Gentoo repo but also urge maintainers of other active Gentoo repos to add it to theirs, portage(!), kde & lisp overlay, soko, etc.

For a quick reference here is the Exherbo's .mailmap file: https://gitlab.exherbo.org/exherbo/arbor/-/blob/master/.mailmap?ref_type=heads

W dniu 13.02.2024 o 09:39, Sam James pisze:
Hi,

We should consider adding a .mailmap to gentoo.git.

There's a few reasons:
* We should accurately map pre-developer-status contributions.
   For example, it'd be nice if s...@cmpct.info was mapped correctly
   into s...@gentoo.org when doing git blame.

   We know s...@cmpct.info and s...@gentoo.org are the same person, it
   feels coherent to tell git that via the mechanism intended for it.

* It's useful for when people retire as well. Not that I plan on going
   anywhere any time soon (sorry!), but this is both a useful way for
   people to better "retain credit" *and* for e.g. 'git blame' to work
   better if they then come back as a contributor but not a developer, which
   happens on occasion, or if they occasionally contribute with a
   different email address (we have this for some devs who contribute
   under a "work context" too).

* It allows people to have git respecting changing their name for
   various reasons (e.g. we've had contributors start using their real name
   and vice-versa over the years).

I was considering this anyway but xgqt pinged me about it after
I mentioned it on a recent bug (https://bugs.gentoo.org/836936#c12) as well
which made me think there's perhaps some merit in it.

thanks,
sam

--
Have a great day!

~ Maciej XGQT Barć

x...@gentoo.org
Gentoo Linux developer
(dotnet, emacs, math, ml, nim, scheme, sci)
https://wiki.gentoo.org/wiki/User:Xgqt
9B0A 4C5D 02A3 B43C 9D6F D6B1 14D7 4A1F 43A6 AC3C

Attachment: OpenPGP_0x14D74A1F43A6AC3C.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to