Re: (anonymous) github user commits

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: (anonymous) github user commits

Karl Heinz Marbaise-3

On 13.03.20 15:58, Michael Osipov wrote:

> Am 2020-03-12 um 19:46 schrieb Robert Scholte:
>> This week I was very surprised to see commits from the user call
>> "github" in Jenkins:
>> IMO we shouldn't want these kind of commits.
>> Based on the most recent activities I had a chat with Sylwester en
>> Elliotte.
>> The reason is the author of these commits was Elliotte, but the
>> committer Github
>> Elliotte tried to figure it out, and his conclusion was that in case
>> he squashed and merged commits via github, the committer became github.
>> If this is indeed the case, we should always ask the author to squash
>> his commits so we can track the commit better, and it makes it easier
>> to find possible regressions (and revert them when necessary)
>> Not sure if this would help, but my WOW is creating a patch from
>> github, and applying it to the gitBOX url. Squashing and merging it
>> from here would at least make me the committer.
> I highly dislike the squash feature in GitHub because you are out of
> control of the process. Only, Maven committers, shall be in the
> committer field. Third parties are not trustworthy for me.
> Me process for the last couple of years with PRs was
> * Request a squash from a submitter
> * Pull that branch into my local clone
> * Run tests (locally, Jenkins)
> * Adjust message
> * Merge into master
> * Push
> This gives me full control before this is written to remote. I simply
> don't trust GH, especially not with these ugly merge commits.
> M

If I pick a PR from GitHub I simply using the command line instructions...

I do a `git commit --amend` ...(That makes me the committer of the
change)...sometimes needed to fix the commit message...

Pushing for testing on Jenkins ...and afterwards merging the single
commit back to master (no merge commits)...

Also what happens here several times is this: (Just an example:

commit 3338744598e195454f4c5ed1187ea192adfbcf97
Author: Piotrek Żygieło <[hidden email]>
Commit: Piotrek Żygieło <[hidden email]>

     Remove unused field

So this makes it impossible to check who has integrated that patch into
the code base...

Or as a different example:

commit a80f5cc026da0e3d98ec720b363728f4509293ff
Author: Maarten Mulders <[hidden email]>
Commit: Karl Heinz Marbaise <[hidden email]>

     [MDEP-626] Upgrade struts and xerces due to CVEs
      o This newer version doesn't depend on struts2-core or xercesImpl.
      o Upgrade Doxia and add doxia-core

That shows exactly who has merged that...and who the committer was...

Just my 2 cents.

Kind regards
Karl Heinz Marbaise

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]