public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Introducing .mailmap?
@ 2024-02-13  8:39 Sam James
  2024-02-13  8:51 ` Maciej Barć
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sam James @ 2024-02-13  8:39 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Maciej Barć, Robin H. Johnson

[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]

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 sam@cmpct.info was mapped correctly
  into sam@gentoo.org when doing git blame.

  We know sam@cmpct.info and sam@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 377 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Introducing .mailmap?
  2024-02-13  8:39 [gentoo-dev] Introducing .mailmap? Sam James
@ 2024-02-13  8:51 ` Maciej Barć
  2024-02-13  9:01 ` Petr Vaněk
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Maciej Barć @ 2024-02-13  8:51 UTC (permalink / raw)
  To: gentoo-dev


[-- Attachment #1.1.1: Type: text/plain, Size: 1951 bytes --]

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 sam@cmpct.info was mapped correctly
>    into sam@gentoo.org when doing git blame.
> 
>    We know sam@cmpct.info and sam@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ć

xgqt@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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 16315 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Introducing .mailmap?
  2024-02-13  8:39 [gentoo-dev] Introducing .mailmap? Sam James
  2024-02-13  8:51 ` Maciej Barć
@ 2024-02-13  9:01 ` Petr Vaněk
  2024-02-13  9:59 ` Arsen Arsenović
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Petr Vaněk @ 2024-02-13  9:01 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Maciej Barć, Robin H. Johnson

[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]

Hi,

On Tue, Feb 13, 2024 at 08:39:17AM +0000, Sam James wrote:
> Hi,
> 
> We should consider adding a .mailmap to gentoo.git.

yes, I support its addition. All 3 points make sense to me.

Petr

> There's a few reasons:
> * We should accurately map pre-developer-status contributions.
>   For example, it'd be nice if sam@cmpct.info was mapped correctly
>   into sam@gentoo.org when doing git blame.
> 
>   We know sam@cmpct.info and sam@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



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Introducing .mailmap?
  2024-02-13  8:39 [gentoo-dev] Introducing .mailmap? Sam James
  2024-02-13  8:51 ` Maciej Barć
  2024-02-13  9:01 ` Petr Vaněk
@ 2024-02-13  9:59 ` Arsen Arsenović
  2024-02-13 16:50 ` Matthias Maier
  2024-02-17  4:26 ` Sam James
  4 siblings, 0 replies; 6+ messages in thread
From: Arsen Arsenović @ 2024-02-13  9:59 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Maciej Barć, Robin H. Johnson

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]


Sam James <sam@gentoo.org> writes:

>
> 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 sam@cmpct.info was mapped correctly
>   into sam@gentoo.org when doing git blame.
>
>   We know sam@cmpct.info and sam@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

+1.  I'd like my old contributions mapped too ;)
-- 
Arsen Arsenović

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 381 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Introducing .mailmap?
  2024-02-13  8:39 [gentoo-dev] Introducing .mailmap? Sam James
                   ` (2 preceding siblings ...)
  2024-02-13  9:59 ` Arsen Arsenović
@ 2024-02-13 16:50 ` Matthias Maier
  2024-02-17  4:26 ` Sam James
  4 siblings, 0 replies; 6+ messages in thread
From: Matthias Maier @ 2024-02-13 16:50 UTC (permalink / raw)
  To: gentoo-dev

On Tue, Feb 13, 2024, at 02:39 CST, Sam James <sam@gentoo.org> wrote:

> Hi,
>
> We should consider adding a .mailmap to gentoo.git.
>
> There's a few reasons:
> [...]

+1

You can add

 * allows to fix up accidental commits with wrong e-mails as well. *cough*

Best,
Matthias


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Introducing .mailmap?
  2024-02-13  8:39 [gentoo-dev] Introducing .mailmap? Sam James
                   ` (3 preceding siblings ...)
  2024-02-13 16:50 ` Matthias Maier
@ 2024-02-17  4:26 ` Sam James
  4 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-02-17  4:26 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Maciej Barć, Robin H. Johnson

[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]


Sam James <sam@gentoo.org> writes:

> [[PGP Signed Part:Undecided]]
> Hi,
>
> We should consider adding a .mailmap to gentoo.git.

Done in aa4b05d520ebfd044d8a852d7d48937ab160f48d.

>
> There's a few reasons:
> * We should accurately map pre-developer-status contributions.
>   For example, it'd be nice if sam@cmpct.info was mapped correctly
>   into sam@gentoo.org when doing git blame.
>
>   We know sam@cmpct.info and sam@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
>
> [[End of PGP Signed Part]]


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 377 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-17  4:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13  8:39 [gentoo-dev] Introducing .mailmap? Sam James
2024-02-13  8:51 ` Maciej Barć
2024-02-13  9:01 ` Petr Vaněk
2024-02-13  9:59 ` Arsen Arsenović
2024-02-13 16:50 ` Matthias Maier
2024-02-17  4:26 ` Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox