From: Sean Allred <allred.sean@gmail.com>
To: rsbecker@nexbridge.com
Cc: "'brian m. carlson'" <sandals@crustytoothpaste.net>,
git@vger.kernel.org, sallred@epic.com, grmason@epic.com,
sconrad@epic.com
Subject: Re: Dealing with corporate email recycling
Date: Sun, 13 Mar 2022 17:23:36 -0500 [thread overview]
Message-ID: <87mthta3jq.fsf@gmail.com> (raw)
In-Reply-To: <020901d83713$2b446ac0$81cd4040$@nexbridge.com>
<rsbecker@nexbridge.com> writes:
> What about abstracting this into a map-email or map-identity hook of
> some kind? So, whenever there is a need to write an identity
> (committer, author, signed-off-by, etc.). That way, anyone who wants
> to, can implement whatever policy they want for replacing emails with
> some other value in the repo, and back again.
This is an interesting idea, but I'm afraid it might be difficult for
forges to implement support for as opposed to something built-in. If
that's not as difficult as I might think it is, then perhaps this is a
viable option once fleshed out.
> It might be good to optimize it so that the hook is only invoked once
> per identity per request so that git log does not become insanely
> expensive.
I'll add that Windows (and our particular environment) makes this
troublesome as well. Currently we see a base cost of 300ms for starting
up a process. Given how many identities git-log and friends would be
chugging through, any hook would need to be capable of staying open --
feeding identities through stdin. I'm not sure run_hooks supports that
right now.
--
Sean Allred
next prev parent reply other threads:[~2022-03-13 22:30 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-12 22:38 Dealing with corporate email recycling Sean Allred
2022-03-13 0:03 ` Junio C Hamano
2022-03-13 0:26 ` rsbecker
2022-03-13 14:01 ` Sean Allred
2022-03-13 14:20 ` rsbecker
2022-03-13 14:41 ` Sean Allred
2022-03-13 15:02 ` rsbecker
2022-03-13 15:21 ` Sean Allred
2022-03-13 19:57 ` Philip Oakley
2022-03-13 22:40 ` Sean Allred
2022-03-13 23:16 ` Junio C Hamano
2022-03-13 23:23 ` rsbecker
2022-03-14 0:19 ` Junio C Hamano
2022-03-14 11:56 ` Philip Oakley
2022-03-14 21:24 ` Junio C Hamano
2022-03-14 22:25 ` Philip Oakley
2022-03-15 1:23 ` Sean Allred
2022-03-15 11:15 ` Philip Oakley
2022-03-13 12:20 ` Philip Oakley
2022-03-13 13:35 ` Sean Allred
2022-03-14 11:59 ` Philip Oakley
2022-03-13 15:51 ` Ævar Arnfjörð Bjarmason
2022-03-13 17:22 ` brian m. carlson
2022-03-13 17:52 ` rsbecker
2022-03-13 19:47 ` rsbecker
2022-03-13 22:23 ` Sean Allred [this message]
2022-03-15 1:27 ` Sean Allred
2022-03-18 21:22 ` Peter Krefting
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mthta3jq.fsf@gmail.com \
--to=allred.sean@gmail.com \
--cc=git@vger.kernel.org \
--cc=grmason@epic.com \
--cc=rsbecker@nexbridge.com \
--cc=sallred@epic.com \
--cc=sandals@crustytoothpaste.net \
--cc=sconrad@epic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).