[Sugar-devel] git send-email (was: Re: Bug tracking Vs Patch review)

Sascha Silbe sascha-ml-reply-to-2010-3 at silbe.org
Mon Sep 6 07:23:27 EDT 2010


Excerpts from Bert Freudenberg's message of Fri Sep 03 00:06:23 +0200 2010:

> Also, mail sent this way gets blocked, see below. I'll send it again using my regular mailer.

There are two issues:

1. You are a second class internet citizen (dial-up), so you need to
   relay your mails via a first class citizen (provider, e.g. your
   ISP).

2. You haven't set up git-email correctly: user.email isn't set.
   IIRC it should have told you that when sending. It's falling back
   to <account name>@<host name> which won't work on the majority of
   boxes.

We (= not me ;) ) should look for and link to a good tutorial explaining
how to set up and use git send-email. If anyone has difficulty getting
it to work with their provider, we can set up an SMTP relay for
sugarlabs.org (authenticated SMTP, port 587).
For reference, here's my ~/.gitconfig:

=== Begin ===
[user]
        email = sascha-pgp at silbe.org
        name = Sascha Silbe
[url "gitorious at git.sugarlabs.org:"]
        pushInsteadOf = git://git.sugarlabs.org/
[alias]
        send-to-ml-multi = "!git send-email -s --annotate --summary --cover-letter --add-header=\"Reply-To: Sascha Silbe <sascha-ml-reply-to-$(python -c 'import time; t=time.gmtime(); print \"%d-%d\" % (t.tm_year, t.tm_mon//4+1)')@silbe.org>\""
        send-to-ml-single = "!git send-email -s -p --stat --add-header=\"Reply-To: Sascha Silbe <sascha-ml-reply-to-$(python -c 'import time; t=time.gmtime(); print \"%d-%d\" % (t.tm_year, t.tm_mon//4+1)')@silbe.org>\""
# tg mail doesn't use format-patch, so add-header doesn't work :(
#       tg-send-to-ml-single = "!tg mail -s \"-p --stat --add-header=\\\"Reply-To: Sascha Silbe <sascha-ml-reply-to-$(python -c 'import time; t=time.gmtime(); print \"%d-%d\" % (t.tm_year, t.tm_mon//4+1)')@silbe.org>\\\"\""
        tg-send-to-ml-single = "!tg mail -s \"-p --stat --annotate\""
[sendemail]
        from = Sascha Silbe <sascha-pgp at silbe.org>
        chainreplyto = false
        signedoffcc = false
        suppressfrom = true
        confirm = always
        suppresscc = all
[color]
        diff = auto
[diff]
        renames = copies
=== End


Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100906/3a135c9a/attachment.pgp 


More information about the Sugar-devel mailing list