[oe] Patch procedure for dummies

Khem Raj raj.khem at gmail.com
Wed Sep 15 17:15:50 UTC 2010


On Wed, Sep 15, 2010 at 9:41 AM, AJ ONeal <coolaj86 at gmail.com> wrote:
> I believe that I have compiled all of the notes from this thread into the
> wiki:
> http://wiki.openembedded.net/index.php/How_to_submit_a_patch_for_dummies
>
> Please review and give feedback.


looks good. I have done some corrections and additions on the page.

>
> AJ ONeal
>
>
> On Wed, Aug 25, 2010 at 8:43 AM, AJ ONeal <coolaj86 at gmail.com> wrote:
>
>> Please give me feedback and I'll post this on the wiki.
>>
>> A task-oriented guide to creating a patch:
>>
>>
>>
>>> Let's say you create a new recipe and you'd like to submit it for
>>> inclusion (and you've already tested that it works, of course).
>>>
>>> 1. Now commit with a good strong helpful message
>>>
>>>     git add recipes/nodejs/
>>>     git commit # don't use the -m option
>>>
>>> 2. The message should look like this
>>>
>>>     added recipe for node.js
>>>
>>>     * added recipe for node.js (bug #5555 - no nodejs recipe)
>>>     ** patched libev's wscript to not try to execute code
>>>     ** patched node's wscript to not search in '/usr/include'
>>>
>>>     Signed-off-by: AJ ONeal <coolaj86 at gmail.com>
>>>
>>> 3. Create your patch
>>>
>>>     git format-patch -1 # or however many commits are part of this change
>>>
>>> 3++. If you are submitting a second version also add "--subject-prefix
>>> [v2]"
>>>
>>>     git send-email
>>>
>>> Your patch will be immediately visible on
>>> http://patchwork.openembedded.org/patch/
>>>
>>
>>
>>> 4. Once your patch has been accepted or rejected, create an account and
>>> update the status to "accepted" or "rejected"
>>>
>>> 4++. If you get soft-rejected (a lot of feedback), make the changes,
>>> submit the next version, and update the status of the previous patch to
>>> "superseded"
>>>
>>> Appendix: Properly configuring git (using tekkub at gmail.com as an example
>>> user)
>>>
>>>     sudo apt-get install git-core git-email
>>>     git config --global user.name "Tekkub"
>>>     git config --global user.email "tekkub at gmail.com"
>>>     git config --global sendemail.smtpserver smtp.gmail.com
>>>     git config --global sendemail.smtpserverport 587
>>>     git config --global sendemail.smtpencryption tls
>>>     git config --global sendemail.smtpuser tekkupl at gmail.com
>>>
>>
>>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
-Khem




More information about the Openembedded-devel mailing list