by BaculumMeumEst · 3y ago · 0 comments
Organizations that insist on using workflows like git send-mail and mailing lists not only drive away a significant number of potential contributors, but they also form a weirdly religious culture that fetishizes needlessly painful process and is incapable of improvement
And using it for a project that accepts this workflow is such a joy, no need to figure out weird merge request that make me re-enter all the information I had in my git commits already.
If it's only a few patches, say three, I can do a simple `git send-email --to mailing@list.example.com -3`, maybe throw in `--cover-letter` for some meta info if the changes are even big enough to require that, and be done.
Certainly to each their own workflow, and once can get accustomed to a lot of needless tasks and workflows, but how one can look at the bloated interfaces that try hard to add vendor-lock-in and say "this is so much simpler and easier to grasp" can IMO only mean they never tried this way in good faith. In the end sending a mail is trivial, and code changes are text (most of the time), it can hardly be beat in simplicity.
Anecdotally, most of our new hires from the last years had no experience with the email workflow, and a few weeks in most of them find it way better, while the rest finds it at least as good as the alternatives (and here they mean gitea or sourcehut, not the monsters that GitHub/Lab are).
You forgot that mailing list requires subscription and in some cases it could be a tricky. Without proper subscriptions and confirming subscription, your mails with patches will go to trash.
Configuring git send-email is only half the battle, anyway - chances are you want to participate in the discussion of your patch, so better figure out how to make sure your email client will not send the forbidden HTML email.
No subscribing needed. Standard policy on all mailing lists is to reply-to-all so you'll get always CC'ed on replies. This also makes it very easy to pull in more people into a discussion, even across different projects.
You mean cloning a repo and then simply pushing upstream?
I can’t fathom how anyone would think that is more complicated than e-mail push workflows.
It’s like someone telling you that IRC is “obviously” less complicated than setting up a Discord account.
People in this thread are talking past each other without realizing that they are expressing different preferences about where complexity belongs in a tool.
(For the record, I happen to be on the IRC / git mailing list side of the spectrum.)
I'm trying to subscribe to Discord. I'm currently stuck in a captcha loop.
Clicking a link to open a chatroom directly, with no account creation process, is infinitely simpler than account creation, potentially with several layers of verification (CAPTCHA, email, phone verification to join a server...).
- cloning the repo in github to your own fork
- cloning your fork locally
- pushing to your local fork after you've made your change
- opening a PR
Which is the expected flow for any project you're not already part of, ie all of them.
The email workflow:
- send an email
I can't fathom how you can say the email workflow is more complicated.
Avoiding email based workflows and alerting is one of my top priority in every job I have had.
The linked article is literally a multi-step process of arcane terminal commands that differ by operating system. You may think it's easy, but it's definitionally not trivial.
srht is really designed for (and thus only really useful for) lone wolf developers who collaborate rarely, if ever, and with a very small number of collaborators who collaborate infrequently. It is not built for large teams with constant active collaboration, it falls down for this use case.
It’s hobby software for hobby users. (I don’t think this is a bad thing, but you should be aware of the product design goals of its author.)
This is wrong.
Windows and Office and AWS and GCP dwarf these foss projects.
There is a reason that Google, Amazon, Microsoft, and Apple don’t use email to collaborate on software.
You cannot possibly claim that the other side needs to cite their sources and then throw numbers like that out without any backing.
I say that as someone who don’t like GitHub, but overall it’s far from the worst tool an employer may impose to its employees.
Fake Edit: Oh this is HN. Never mind then.
I funnily think that many of the people poo-pooing the email patch method here, would just as merrily join in on HN were it an email mailing list collection, haha! :)
It is often used in GitHub CI workflows.
Basically, everyone agreed that actually doing the review on gitlab was a lot worse compared to email. There's just so much more flexibility.
It's not off the table that we may give it a try again, because the advantages of having concrete pull requests (and issues and...) rather than patch series is pretty significant. But if you're familiar with doing email-based review, I think it's still a far superior; and you're definitely giving something up when you move away from it.
Could you elaborate? This is truly shocking to me. Admittedly I have never worked on a project with an email-based workflow, but I can't think of how email would allow comments inline with the patch, which is an incredibly beneficial feature to me.
You always reply with quotes; and you always reply inline, below the thing you're replying to. Quoted material is typically indicated by '>'.
So for one thing, you can easily trim your reply to just the bits of the patch that you think is important; that makes it easy for anyone reading; you don't have to skip over large parts of the thread.
Then you can also re-arrange what you're replying to, to make it make your reply make more sense.
Furthermore, suppose A replies to the patch and makes comments 1, 2, and 3 (inline in a single email). When person B replies to A's email, they typically also send a single email, perhaps with replies 1' and 3' (trimming out comment 2, which they don't care about). This means if you've read A's mail, you can just read B's mail, and all the "new" comments are collected in one place (with the thing they're replying to).
Contrast the above with gitlab, where A's replies 1, 2, and 3 are spread throughout the patch; and B's replies will also be spread out, meaning you have a kind of discoverability problem to see both 1' and 3'.
And suppose in the course of talking about something you realize this bug may actually be a security issue -- you can remove the list, cc' "security@", and pick up the discussion without having to do any copy & paste. Same goes if you want to make a private comment, or bring something to someone's attention; just reply, remove everyone else, and say "FYI".
I wish I had a really good recent example to show you, but a quick skim of today's threads isn't anything special. :-)
I mean, I was arguing with people online [1] on BBS's in the early 90's, and I was on Usenet back when that was the main social network; so this "reply and comment inline" way of having a discussion is pretty well ingrained for me. But there are people on my team in their early 30's who also took to the email workflow really quickly too.
Edit: Btw, yes I have done the periodically-check-archive thing in the past, thank you. Hated it. Also missed a response once because I forgot to check and replier didn't CC. I realized like a month later.
"Want to contribute ? Give Microsoft even more power" Nope
# do your code change
git commit
git send-email --to=<some mailing list> -1
# amend your change
git commit --amend
git send-email -v2 --to=<some mailing list> -1
I'm not sure what is needlessly annoying and absurd.Edit with minimal configuration:
cat ~/.gitconfig
[user]
email = your@mail.address
name = Your Name
[sendemail]
smtpuser = your@mail.address
smtpserver = smtp.whatever.com
smtpserverport = 587
smtpencryption = tlshttps://git-send-email.io/#step-2
A tool from Google is mentioned and linked to:
https://github.com/google/gmail-oauth2-tools/tree/master/go/...
cat .gitconfig
# snip
[sendemail]
to = default@list.example.com
annotate = yes
suppresscc = self
smtpencryption=tls
smtpserver=imap.example.com
smtpserverport=587
smtpuser=foo.bar@example.com
(only the ones starting with "smtp" are relevant for mail, the other ones are just there for convenience)And that has to be done once, iow., in essence it's as hard a setting up an email fat client like thunderbird.
Now, knowing the HN crowd this comment will become grey in 3... 2... 1...
I understand not changing for change sake. The kernel is at this time not "this gen" developer friendly.
Yes, most contributors will prefer opening a PR on GitHub as apposed to mailinglists. But imagine instead that you are David Miller, and it's your job to consume the absolute fire hose of patches and messages related to Linux's networking subsystem. Would you rather wade through the hundreds of messages and patches coming in every day using either GitHub PRs and issues or email?
I would choose email for one simple reason: It's easier to script.
Even as a small-time contributor and observer to that space, I couldn't even imagine trying to keep up with everything going on if I couldn't bulk download, filter, tag etc. As a maintainer it would be excruciating.
If your on-disk format is an Mbox or a Maildir, you can use tools like notmuch and its emacs integration to do it.
Now don't get me wrong; I love GitHub. I host all my projects there, and I prefer PRs+issues to mailinglists in almost all cases. But for massive projects like Linux, a mailinglist (and associated tooling) scales better, in my opinion.
Email is just email. You write SMTP/IMAP clients today and they'll continue to work for a long time, probably longer than most platforms with APIs online today.
A GitHub PR is way more steps than e-mailing a patch to a mailing list, and far less accessible. Have you never done the "sign the contributor license agreement and get the GitHub bot to approve it" polka? I've done it a dozen times now, it's painful and way more gatekeepery than just emailing a patch.
> but they also form a weirdly religious culture that fetishizes needlessly painful process and is incapable of improvement
Who hurt you?
It drives away the kind of people who have little patience for technology problems and little patience for learning new things.
I don't want those kind of people working on e.g. Git. Git needs people who have lots of patience for technology problems and lots of patience for learning new things.
like learning to use a GUI and a Web Interface?
We've seen Web interfaces, they're hard to avoid. We've just decided that they're worse.
> the kind of people who have little patience for technology problems and little patience for learning new things
Also tell me how is tolerating rude incumbents of mailing list sending email with 50+ characters in a line a technical problem? (Yes they are often rude, and unwelcoming to those attempting to accept their anachronistic ways. You are demonstrating that specific behaviour right here, which many of us have encountered on those projects.)
I think the projects which accept contributions only from mailing lists will have their contributors die out, or will be forced to change their ways to survive. I for one will never again attempt to contribute to such project, thanks to the inflexibility of the incumbents I have faced several times. Also thanks to the sub-par review workflow, usually the lacking quick CI feedback.
Web UI might give you RSI, but the insufferable email-only-patches people give me PTSD from my previous encounters.
ps: if you are willing to learn new things, you can automate web apps and GUI apps (eg. Autoit, xaut). Some even have proper APIs (COM/dbus/web api), or a cli!
There’s having patience and problem-solving ability, and there’s not seeing the value in jumping through the various hoops that comprise some ‘90s Internet fetishist’s playground.
This is all just code for “I’m old, set in my ways, and don’t appreciate the fact that the only reason I find my workflow easier is because I know it, not because it’s more intuitive than what people are doing these days”.
You've spawned a huge thread of people being incredibly self-righteous about the mind-boggling difficulty of sending email. It makes me think that it's actually a great filter to keep out people who prefer drama to clicking a few buttons that are different than the buttons they're used to clicking.
I understand that familiarity is a powerful driving force in human psychology, but really, it's not like it's that hard to learn a different flow. I mean, I've had to use Perforce, and while it's fun to complain, it really wasn't that hard. I didn't even have to get out of my chair.
Often that's a bonus if not the whole point to begin with. The higher the barrier to entry the less noise you need to filter through.
It only feels annoying to you because you're not used to it.
Copy the config, or better yet, version control it (or any of the other solutions to this problem).
^1
https://git-man-page-generator.lokaltog.net/#Y29tYmluZSQkbWF...
1. Email has clients with full offline support. Sometimes I work in locations where internet is bad to nonexistent and with github I am limited in what I can do.
2. Anyone can contribute to my repos without needing to sign up to my website. Git with email truly allows decentralization of “forges”. So in the same vain, I can contribute with the same client to any project on the web that accepts email patches and it’s the same workflow for all of them.
3. Since I have an email client for my email, I can set up my own custom workflow that is much faster. Github siloes you into a begrudgingly slow one. My email client integrates into my editor and gives me the same keyboard shortcuts I use to navigate my code.
4. Did I mention it removes centralization? Having github be the center for all repos makes it ripe for enshittification. Given Microsoft’s history for EEE, I don’t trust them one bit.
You could say the same of GitHub. Why do I need an account on your lil site just to get a patch accepted?