You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by da...@apache.org on 2014/03/27 13:05:10 UTC
Accepting pull requests for Aries from Github
Hi all,
I noticed that there are a few pull requests on Aries at github [1].
I was wondering, can we just apply these, or must they be physically
attached to JIRA issues to correctly follow IP rules?
I noticed that e.g. [2] does mention the pull request in the comments...
Just wondering what the process should be...
Cheers,
David
[1] https://github.com/apache/aries/pulls
[2] https://issues.apache.org/jira/browse/ARIES-1164
Re: Accepting pull requests for Aries from Github
Posted by Jeremy Hughes <jp...@gmail.com>.
There's a long discussion on the members@ list.
https://mail-search.apache.org/members/private-arch/members/201311.mbox/%3C9CC82400-9A4B-4DE3-A502-C18A7C6A3179@gmail.com%3E
(sorry that's a private list).
This summarises it:
https://issues.apache.org/jira/browse/LEGAL-156
Cheers,
Jeremy
On 28 March 2014 08:35, <da...@apache.org> wrote:
> That's great - but I'm wondering how this works from an IP-flow point of
> view.
> I guess that by attaching a patch to a JIRA issue one formally donates
> the code to Apache.
>
> But by merging a github pull request you take a few commits from
> someone's own fork and add this to the main repo. I guess you could
> view the creation of the pull request itself as a statement by the
> committer that (s)he wants to donate this code?
>
> Anyway - do you know of a formal document somewhere where interaction
> with github (or other code repos) is defined?
>
> Cheers,
>
> David
>
> On 27 March 2014 19:31, Daniel Kulp <dk...@apache.org> wrote:
> >
> > On Mar 27, 2014, at 8:05 AM, davidb@apache.org wrote:
> >
> >> Hi all,
> >>
> >> I noticed that there are a few pull requests on Aries at github [1].
> >> I was wondering, can we just apply these, or must they be physically
> >> attached to JIRA issues to correctly follow IP rules?
> >> I noticed that e.g. [2] does mention the pull request in the comments...
> >>
> >> Just wondering what the process should be...
> >
> > Pulling the pull requests directly is fine. Many projects have started
> preferring that.
> >
> > When you do, it's sometimes best to amend/edit the commit log to include
> something like
> >
> > "This closes #2"
> >
> > so the pull request will close automatically when you commit.
> >
> > Dan
> >
> >
> >>
> >> Cheers,
> >>
> >> David
> >>
> >> [1] https://github.com/apache/aries/pulls
> >> [2] https://issues.apache.org/jira/browse/ARIES-1164
> >
> > --
> > Daniel Kulp
> > dkulp@apache.org - http://dankulp.com/blog
> > Talend Community Coder - http://coders.talend.com
> >
>
Re: Accepting pull requests for Aries from Github
Posted by da...@apache.org.
Right - ok. So it has to go through SVN, at least for Aries right now.
Thanks for the help!
David
On 28 March 2014 16:27, Daniel Kulp <dk...@apache.org> wrote:
>
> On Mar 28, 2014, at 12:09 PM, davidb@apache.org wrote:
>
>> Cool - thanks for the explanation.
>>
>> In terms of Aries, since we're still using SVN, can I actually push
>> commits to git directly?
>> FWIW I tried pushing to git://git.apache.org/aries.git and
>> https://git-wip-us.apache.org/repos/asf/aries.git but they don't seem
>> to work...
>>
>> Or, should I, since Aries uses SVN, commit these pull requests via
>> diff patches in SVN directly?
>
> Well, they have to go in via SVN one way or another. If you use SVN for development, then you would need to grab the "diff patch" and apply it and commit it. That certainly works.
>
> If you use the git-svn integration for your development, then you can do a direct git pull and then git svn dcommit to get it into SVN.
>
>
> Dan
>
>
>
>>
>> Cheers,
>>
>> David
>>
>> On 28 March 2014 13:42, Daniel Kulp <dk...@apache.org> wrote:
>>>
>>> On Mar 28, 2014, at 4:35 AM, davidb@apache.org wrote:
>>>
>>>> That's great - but I'm wondering how this works from an IP-flow point of view.
>>>> I guess that by attaching a patch to a JIRA issue one formally donates
>>>> the code to Apache.
>>>>
>>>> But by merging a github pull request you take a few commits from
>>>> someone's own fork and add this to the main repo. I guess you could
>>>> view the creation of the pull request itself as a statement by the
>>>> committer that (s)he wants to donate this code?
>>>
>>> Yea..... pretty much that's it. They've had to specifically click on a few things to have github initiate the pull request which is enough for us to say they intended to contribute their changes to Apache.
>>>
>>> That said, somethings still would apply. If the change is "huge", we'd still want an ICLA and likely a code grant on file. But for the simple patches and updates and such, a pull request is adequate, especially now that the pull requests are ending up on our JIRA and on the dev lists so there is a good record.
>>>
>>> Note: I had INFRA update the github mirror so the trunk branch is the default instead of whatever ancient branch it had been using. Should make forking and such from github easier.
>>>
>>> Dan
>>>
>>>
>>>
>>>>
>>>> Anyway - do you know of a formal document somewhere where interaction
>>>> with github (or other code repos) is defined?
>>>>
>>>> Cheers,
>>>>
>>>> David
>>>>
>>>> On 27 March 2014 19:31, Daniel Kulp <dk...@apache.org> wrote:
>>>>>
>>>>> On Mar 27, 2014, at 8:05 AM, davidb@apache.org wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I noticed that there are a few pull requests on Aries at github [1].
>>>>>> I was wondering, can we just apply these, or must they be physically
>>>>>> attached to JIRA issues to correctly follow IP rules?
>>>>>> I noticed that e.g. [2] does mention the pull request in the comments...
>>>>>>
>>>>>> Just wondering what the process should be...
>>>>>
>>>>> Pulling the pull requests directly is fine. Many projects have started preferring that.
>>>>>
>>>>> When you do, it's sometimes best to amend/edit the commit log to include something like
>>>>>
>>>>> "This closes #2"
>>>>>
>>>>> so the pull request will close automatically when you commit.
>>>>>
>>>>> Dan
>>>>>
>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> David
>>>>>>
>>>>>> [1] https://github.com/apache/aries/pulls
>>>>>> [2] https://issues.apache.org/jira/browse/ARIES-1164
>>>>>
>>>>> --
>>>>> Daniel Kulp
>>>>> dkulp@apache.org - http://dankulp.com/blog
>>>>> Talend Community Coder - http://coders.talend.com
>>>>>
>>>
>>> --
>>> Daniel Kulp
>>> dkulp@apache.org - http://dankulp.com/blog
>>> Talend Community Coder - http://coders.talend.com
>>>
>
> --
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
Re: Accepting pull requests for Aries from Github
Posted by Daniel Kulp <dk...@apache.org>.
On Mar 28, 2014, at 12:09 PM, davidb@apache.org wrote:
> Cool - thanks for the explanation.
>
> In terms of Aries, since we're still using SVN, can I actually push
> commits to git directly?
> FWIW I tried pushing to git://git.apache.org/aries.git and
> https://git-wip-us.apache.org/repos/asf/aries.git but they don't seem
> to work...
>
> Or, should I, since Aries uses SVN, commit these pull requests via
> diff patches in SVN directly?
Well, they have to go in via SVN one way or another. If you use SVN for development, then you would need to grab the “diff patch” and apply it and commit it. That certainly works.
If you use the git-svn integration for your development, then you can do a direct git pull and then git svn dcommit to get it into SVN.
Dan
>
> Cheers,
>
> David
>
> On 28 March 2014 13:42, Daniel Kulp <dk...@apache.org> wrote:
>>
>> On Mar 28, 2014, at 4:35 AM, davidb@apache.org wrote:
>>
>>> That's great - but I'm wondering how this works from an IP-flow point of view.
>>> I guess that by attaching a patch to a JIRA issue one formally donates
>>> the code to Apache.
>>>
>>> But by merging a github pull request you take a few commits from
>>> someone's own fork and add this to the main repo. I guess you could
>>> view the creation of the pull request itself as a statement by the
>>> committer that (s)he wants to donate this code?
>>
>> Yea..... pretty much that's it. They've had to specifically click on a few things to have github initiate the pull request which is enough for us to say they intended to contribute their changes to Apache.
>>
>> That said, somethings still would apply. If the change is "huge", we'd still want an ICLA and likely a code grant on file. But for the simple patches and updates and such, a pull request is adequate, especially now that the pull requests are ending up on our JIRA and on the dev lists so there is a good record.
>>
>> Note: I had INFRA update the github mirror so the trunk branch is the default instead of whatever ancient branch it had been using. Should make forking and such from github easier.
>>
>> Dan
>>
>>
>>
>>>
>>> Anyway - do you know of a formal document somewhere where interaction
>>> with github (or other code repos) is defined?
>>>
>>> Cheers,
>>>
>>> David
>>>
>>> On 27 March 2014 19:31, Daniel Kulp <dk...@apache.org> wrote:
>>>>
>>>> On Mar 27, 2014, at 8:05 AM, davidb@apache.org wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I noticed that there are a few pull requests on Aries at github [1].
>>>>> I was wondering, can we just apply these, or must they be physically
>>>>> attached to JIRA issues to correctly follow IP rules?
>>>>> I noticed that e.g. [2] does mention the pull request in the comments...
>>>>>
>>>>> Just wondering what the process should be...
>>>>
>>>> Pulling the pull requests directly is fine. Many projects have started preferring that.
>>>>
>>>> When you do, it's sometimes best to amend/edit the commit log to include something like
>>>>
>>>> "This closes #2"
>>>>
>>>> so the pull request will close automatically when you commit.
>>>>
>>>> Dan
>>>>
>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> David
>>>>>
>>>>> [1] https://github.com/apache/aries/pulls
>>>>> [2] https://issues.apache.org/jira/browse/ARIES-1164
>>>>
>>>> --
>>>> Daniel Kulp
>>>> dkulp@apache.org - http://dankulp.com/blog
>>>> Talend Community Coder - http://coders.talend.com
>>>>
>>
>> --
>> Daniel Kulp
>> dkulp@apache.org - http://dankulp.com/blog
>> Talend Community Coder - http://coders.talend.com
>>
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com
Re: Accepting pull requests for Aries from Github
Posted by da...@apache.org.
Cool - thanks for the explanation.
In terms of Aries, since we're still using SVN, can I actually push
commits to git directly?
FWIW I tried pushing to git://git.apache.org/aries.git and
https://git-wip-us.apache.org/repos/asf/aries.git but they don't seem
to work...
Or, should I, since Aries uses SVN, commit these pull requests via
diff patches in SVN directly?
Cheers,
David
On 28 March 2014 13:42, Daniel Kulp <dk...@apache.org> wrote:
>
> On Mar 28, 2014, at 4:35 AM, davidb@apache.org wrote:
>
>> That's great - but I'm wondering how this works from an IP-flow point of view.
>> I guess that by attaching a patch to a JIRA issue one formally donates
>> the code to Apache.
>>
>> But by merging a github pull request you take a few commits from
>> someone's own fork and add this to the main repo. I guess you could
>> view the creation of the pull request itself as a statement by the
>> committer that (s)he wants to donate this code?
>
> Yea..... pretty much that's it. They've had to specifically click on a few things to have github initiate the pull request which is enough for us to say they intended to contribute their changes to Apache.
>
> That said, somethings still would apply. If the change is "huge", we'd still want an ICLA and likely a code grant on file. But for the simple patches and updates and such, a pull request is adequate, especially now that the pull requests are ending up on our JIRA and on the dev lists so there is a good record.
>
> Note: I had INFRA update the github mirror so the trunk branch is the default instead of whatever ancient branch it had been using. Should make forking and such from github easier.
>
> Dan
>
>
>
>>
>> Anyway - do you know of a formal document somewhere where interaction
>> with github (or other code repos) is defined?
>>
>> Cheers,
>>
>> David
>>
>> On 27 March 2014 19:31, Daniel Kulp <dk...@apache.org> wrote:
>>>
>>> On Mar 27, 2014, at 8:05 AM, davidb@apache.org wrote:
>>>
>>>> Hi all,
>>>>
>>>> I noticed that there are a few pull requests on Aries at github [1].
>>>> I was wondering, can we just apply these, or must they be physically
>>>> attached to JIRA issues to correctly follow IP rules?
>>>> I noticed that e.g. [2] does mention the pull request in the comments...
>>>>
>>>> Just wondering what the process should be...
>>>
>>> Pulling the pull requests directly is fine. Many projects have started preferring that.
>>>
>>> When you do, it's sometimes best to amend/edit the commit log to include something like
>>>
>>> "This closes #2"
>>>
>>> so the pull request will close automatically when you commit.
>>>
>>> Dan
>>>
>>>
>>>>
>>>> Cheers,
>>>>
>>>> David
>>>>
>>>> [1] https://github.com/apache/aries/pulls
>>>> [2] https://issues.apache.org/jira/browse/ARIES-1164
>>>
>>> --
>>> Daniel Kulp
>>> dkulp@apache.org - http://dankulp.com/blog
>>> Talend Community Coder - http://coders.talend.com
>>>
>
> --
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
Re: Accepting pull requests for Aries from Github
Posted by Daniel Kulp <dk...@apache.org>.
On Mar 28, 2014, at 4:35 AM, davidb@apache.org wrote:
> That's great - but I'm wondering how this works from an IP-flow point of view.
> I guess that by attaching a patch to a JIRA issue one formally donates
> the code to Apache.
>
> But by merging a github pull request you take a few commits from
> someone's own fork and add this to the main repo. I guess you could
> view the creation of the pull request itself as a statement by the
> committer that (s)he wants to donate this code?
Yea….. pretty much that’s it. They’ve had to specifically click on a few things to have github initiate the pull request which is enough for us to say they intended to contribute their changes to Apache.
That said, somethings still would apply. If the change is “huge”, we’d still want an ICLA and likely a code grant on file. But for the simple patches and updates and such, a pull request is adequate, especially now that the pull requests are ending up on our JIRA and on the dev lists so there is a good record.
Note: I had INFRA update the github mirror so the trunk branch is the default instead of whatever ancient branch it had been using. Should make forking and such from github easier.
Dan
>
> Anyway - do you know of a formal document somewhere where interaction
> with github (or other code repos) is defined?
>
> Cheers,
>
> David
>
> On 27 March 2014 19:31, Daniel Kulp <dk...@apache.org> wrote:
>>
>> On Mar 27, 2014, at 8:05 AM, davidb@apache.org wrote:
>>
>>> Hi all,
>>>
>>> I noticed that there are a few pull requests on Aries at github [1].
>>> I was wondering, can we just apply these, or must they be physically
>>> attached to JIRA issues to correctly follow IP rules?
>>> I noticed that e.g. [2] does mention the pull request in the comments...
>>>
>>> Just wondering what the process should be...
>>
>> Pulling the pull requests directly is fine. Many projects have started preferring that.
>>
>> When you do, it's sometimes best to amend/edit the commit log to include something like
>>
>> "This closes #2"
>>
>> so the pull request will close automatically when you commit.
>>
>> Dan
>>
>>
>>>
>>> Cheers,
>>>
>>> David
>>>
>>> [1] https://github.com/apache/aries/pulls
>>> [2] https://issues.apache.org/jira/browse/ARIES-1164
>>
>> --
>> Daniel Kulp
>> dkulp@apache.org - http://dankulp.com/blog
>> Talend Community Coder - http://coders.talend.com
>>
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com
Re: Accepting pull requests for Aries from Github
Posted by da...@apache.org.
That's great - but I'm wondering how this works from an IP-flow point of view.
I guess that by attaching a patch to a JIRA issue one formally donates
the code to Apache.
But by merging a github pull request you take a few commits from
someone's own fork and add this to the main repo. I guess you could
view the creation of the pull request itself as a statement by the
committer that (s)he wants to donate this code?
Anyway - do you know of a formal document somewhere where interaction
with github (or other code repos) is defined?
Cheers,
David
On 27 March 2014 19:31, Daniel Kulp <dk...@apache.org> wrote:
>
> On Mar 27, 2014, at 8:05 AM, davidb@apache.org wrote:
>
>> Hi all,
>>
>> I noticed that there are a few pull requests on Aries at github [1].
>> I was wondering, can we just apply these, or must they be physically
>> attached to JIRA issues to correctly follow IP rules?
>> I noticed that e.g. [2] does mention the pull request in the comments...
>>
>> Just wondering what the process should be...
>
> Pulling the pull requests directly is fine. Many projects have started preferring that.
>
> When you do, it's sometimes best to amend/edit the commit log to include something like
>
> "This closes #2"
>
> so the pull request will close automatically when you commit.
>
> Dan
>
>
>>
>> Cheers,
>>
>> David
>>
>> [1] https://github.com/apache/aries/pulls
>> [2] https://issues.apache.org/jira/browse/ARIES-1164
>
> --
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
Re: Accepting pull requests for Aries from Github
Posted by Daniel Kulp <dk...@apache.org>.
On Mar 27, 2014, at 8:05 AM, davidb@apache.org wrote:
> Hi all,
>
> I noticed that there are a few pull requests on Aries at github [1].
> I was wondering, can we just apply these, or must they be physically
> attached to JIRA issues to correctly follow IP rules?
> I noticed that e.g. [2] does mention the pull request in the comments...
>
> Just wondering what the process should be…
Pulling the pull requests directly is fine. Many projects have started preferring that.
When you do, it’s sometimes best to amend/edit the commit log to include something like
“This closes #2”
so the pull request will close automatically when you commit.
Dan
>
> Cheers,
>
> David
>
> [1] https://github.com/apache/aries/pulls
> [2] https://issues.apache.org/jira/browse/ARIES-1164
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com