[oe] Using `git send-email` (was: Number 1 tip for getting your patch committed)

Khem Raj raj.khem at gmail.com
Mon Jan 25 07:32:19 UTC 2010


On Sat, Jan 23, 2010 at 2:06 PM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> [Sorry guys for spamming the list with my messages. But I want to get my
> questions out to you so that I can scratch it from my list.]
>
>
> Am Donnerstag, den 21.01.2010, 07:58 -0500 schrieb Philip Balister:
>> Follow the commit log message policy at:
>>
>> http://wiki.openembedded.net/index.php/Commit_log_example
>>
>> and use git send-email to send the patch to the list. If you do this, it
>> makes the act of retrieving the patch from patchwork trivial (see
>> contrib/patchwprk/pw-am.sh).
>>
>> This leaves you in a position where you can discuss the patch with
>> someone with commit access and they can easily apply and push the patch.
>
> I have two problems with this.
>
> Firstly using `git send-email` is nowhere mentioned in the commit policy
> [1].
>
> Secondly for a lot of people using `git send-email` is no option because
> setup is too difficult, their MUA does not integrate well with `git
> send-email` so the address book is not available, they do want to have
> sent messages archived in their Sent folder, they want to ask some
> questions regarding the patch and therefore need to write a message and
> attach it.

all can be achieved with git send-email you need to add
[sendemail]
        to = openembedded-devel at lists.openembedded.org

to openembedded/.git/config and you dont have to type in to
address everytime you send patch and if you have proper Sign-offs then
it CC the mail to people in Signed-off-by too.

but I do agree some people might want to use other mail clients
I would say than to follow the guidelines mentioned in linux kernel
project for various email clients Documentation/
email-clients.txt


>
> In my opinion we should therefore find a way to also work easily with
> attached patches having been created with `git format-patch`. Can some
> of the developers mention what the disadvantage of attached patches is.
> You can easily quote them to and saving and applying should be as easy
> as with messages sent using `git send-email`.
>
> The only disadvantage I can think of seems to be that it is not
> displayed in the mailing list archive.
>
> And of course that it is not easy to retrieve them from Patchwork. If
> that is the only obstacle I would try to contact the Patchwork hackers
> and ask them to implement an option to retrieve the attachment if it has
> for example the extension »patch« or »diff«.
>
>
> Thanks,
>
> Paul
>
>
> [1] http://wiki.openembedded.net/index.php/Commit_Policy
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>




More information about the Openembedded-devel mailing list