git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH] point pull requesters to Git Git Gadget

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 19, 2019, 00:30 UTC
Message-ID
<xmqq8sxbzowf.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190318215233.GI29661@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 25 quoted lines
> On Mon, Mar 18, 2019 at 09:48:42PM +0000, Thomas Gummerer wrote:
>
>> > It looks like GitGitGadget just uses normal SMTP to submit the messages.
>> > I wonder if normal people using gmail as their SMTP server for
>> > send-email also suffer from this. I've not ever noticed it, but I
>> > don't know how common that setup is.
>> 
>> I am using gmail as my SMTP server with 'git send-email', and it
>> doesn't look like gmail is rewriting anything there, see [*1*] for
>> example.  The date header looks like this:
>> 
>>     Date: Mon, 25 Feb 2019 23:16:04 +0000
>> 
>> Note the +0000 there, compared to the GMT that GitGitGadget uses.
>> Looking at RFC2822, that's the new version of specifying the timezone,
>> while GMT is only defined in the obsolete time and date section.  I
>> guess gmail might just not like that anymore and rewrite it.
>> 
>> So fixing this might not be that hard, and might not involve sleeping
>> while sending the patch series at all.  Changing how the date is
>> calculated in [*2*] might be all that's needed.
>
> Yes, if it really is as simple as just "gmail doesn't like our date
> format, so it rewrites the header", that would be wonderful. Thanks for
> an extra data point.

I use send-email through SMTP MSA at either gmail or pobox depending on the phase of the moon, and never noticed an issue with the timestamp we generate. But I noticed the "GMT" string in the "original-date" trail in the problem message, which I didn't think was an timestamp we would generate but somebody else might, and that was why I quoted it in my message. It is good that Thomas noticed it, came up with a conjecture and a pointer to a possible fix ;-)

Thanks, all.
Previous: Jeff KingNext: Ævar Arnfjörð Bjarmason
Message 16 of 28 in “point pull requesters to Git Git Gadget”
  1. point pull requesters to Git Git GadgetJeff King, Mar 12, 2019
  2. Roberto TyleyMar 12, 2019
  3. Jeff KingMar 13, 2019
  4. Johannes SchindelinMar 13, 2019
  5. Junio C HamanoMar 13, 2019
  6. Jeff KingMar 13, 2019
  7. Jeff KingMar 13, 2019
  8. Johannes SchindelinMar 14, 2019
  9. Jeff KingMar 15, 2019
  10. Johannes SchindelinMar 15, 2019
  11. Jeff KingMar 15, 2019
  12. Junio C HamanoMar 18, 2019
  13. Jeff KingMar 18, 2019
  14. Thomas GummererMar 18, 2019
  15. Jeff KingMar 18, 2019
  16. Junio C HamanoMar 19, 2019
  17. Ævar Arnfjörð BjarmasonMar 18, 2019
  18. Johannes SchindelinMar 13, 2019
  19. Junio C HamanoMar 13, 2019
  20. Junio C HamanoMar 13, 2019
  21. Junio C HamanoMar 13, 2019
  22. Jeff KingMar 13, 2019
  23. GitGitGadget on github.com/git/git?, was Re: [RFC/PATCH] point pull requesters to Git Git GadgetJohannes Schindelin, Mar 14, 2019
  24. Duy NguyenMar 14, 2019
  25. Jeff KingMar 15, 2019
  26. Johannes SchindelinMar 15, 2019
  27. Ævar Arnfjörð BjarmasonMar 15, 2019
  28. Jeff KingMar 15, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.