On Mon, Nov 7, 2022 at 12:26 PM Jean-Luc Deprez
<jeanluc.dep...@gmail.com> wrote:
>    2. The GH Actor (so merger) is listed a author, which is fair, as the
>    one deciding to make one commit.

That's not correct AFAIK. Usually, the PR *opener* (not merger) is
listed as the git author and Github is listed as the committer. This
is a gotcha that bit us before when a PR had to be reworked and
recommitted from another person, and then was finally squashed.

Adding `Co-authored-by`, usually works automatically in the Github UI
for squashing but we have also seen instances where the UI was not
working completely correctly, so some care is needed. The "merger"
will only be included in the Git history as the author of a merge
commit (in case merging was used). In case of squash and rebase, the
merger will not be recorded in the history.

> The GH signature testifies to the identity of the author, who was 
> authenticated in GH (yes that make GH a central authority on this front)

Unfortunately not, it only testifies that Github created the commit.
In the best case (relying on Github's rules that may or may not change
in the future), we could say it testifies who the creator of the PR
was which still does not say anything about the contents of the commit
(or even through which PR it was merged). Most of this information can
be accessed through the GH UI but it's not recorded in the commit.
It's a common problem when doing code archeology to trace back how and
where things have originated...

I still agree that all three modes can be useful and squash is a good
default because many changes are simple in structure and squash
simplifies the overhead required to apply simple changes.

> That being said, it's very possible that this is an enterprise mindset which 
> doesn't fit an open source project.

>From my experience, OS is often more strict and principled about these
things than enterprises which often take whatever works as long as
there's some progress ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pekko.apache.org
For additional commands, e-mail: dev-h...@pekko.apache.org

Reply via email to