You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by Rodric Rabbah <ro...@gmail.com> on 2017/09/13 20:05:34 UTC

Git commit

Hi

I just merged a PR:
https://github.com/apache/incubator-openwhisk/pull/2718

You can see if look at it the first commit is it mine but is Scott Wilson-Billing's. 

Yet when I squashed and merge the PR (which I opened to rebase and update because we dropped the ball on its predecessor https://github.com/apache/incubator-openwhisk/pull/2171) I was credited with the commit [1] which is not right.

I don't know how to correct this without forcing an updated commit (which I don't think we have rights to). What's the Apache way of fixing this?

-r

[1] https://github.com/apache/incubator-openwhisk/commit/ec56eb81005a0a62cadd591ca55e1468c73df2b3

Re: Git commit

Posted by Matt Rutkowski <mr...@us.ibm.com>.
If the solution is rewriting history, then that sounds way too extreme... 
we should make sure INFRA does not do this.

Kind regards,
Matt



From:   Carlos Santana <cs...@gmail.com>
To:     dev@openwhisk.apache.org
Date:   09/14/2017 09:27 AM
Subject:        Re: Git commit



I don't want INFRA rewriting the history on master !!

We can give creds by reverting and resubmitting


When multiple authors are in a PR we need to use the button "rebase and
merge" when there is one author use the "squash and merge" which is the
default for me,

And yes mistakes like this happens I think happened twice to me :-) in the
openwhisk-cli repo, and we reverted and resubmitted the PR



On Wed, Sep 13, 2017 at 6:02 PM Rodric Rabbah <ro...@gmail.com> wrote:

> With Matt's help, I created a JIRA issue
> 
https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_INFRA-2D15081&d=DwIBaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=FKhq2p327vjSAVFaS1Vju1O_ncn6NHMZgRLImAK23C4&s=xidhYv7l2f_JHQ1o6I8wK98UgvjEdcTfN6jmfl32oBQ&e= 
 for reference.
>
> -r
>
> On Wed, Sep 13, 2017 at 5:02 PM, Rodric Rabbah <ro...@gmail.com> wrote:
>
> > Thanks Matt.
> >
> > Separately, Carlos suggested reverting the commit and then commit 
again.
> > Absent a better suggestion/option, I'll do that.
> >
> > On a side note, I will now be more careful using the shinny green 
button
> > which I think some of us have gotten accustomed to recently.
> >
> > -r
> >
> > On Wed, Sep 13, 2017 at 5:00 PM, Matt Rutkowski <mr...@us.ibm.com>
> > wrote:
> >
> >> Sounds like a question for INFRA team; however, only a few are 
working
> >> with GitHub and would not be surprised if they do not have a 
procedure
> for
> >> this.  For Apache purposes, it would be important for "Snoot" tool to
> ack.
> >> credit for committers when multiple appear on the same merge.
> >>
> >>
> >>
> >>
> >> From:   Rodric Rabbah <ro...@gmail.com>
> >> To:     dev@openwhisk.apache.org
> >> Date:   09/13/2017 03:05 PM
> >> Subject:        Git commit
> >>
> >>
> >>
> >> Hi
> >>
> >> I just merged a PR:
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> >> com_apache_incubator-2Dopenwhisk_pull_2718&d=DwIFAg&c=jf_
> >> iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlA
> >> Jj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=wQxKGq
> >> 6kmqsqwqpwOm7jVnAPJ5aj4_ZxxtcacxAPBsA&e=
> >>
> >>
> >> You can see if look at it the first commit is it mine but is Scott
> >> Wilson-Billing's.
> >>
> >> Yet when I squashed and merge the PR (which I opened to rebase and
> update
> >> because we dropped the ball on its predecessor
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> >> com_apache_incubator-2Dopenwhisk_pull_2171&d=DwIFAg&c=jf_
> >> iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlA
> >> Jj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=
> >> WjsheALhQmd-XeZy1hnygJ2IIqbOLDILcQt6rSCiWjo&e=
> >> ) I was credited with the commit [1] which is not right.
> >>
> >> I don't know how to correct this without forcing an updated commit
> (which
> >> I don't think we have rights to). What's the Apache way of fixing 
this?
> >>
> >> -r
> >>
> >> [1]
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> >> com_apache_incubator-2Dopenwhisk_commit_ec56eb81005a0a62cadd
> >> 591ca55e1468c73df2b3&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQ
> >> LM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=IPgHMBExfU1B6EDZt
> >> Jh9gTpAvgNGZqmYvqNPXwQCEGo&s=-1rdGjaZwu-DQK60KeQFNgn7eWRe8jc
> >> sl20UM1u1sKs&e=
> >>
> >>
> >>
> >>
> >>
> >
>





Re: Git commit

Posted by Carlos Santana <cs...@gmail.com>.
I'm OK leaving with that, that pissing a whole community :-)

Commit was just re-added with correct credit
https://github.com/apache/incubator-openwhisk/commit/4309e3fc1db0d2168b9a7809e0963967b5c069fd



On Thu, Sep 14, 2017 at 11:22 AM Matt Rutkowski <mr...@us.ibm.com> wrote:

> Thankfully, Apache INFRA agrees... that is they will not rewrite history
> and we "have to live with it".
>
>

Re: Git commit

Posted by Matt Rutkowski <mr...@us.ibm.com>.
Thankfully, Apache INFRA agrees... that is they will not rewrite history 
and we "have to live with it".


Re: Git commit

Posted by Carlos Santana <cs...@gmail.com>.
I don't want INFRA rewriting the history on master !!

We can give creds by reverting and resubmitting


When multiple authors are in a PR we need to use the button "rebase and
merge" when there is one author use the "squash and merge" which is the
default for me,

And yes mistakes like this happens I think happened twice to me :-) in the
openwhisk-cli repo, and we reverted and resubmitted the PR



On Wed, Sep 13, 2017 at 6:02 PM Rodric Rabbah <ro...@gmail.com> wrote:

> With Matt's help, I created a JIRA issue
> https://issues.apache.org/jira/browse/INFRA-15081 for reference.
>
> -r
>
> On Wed, Sep 13, 2017 at 5:02 PM, Rodric Rabbah <ro...@gmail.com> wrote:
>
> > Thanks Matt.
> >
> > Separately, Carlos suggested reverting the commit and then commit again.
> > Absent a better suggestion/option, I'll do that.
> >
> > On a side note, I will now be more careful using the shinny green button
> > which I think some of us have gotten accustomed to recently.
> >
> > -r
> >
> > On Wed, Sep 13, 2017 at 5:00 PM, Matt Rutkowski <mr...@us.ibm.com>
> > wrote:
> >
> >> Sounds like a question for INFRA team; however, only a few are working
> >> with GitHub and would not be surprised if they do not have a procedure
> for
> >> this.  For Apache purposes, it would be important for "Snoot" tool to
> ack.
> >> credit for committers when multiple appear on the same merge.
> >>
> >>
> >>
> >>
> >> From:   Rodric Rabbah <ro...@gmail.com>
> >> To:     dev@openwhisk.apache.org
> >> Date:   09/13/2017 03:05 PM
> >> Subject:        Git commit
> >>
> >>
> >>
> >> Hi
> >>
> >> I just merged a PR:
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> >> com_apache_incubator-2Dopenwhisk_pull_2718&d=DwIFAg&c=jf_
> >> iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlA
> >> Jj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=wQxKGq
> >> 6kmqsqwqpwOm7jVnAPJ5aj4_ZxxtcacxAPBsA&e=
> >>
> >>
> >> You can see if look at it the first commit is it mine but is Scott
> >> Wilson-Billing's.
> >>
> >> Yet when I squashed and merge the PR (which I opened to rebase and
> update
> >> because we dropped the ball on its predecessor
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> >> com_apache_incubator-2Dopenwhisk_pull_2171&d=DwIFAg&c=jf_
> >> iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlA
> >> Jj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=
> >> WjsheALhQmd-XeZy1hnygJ2IIqbOLDILcQt6rSCiWjo&e=
> >> ) I was credited with the commit [1] which is not right.
> >>
> >> I don't know how to correct this without forcing an updated commit
> (which
> >> I don't think we have rights to). What's the Apache way of fixing this?
> >>
> >> -r
> >>
> >> [1]
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> >> com_apache_incubator-2Dopenwhisk_commit_ec56eb81005a0a62cadd
> >> 591ca55e1468c73df2b3&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQ
> >> LM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=IPgHMBExfU1B6EDZt
> >> Jh9gTpAvgNGZqmYvqNPXwQCEGo&s=-1rdGjaZwu-DQK60KeQFNgn7eWRe8jc
> >> sl20UM1u1sKs&e=
> >>
> >>
> >>
> >>
> >>
> >
>

Re: Git commit

Posted by Rodric Rabbah <ro...@gmail.com>.
With Matt's help, I created a JIRA issue
https://issues.apache.org/jira/browse/INFRA-15081 for reference.

-r

On Wed, Sep 13, 2017 at 5:02 PM, Rodric Rabbah <ro...@gmail.com> wrote:

> Thanks Matt.
>
> Separately, Carlos suggested reverting the commit and then commit again.
> Absent a better suggestion/option, I'll do that.
>
> On a side note, I will now be more careful using the shinny green button
> which I think some of us have gotten accustomed to recently.
>
> -r
>
> On Wed, Sep 13, 2017 at 5:00 PM, Matt Rutkowski <mr...@us.ibm.com>
> wrote:
>
>> Sounds like a question for INFRA team; however, only a few are working
>> with GitHub and would not be surprised if they do not have a procedure for
>> this.  For Apache purposes, it would be important for "Snoot" tool to ack.
>> credit for committers when multiple appear on the same merge.
>>
>>
>>
>>
>> From:   Rodric Rabbah <ro...@gmail.com>
>> To:     dev@openwhisk.apache.org
>> Date:   09/13/2017 03:05 PM
>> Subject:        Git commit
>>
>>
>>
>> Hi
>>
>> I just merged a PR:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
>> com_apache_incubator-2Dopenwhisk_pull_2718&d=DwIFAg&c=jf_
>> iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlA
>> Jj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=wQxKGq
>> 6kmqsqwqpwOm7jVnAPJ5aj4_ZxxtcacxAPBsA&e=
>>
>>
>> You can see if look at it the first commit is it mine but is Scott
>> Wilson-Billing's.
>>
>> Yet when I squashed and merge the PR (which I opened to rebase and update
>> because we dropped the ball on its predecessor
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
>> com_apache_incubator-2Dopenwhisk_pull_2171&d=DwIFAg&c=jf_
>> iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlA
>> Jj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=
>> WjsheALhQmd-XeZy1hnygJ2IIqbOLDILcQt6rSCiWjo&e=
>> ) I was credited with the commit [1] which is not right.
>>
>> I don't know how to correct this without forcing an updated commit (which
>> I don't think we have rights to). What's the Apache way of fixing this?
>>
>> -r
>>
>> [1]
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
>> com_apache_incubator-2Dopenwhisk_commit_ec56eb81005a0a62cadd
>> 591ca55e1468c73df2b3&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQ
>> LM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=IPgHMBExfU1B6EDZt
>> Jh9gTpAvgNGZqmYvqNPXwQCEGo&s=-1rdGjaZwu-DQK60KeQFNgn7eWRe8jc
>> sl20UM1u1sKs&e=
>>
>>
>>
>>
>>
>

Re: Git commit

Posted by Rodric Rabbah <ro...@gmail.com>.
Thanks Matt.

Separately, Carlos suggested reverting the commit and then commit again.
Absent a better suggestion/option, I'll do that.

On a side note, I will now be more careful using the shinny green button
which I think some of us have gotten accustomed to recently.

-r

On Wed, Sep 13, 2017 at 5:00 PM, Matt Rutkowski <mr...@us.ibm.com> wrote:

> Sounds like a question for INFRA team; however, only a few are working
> with GitHub and would not be surprised if they do not have a procedure for
> this.  For Apache purposes, it would be important for "Snoot" tool to ack.
> credit for committers when multiple appear on the same merge.
>
>
>
>
> From:   Rodric Rabbah <ro...@gmail.com>
> To:     dev@openwhisk.apache.org
> Date:   09/13/2017 03:05 PM
> Subject:        Git commit
>
>
>
> Hi
>
> I just merged a PR:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> com_apache_incubator-2Dopenwhisk_pull_2718&d=DwIFAg&c=jf_iaSHvJObTbx-
> siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=
> IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=
> wQxKGq6kmqsqwqpwOm7jVnAPJ5aj4_ZxxtcacxAPBsA&e=
>
>
> You can see if look at it the first commit is it mine but is Scott
> Wilson-Billing's.
>
> Yet when I squashed and merge the PR (which I opened to rebase and update
> because we dropped the ball on its predecessor
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> com_apache_incubator-2Dopenwhisk_pull_2171&d=DwIFAg&c=jf_iaSHvJObTbx-
> siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=
> IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=WjsheALhQmd-
> XeZy1hnygJ2IIqbOLDILcQt6rSCiWjo&e=
> ) I was credited with the commit [1] which is not right.
>
> I don't know how to correct this without forcing an updated commit (which
> I don't think we have rights to). What's the Apache way of fixing this?
>
> -r
>
> [1]
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> com_apache_incubator-2Dopenwhisk_commit_ec56eb81005a0a62cadd591ca55e14
> 68c73df2b3&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_
> SFxRIxS478q2gZlAJj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZq
> mYvqNPXwQCEGo&s=-1rdGjaZwu-DQK60KeQFNgn7eWRe8jcsl20UM1u1sKs&e=
>
>
>
>
>

Re: Git commit

Posted by Matt Rutkowski <mr...@us.ibm.com>.
Sounds like a question for INFRA team; however, only a few are working 
with GitHub and would not be surprised if they do not have a procedure for 
this.  For Apache purposes, it would be important for "Snoot" tool to ack. 
credit for committers when multiple appear on the same merge. 




From:   Rodric Rabbah <ro...@gmail.com>
To:     dev@openwhisk.apache.org
Date:   09/13/2017 03:05 PM
Subject:        Git commit



Hi

I just merged a PR:
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk_pull_2718&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=wQxKGq6kmqsqwqpwOm7jVnAPJ5aj4_ZxxtcacxAPBsA&e= 


You can see if look at it the first commit is it mine but is Scott 
Wilson-Billing's. 

Yet when I squashed and merge the PR (which I opened to rebase and update 
because we dropped the ball on its predecessor 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk_pull_2171&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=WjsheALhQmd-XeZy1hnygJ2IIqbOLDILcQt6rSCiWjo&e= 
) I was credited with the commit [1] which is not right.

I don't know how to correct this without forcing an updated commit (which 
I don't think we have rights to). What's the Apache way of fixing this?

-r

[1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk_commit_ec56eb81005a0a62cadd591ca55e1468c73df2b3&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=IPgHMBExfU1B6EDZtJh9gTpAvgNGZqmYvqNPXwQCEGo&s=-1rdGjaZwu-DQK60KeQFNgn7eWRe8jcsl20UM1u1sKs&e=