You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by James Peach <jp...@apache.org> on 2016/04/15 17:30:14 UTC
merging github pull requests
Hi all,
I just merged PR #563 using the "merge and squash" button on github. I'm pretty unhappy with the results, and I wonder whether we should stop trying to use github to merge.
The things I don't like are
- github ate the Daniel's email address so the author is now "Daniel Xu <da...@users.noreply.github.com>"
- The committer is my github account "James Peach <jo...@gmail.com>", rather than my Apache one
- The commit message contains the actual commit messages for 2 commits, but one of those was already in master so this commit doesn't contain the content matching the message.
- The commit message *also* contains the PR title and description.
- There's no way to preflight the commit and message to verify that it's what I want.
Anyone else have an opinion on this?
J
Re: merging github pull requests
Posted by Phil Sorber <so...@apache.org>.
Also pretty sure you have to set your apache email as your primary/public
if you want it to show in merges.
On Fri, Apr 15, 2016 at 12:06 PM Phil Sorber <so...@apache.org> wrote:
> Just found this:
>
> Keep my email address private
>
> We will use *PSUdaemon@users.noreply.github.com
> <PS...@users.noreply.github.com>* when performing web-based Git
> operations and sending email on your behalf. If you want command line Git
> operations to use your private email you must set your email in Git
> <https://help.github.com/articles/setting-your-email-in-git>.
>
> On Fri, Apr 15, 2016 at 11:43 AM Leif Hedstrom <zw...@apache.org> wrote:
>
>>
>> > On Apr 15, 2016, at 11:22 AM, James Peach <jp...@apache.org> wrote:
>> >
>> >
>> >> On Apr 15, 2016, at 10:09 AM, Leif Hedstrom <zw...@apache.org> wrote:
>> >>
>> >>
>> >>> On Apr 15, 2016, at 9:34 AM, Brian Geffon <br...@apache.org> wrote:
>> >>>
>> >>> I'm not thrilled with it either. I agree that the email addresses are
>> >>> definitely not desireable, also I don't like how it also produces a
>> merge
>> >>> commit.
>> >>
>> >>
>> >> I can deal with the merge commit, but the email addressing issues are
>> not cool. We should come with an agreement on this, such that the workflow
>> is well defined.
>> >
>> > How about a merge/integrate script for PRs, so that committers can
>> review and test before pushing to master? It gives me the winkies to merge
>> code to master that hasn't run through regression testing ...
>>
>>
>>
>> Sure, but what would the script do other than just “git merge” of the PR?
>> Fwiw, I fully expect everyone (or at least committers) to have run code
>> through both regressions and clang-format before pushing the PR :).
>>
>> I think for now, as Phil suggested, we should keep merging like we used
>> to, manually git merge the PRs etc. and push that way.
>>
>> Cheers,
>>
>> - leif
>>
>>
Re: merging github pull requests
Posted by Phil Sorber <so...@apache.org>.
Just found this:
Keep my email address private
We will use *PSUdaemon@users.noreply.github.com
<PS...@users.noreply.github.com>* when performing web-based Git
operations and sending email on your behalf. If you want command line Git
operations to use your private email you must set your email in Git
<https://help.github.com/articles/setting-your-email-in-git>.
On Fri, Apr 15, 2016 at 11:43 AM Leif Hedstrom <zw...@apache.org> wrote:
>
> > On Apr 15, 2016, at 11:22 AM, James Peach <jp...@apache.org> wrote:
> >
> >
> >> On Apr 15, 2016, at 10:09 AM, Leif Hedstrom <zw...@apache.org> wrote:
> >>
> >>
> >>> On Apr 15, 2016, at 9:34 AM, Brian Geffon <br...@apache.org> wrote:
> >>>
> >>> I'm not thrilled with it either. I agree that the email addresses are
> >>> definitely not desireable, also I don't like how it also produces a
> merge
> >>> commit.
> >>
> >>
> >> I can deal with the merge commit, but the email addressing issues are
> not cool. We should come with an agreement on this, such that the workflow
> is well defined.
> >
> > How about a merge/integrate script for PRs, so that committers can
> review and test before pushing to master? It gives me the winkies to merge
> code to master that hasn't run through regression testing ...
>
>
>
> Sure, but what would the script do other than just “git merge” of the PR?
> Fwiw, I fully expect everyone (or at least committers) to have run code
> through both regressions and clang-format before pushing the PR :).
>
> I think for now, as Phil suggested, we should keep merging like we used
> to, manually git merge the PRs etc. and push that way.
>
> Cheers,
>
> - leif
>
>
Re: merging github pull requests
Posted by Leif Hedstrom <zw...@apache.org>.
> On Apr 15, 2016, at 11:22 AM, James Peach <jp...@apache.org> wrote:
>
>
>> On Apr 15, 2016, at 10:09 AM, Leif Hedstrom <zw...@apache.org> wrote:
>>
>>
>>> On Apr 15, 2016, at 9:34 AM, Brian Geffon <br...@apache.org> wrote:
>>>
>>> I'm not thrilled with it either. I agree that the email addresses are
>>> definitely not desireable, also I don't like how it also produces a merge
>>> commit.
>>
>>
>> I can deal with the merge commit, but the email addressing issues are not cool. We should come with an agreement on this, such that the workflow is well defined.
>
> How about a merge/integrate script for PRs, so that committers can review and test before pushing to master? It gives me the winkies to merge code to master that hasn't run through regression testing ...
Sure, but what would the script do other than just “git merge” of the PR? Fwiw, I fully expect everyone (or at least committers) to have run code through both regressions and clang-format before pushing the PR :).
I think for now, as Phil suggested, we should keep merging like we used to, manually git merge the PRs etc. and push that way.
Cheers,
- leif
Re: merging github pull requests
Posted by James Peach <jp...@apache.org>.
> On Apr 15, 2016, at 10:09 AM, Leif Hedstrom <zw...@apache.org> wrote:
>
>
>> On Apr 15, 2016, at 9:34 AM, Brian Geffon <br...@apache.org> wrote:
>>
>> I'm not thrilled with it either. I agree that the email addresses are
>> definitely not desireable, also I don't like how it also produces a merge
>> commit.
>
>
> I can deal with the merge commit, but the email addressing issues are not cool. We should come with an agreement on this, such that the workflow is well defined.
How about a merge/integrate script for PRs, so that committers can review and test before pushing to master? It gives me the winkies to merge code to master that hasn't run through regression testing ...
J
Re: merging github pull requests
Posted by Phil Sorber <so...@apache.org>.
This is the stuff I wanted to talk about at the summit. I think we should
hold off on merging stuff until we can talk about it next month.
Also, fwiw, the email addresses seem to work sometimes and not others. So
there must be a misconfiguration somewhere triggering this.
On Fri, Apr 15, 2016 at 11:26 AM Bret Palsson <br...@gmail.com> wrote:
> Has anyone reached out to github to see if they can resolve the email
> address issue? Seems like with this type of integration, they should have
> considered this behavior.
>
> -Bret
>
> On Fri, Apr 15, 2016 at 10:09 AM, Leif Hedstrom <zw...@apache.org> wrote:
>
> >
> > > On Apr 15, 2016, at 9:34 AM, Brian Geffon <br...@apache.org> wrote:
> > >
> > > I'm not thrilled with it either. I agree that the email addresses are
> > > definitely not desireable, also I don't like how it also produces a
> merge
> > > commit.
> >
> >
> > I can deal with the merge commit, but the email addressing issues are
> not
> > cool. We should come with an agreement on this, such that the workflow is
> > well defined.
> >
> > — Leif
> >
> >
>
>
> --
> Bret Palsson | https://cobook.co/bretep
>
Re: merging github pull requests
Posted by Bret Palsson <br...@gmail.com>.
Has anyone reached out to github to see if they can resolve the email
address issue? Seems like with this type of integration, they should have
considered this behavior.
-Bret
On Fri, Apr 15, 2016 at 10:09 AM, Leif Hedstrom <zw...@apache.org> wrote:
>
> > On Apr 15, 2016, at 9:34 AM, Brian Geffon <br...@apache.org> wrote:
> >
> > I'm not thrilled with it either. I agree that the email addresses are
> > definitely not desireable, also I don't like how it also produces a merge
> > commit.
>
>
> I can deal with the merge commit, but the email addressing issues are not
> cool. We should come with an agreement on this, such that the workflow is
> well defined.
>
> — Leif
>
>
--
Bret Palsson | https://cobook.co/bretep
Re: merging github pull requests
Posted by Leif Hedstrom <zw...@apache.org>.
> On Apr 15, 2016, at 9:34 AM, Brian Geffon <br...@apache.org> wrote:
>
> I'm not thrilled with it either. I agree that the email addresses are
> definitely not desireable, also I don't like how it also produces a merge
> commit.
I can deal with the merge commit, but the email addressing issues are not cool. We should come with an agreement on this, such that the workflow is well defined.
— Leif
Re: merging github pull requests
Posted by Brian Geffon <br...@apache.org>.
I'm not thrilled with it either. I agree that the email addresses are
definitely not desireable, also I don't like how it also produces a merge
commit.
On Friday, April 15, 2016, James Peach <jp...@apache.org> wrote:
> Hi all,
>
> I just merged PR #563 using the "merge and squash" button on github. I'm
> pretty unhappy with the results, and I wonder whether we should stop
> trying to use github to merge.
>
> The things I don't like are
>
> - github ate the Daniel's email address so the author is now "Daniel Xu <
> danobi@users.noreply.github.com <javascript:;>>"
> - The committer is my github account "James Peach <jorgar@gmail.com
> <javascript:;>>", rather than my Apache one
> - The commit message contains the actual commit messages for 2 commits,
> but one of those was already in master so this commit doesn't contain the
> content matching the message.
> - The commit message *also* contains the PR title and description.
> - There's no way to preflight the commit and message to verify that it's
> what I want.
>
> Anyone else have an opinion on this?
>
> J