Better tools for kernel developers
Better tools for kernel developers
Posted Feb 7, 2020 22:13 UTC (Fri) by DSMan195276 (guest, #88396)In reply to: Better tools for kernel developers by milesrout
Parent article: Better tools for kernel developers
> There are loads of mail clients out there, nobody is forcing you to use mutt (which doesn't suck).
The number that you can actually use to send patches and reply to mail on the LKML is a lot smaller than you'd expect/like. And with that, besides outlook I don't know *anybody* who uses a desktop mail client anymore - the only time I ever use one is for sending/receiving patches and mail on the LKML and other mailing lists. And the GMail web interface (by far the most popular to use) in particular does not work for the LKML, because it wraps lines at 80 characters and does other silly things, so you can't send patches using that even if you wanted too. It also doesn't support a threaded view of conversations that you obviously need for most (all) mailing lists, so replying to emails via that (which is "supposed to be easy") is also largely impossible.
With that, the list of desktop mail clients is slim and getting slimmer (because nobody uses them...) and `mutt` is the only one I had much success with for the LKML. There `alpine`, which is just as messy to get working as `mutt` in my experience, and there's also `evolution` which somewhat works but requires some settings to get right. I mean, just look at the kernel documentation for setting up your email client:
https://www.kernel.org/doc/html/v5.5/process/email-client...
The fact that it even needs a page that long with a bunch of weird settings should indicate things are a lot messier than you're suggesting. And the only time anybody is ever going to use any of those programs is when they're sending patches, they're otherwise useless tools for almost everybody.
My last point is the big one - the process is no longer "use your existing email client to do this", instead it has become "install and configure one of these obscure programs to interact with our system".
Posted Feb 7, 2020 22:29 UTC (Fri)
by andyc (subscriber, #1130)
[Link]
Nice to meet you... (Cl;aws Mail with own mail server)
Posted Feb 7, 2020 23:13 UTC (Fri)
by Jandar (subscriber, #85683)
[Link] (1 responses)
I'm struggling to think of any web application which isn't inferior to a local running program.
Posted Feb 8, 2020 1:18 UTC (Sat)
by rgmoore (✭ supporter ✭, #75)
[Link]
I know a lot of people who use web-mail as their interface for their personal mail. It seems to me that it has two big advantages:
These are big advantages for people who aren't very computer savvy, not that "aren't very computer savvy" describes many kernel contributors.
Posted Feb 10, 2020 8:42 UTC (Mon)
by geert (subscriber, #98403)
[Link] (6 responses)
Yes, GMail has lost the ability to not corrupt patches copy-'n-pasted to the web interface many years ago :-(
Posted Dec 23, 2020 16:23 UTC (Wed)
by tbelaire (subscriber, #141140)
[Link] (5 responses)
I do work on Gmail, if there's a clear test case maybe I could try and fix this. Though I'm a little afraid of touching that part of the code base as there are a lot of tools which parse emails, and I wouldn't know if my change broke something until too late.
I suppose more usefully, how would I test this? I could generate a patch with git, copy it into gmail (after the fix), send it to myself and copy the body from gmail web into a .patch file, which I feed to git?
Can you include the patch file as an attachment instead?
Posted Dec 24, 2020 0:34 UTC (Thu)
by foom (subscriber, #14868)
[Link] (3 responses)
Other popular mailers have stopped doing hardwrapping years ago, and now simply send long lines as long lines, without inserting any extraneous linebreaks. In order to remain compliant with SMTP standards, which prohibits long lines, you must encode the message as quoted-printable if the lines are too long. But, quoted-printable encoding is reversible and transparent to the content, unlike inserting hard linebreaks.
A previous solution to the mobile problem was to use text/plain;format=flowed, but that format=flowed was a complex spec that had many problems of its own, and never interoperated well. It's fallen out of favor in recent decades (yes, decades!!!), in favor of simply never hard-wrapping text/plain content.
Posted Dec 26, 2020 2:25 UTC (Sat)
by zlynx (guest, #2285)
[Link] (2 responses)
It's vague in my memory, but I am almost certain that wrapping around 72 and definitely before 80 is *required* for email user agents.
Yes, yes, it is commonly ignored for pasted or included content, but any email program that you type into is supposed to wrap long line at some point before 80, leaving room for at least three levels of quotes, like "> > > " which is six. So at least 74, more likely 72. 78 is being overly generous really.
This kind of sounds like someone complaining about Google's GMail *following standards*. Weird.
Posted Dec 26, 2020 5:02 UTC (Sat)
by mjg59 (subscriber, #23239)
[Link]
Posted Dec 27, 2020 4:23 UTC (Sun)
by foom (subscriber, #14868)
[Link]
Posted Dec 24, 2020 14:51 UTC (Thu)
by geert (subscriber, #98403)
[Link]
Test procedure:
1. Generate patch with "git format-patch -1",
The above used to work, until Gmail started replacing TABs in pasted patches by spaces several years ago.
Thanks a lot!
Posted Feb 16, 2020 11:26 UTC (Sun)
by CChittleborough (subscriber, #60775)
[Link]
FastMail.com is a web mail provider built around the Cyrus IMAP server, a FOSS project to which FastMail make significant contributions (eg., JMAP).
As a FastMail customer*, I currently just use their web interface, but I previously used their IMAP interface with no difficulty.
Unlike gmail, FastMail does not mangle leading whitespace or long lines (at least in the simple test I just performed).
So maybe FastMail would be very useful to kernel developers. Does anyone use it?
Posted Feb 21, 2020 21:29 UTC (Fri)
by Wol (subscriber, #4433)
[Link]
Thing is, there's a thing called "the principle of least surprise". And MOST GUI systems absolutely *love* to ignore it. If you use an email client that abides by it, you should not have any difficulty communicating with the linux project.
That's why a lot of MS products are so awful - they keep breaking this principle. As soon as someone starts thinking "why the f... is this happening?" there's a problem with the tool. And if the answer isn't blindingly obvious in hindsight (it should be obvious in foresight, too, but that really IS hard) then the tool is broken. Sadly, this is true of a heck of a lot of today's tools.
Cheers,
Better tools for kernel developers
Better tools for kernel developers
Better tools for kernel developers
I know a few people who use any kind of web-mail but those are vastly outnumbered by people using desktop mail-clients like thunderbird.
Better tools for kernel developers
1. Sending patches (git send-email using the SMTP server of my ISP),
2. Replying to patches on mailing lists I'm not subscribed to, and thus downloaded from lore or patchwork (alpine is still in my fingers).
Better tools for kernel developers
Or would I need to set up mutt or something in order to get the email in a form git likes? I haven't sent patches by email successfully before.
Better tools for kernel developers
Better tools for kernel developers
Better tools for kernel developers
Better tools for kernel developers
Better tools for kernel developers
2. Revert top change using "git reset --hard HEAD^",
2. Open patch with e.g. gedit,
3. Paste patch into email body using gmail web interface,
4. Send email,
5. Open received email,
6. Select "Download message" from triple-dot menu,
7. Apply patch using "git am" (should apply cleanly),
8. Use "git diff" to check tree contents (should match state with step 1).
More things may have been broken afterwards (e.g. forced line break).
FastMail
*Full disclosure: I am a very satisfied FastMail customer.
Better tools for kernel developers
Wol
