• [gentoo-dev] Introducing .mailmap?

    From Sam James@21:1/5 to All on Tue Feb 13 09:50:01 2024
    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

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZcsr6V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZABbwD/Tc0DEpyyq72E9sQ5jqXSiz5fmZV6a49gI2Fc bYo3P5YBAItEpyTqrbAcTEElKwiz9rQuSAPFrH/Zt9u8QHzHlOYH
    =fLf/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Petr =?utf-8?B?VmFuxJtr?=@21:1/5 to Sam James on Tue Feb 13 10:10:01 2024
    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



    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEoDIFP/dmMcxNFBW7NR2RttffnlAFAmXLL+YACgkQNR2Rttff nlDlfg/6AxZ33zlzT4/5cHcNaQXh+uBgSxT4MI+yVmasWMlKpOTriW6hkE4v6dyO rR3S5xekoULl1WFgfCNfqtoC9+Aw2LGM0asMjeibEKluwhw6JTdD3lmVLmFEO9DR kgD/vuVxTcXAl/MQa7HHSfX1qsmYnGK++mxfEnJQwkUU18fScKlwDbn5xxNabXnp 8XZcRmjVYBuwiqarTk6KfgsC2qggpW8ytW5SSaLRiRbJqassuf374wj34eOwVBmi Rv2gdItZ0BzpvFoCKszO7rcqX4L5o+pshQYRd2bK23S3GR3UO0i/nZdwv3eGqzxQ n2SklVqBJ7TpwsByo/BDoqwsPwFvViN9HwKlXNDWqCM5zim1rQ5aNjgd8gW4NFxF NjjITzDBt4ZdMao5e8tMqc0jG4LpuKFGPUXzvrVLN7PHqBLtlvd7sT42z0aRy7GI 5Klvqi9aymmeOhJ/MYiGHnnHDX38LtLcUDwouDnoWHb3Qp1MH7f02xqIn6Wqz/62 54gu42rIzytrZpnK4ONug7yYltX1zB5hypOncUpnVEJ4zQfN8wGj/8qOUaO5ebXQ fWBUdCbsZNiE6/aZmdig2BK07Vkx8Cuc9Ojb6TB/hD9sC6abVrD1WIHQryxqD09J pCux5K8MlYFGgtcMVYFBfv3ZMCAE73k4tsJbNfat1A1GDlMDtfs=
    =2huf
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arsen =?utf-8?Q?Arsenovi=C4=87?=@21:1/5 to Sam James on Tue Feb 13 11:00:01 2024
    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ć

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iOcEARYKAI8WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZcs9f18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxEcYXJzZW5AZ2Vu dG9vLm9yZwAKCRBSwpQwHqLEk04ZAQD5Rq9J3RrryUYvBAWpVDEvKsh7Iv/F2MK6 r6B53nczQgD+KSMEsFB2WZm/6kNsxjDHq4NfHQwudq07QFZDFpsjrwY=avWa
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Maier@21:1/5 to Sam James on Tue Feb 13 18:00:02 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Sam James on Sat Feb 17 05:30:01 2024
    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]]


    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZdA1iF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZAzDgD/f8MENqGmsFr9lv991uZIaYSIjFzsXF1oeTkR z+Fg01QBAJDwFUpzY89nrpNCAIbtqwvwB6xBFOnynxGlD8lgc1YL
    =m4hB
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)