[edk2-devel] [PATCH v2 000/105] .mailmap: Add mailmap file to have a cleaner git history

Philippe Mathieu-Daudé philmd at redhat.com
Fri Dec 6 14:09:15 UTC 2019


On 12/6/19 1:43 PM, Laszlo Ersek wrote:
> On 12/06/19 13:13, Philippe Mathieu-Daudé wrote:
>> On 12/6/19 12:24 PM, Philippe Mathieu-Daude wrote:
>> [...]
>>> - Another note regarding groups.io 40 posts per 30min limit -
>>>
>>> My previous big series [5] involved 79 patches, and groups.io banned
>>> me for some time after the 40th post. On [5] Laszlo suggested to test
>>> the following git-send-email options to see if we can work with big
>>> series and groups.io:
>>>
>>>      --batch-size=<num>
>>>          Some email servers (e.g. smtp.163.com) limit the number
>>>          emails to be sent per session (connection) and this will
>>>          lead to a failure when sending many messages. With this
>>>          option, send-email will disconnect after sending $<num>
>>>          messages and wait for a few seconds (see --relogin-delay)
>>>          and reconnect, to work around such a limit. You may want
>>>          to use some form of credential helper to avoid having to
>>>          retype your password every time this happens. Defaults to
>>>          the sendemail.smtpBatchSize configuration variable.
>>>
>>>      --relogin-delay=<int>
>>>          Waiting $<int> seconds before reconnecting to SMTP server.
>>>          Used together with --batch-size option. Defaults to the
>>>          sendemail.smtpReloginDelay configuration variable.
>>>
>>> So I'm sending this series using git-publish [7] after setting the
>>> following values:
>>>
>>>     $ git config sendemail.smtpBatchSize 33
>>>     $ git config sendemail.smtpReloginDelay 1848
>>
>> Replying to self after 66 in an hour to verify that I'm not banned ... :)

So I can confirm this experiment worked like charm.

I haven't tested the road-runner mode, putting laptop to sleep in the 
middle, wake up in another network.

> How did you come up with these exact numbers BTW?

I kept room for 7 mails per 30min, so I could keep reviewing other 
patches while sending. This might be too conservative.

I noticed git-send-email only read the git-config once, when it is 
started. If you modify it in another terminal while it is in the relogin 
delay, it won't use the updated value until finishing to send all the 
series.

30min = 1800sec, adding few more seconds to not play with fire and get 
banned for few seconds.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51960): https://edk2.groups.io/g/devel/message/51960
Mute This Topic: https://groups.io/mt/67467659/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list