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 [email protected] -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.
This sounds like hyperbolic brought on by dislike, not a real indicator of time cost/effort. You've already spent more time complaining, than the work done to do these things!
I'm asking specifically what part of subscribing to mailing lists is the tricky part, as that's what parent mentioned. I'm not saying it's easier/harder than GitHub's workflow.
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.
Many mailing lists today reject posts from non-subscribers.
Of those that allow posts from non-subscribers, you will find that many are configured such that you will not get a reply, due to "reply-to munging". Your message will go to the list, but with a Reply-to: header designating that list, instead of (or in addition to) setting the more modern mailing-list-related headers.
Reply-to-all isn't a list policy; it's a behavior of the individuals. Some people don't reply to all. They think they are, but only the post author gets their reply. That is one of the motivations behind the Reply-to.
https://marc.merlins.org/netrants/reply-to-still-harmful.htm...
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.
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...).
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.)
- 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.
Like a mail server?
I’m not sure what you’re getting at here but it sounds more like an irrational hatred of email than something genuinely technical to me.
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.
sudo -H cpan Net::SMTP::SSL IO::Socket::SSL # 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 = [email protected]
name = Your Name
[sendemail]
smtpuser = [email protected]
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 = [email protected]
annotate = yes
suppresscc = self
smtpencryption=tls
smtpserver=imap.example.com
smtpserverport=587
[email protected]
And that has to be done once, iow., in essence it's as hard a setting up an email fat client like thunderbird.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.)
That capability comes from both the large body of source code available to the platform, and the large amount of engineering work put into that particular feature. It is one of many usability benefits is not available anywhere else.
"Enshitification" is rapidly becoming a meaningless term of disapproval, but it had a precise definition when Doctorow coined it:
> This is enshittification: surpluses are first directed to users; then, once they're locked in, surpluses go to suppliers; then once they're locked in, the surplus is handed to shareholders and the platform becomes a useless pile of shit.
GitHub directed a huge surplus to developers compared to what came before it. Microsoft bought it and worked on furthering the lock in with Actions, and now the ship is slowly moving towards wringing the extra value out of us. It's not at the bottom of the hill yet, but it's definitely on the slope. They already have ads for themselves on it. The ads are just going to slowly creep outwards as necessary to produce a smooth revenue curve.
The enshittification related to this feature includes:
(1) Code search is no longer available without being logged in to GitHub--even if the search is restricted to a single repository.
(2) This is compounded by GitHub "recently" started requiring additional steps in the authentication process for certain types of accounts without providing any option to opt-out (e.g. by choosing to restrict the account to being read-only/search-only/issue-only going forward).
There is no dialogue, you accept whatever new restrictions/requirements are put in place or you lose access to the account which you were "convinced" to use to contribute & interact with FLOSS projects over the past N years.
(What other choice do you have? Convincing every single FLOSS project to move from GitHub to...? Good luck!)
If I follow a developer, it's because I'm interested in what they're working on, and often I'll be exposed to something new in a different language or solving a different problem that I haven't ever tried. I actually think its one of the cooler things that is fairly unique to github.
This is wrong.
This is exactly the problematic attitude. I'm an OpenJDK author but not linux kernel contributor for mainly this reason. There are many people like me.
> majority of contributors to Linux, an extremely successful free software project, prefer the email-based workflow
This reminds me the many absurd conversations I had from my time in Goldman Sachs, few years ago. People with 15+ year tenures claiming Slang is the best answer to any- and everything. They just didn't know any better and stubbornly stuck to tooling and mindset straight out of 1995.
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.
It is often used in GitHub CI workflows.
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! :)
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.
It's also not the default in many clients. It's tedious and error-prone.
That being said, there is certainly room for improvement.
Please don't create accounts to break HN's rules with.
The example that springs to mind is spamgourmet, which has a FAQ about why they don't redesign their site. I've used the service for about 20 years, and while there is a bit of a gatekeeping vibe to it, there is also a good reason: they have very few resources for support, and want to attract a certain crowd to minimize the support burden. It seems it's been working for a couple of decades, at least.
> Q. Couldn't you make the whole thing a lot easier to understand by redesigning your site and providing instructions in a more clear way?
> A. Probably. Frankly, we're trying to build a user base of people like you, who probably have some familiarity with the way email works and who are willing to read FAQ's. This is to keep our support burden to a minimum (this is a non-commercial service). So far, the approach has worked well -- just about all our users hit the ground running with no need for support, and it's our belief that those users who would require support generally don't sign up in the first place, perhaps because of the geeky presentation of the site. That's not to say we don't provide support where it's needed -- after skimming this FAQ, please don't hesitate to write if you have a question or believe there's a bug.
https://www.spamgourmet.com/index.pl?printpage=faq.html
I tend to actively seek out projects like this, since I don't mind the blow to usability, and very much appreciate that they provide the service and don't pepper me with annoucements about their new improvements or their changes to their pricing structure.
"Want to contribute ? Give Microsoft even more power" Nope
Copy the config, or better yet, version control it (or any of the other solutions to this problem).
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.
Oh, sorry, you actually need to figure out the maintainers, so you can send it directly to them too to get it reviewed faster, so yeah a call to `./scripts/get_maintainer.pl -f <files>` ok, now it got impossible for the modern dev – cannot expect those are able to actually understand basic systems.
Then reply to the review replies you get, if there's still anything to change, how would gerrit making that easier in any way?
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!
>> the kind of people who have little patience for technology problems and little patience for learning new things
No, I haven't.
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”.
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.
For another, it's not common to see more than 2 levels of `>` (your text, the thing you're replying to, and the thing they're replying to); and yes, when it gets past 4 it begins to get really unreadable, so my gut feel is that it's extremely rare (although I wouldn't be certain without doing some sort of data mining).
As I said, the main advantage of using email is the flexibility you have in editing the response; part of learning how to use the review workflow effectively is learning how to present the context; which means trimming the replies to balance information and readability.
You could say the same of GitHub. Why do I need an account on your lil site just to get a patch accepted?
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.
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?
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.
^1
https://git-man-page-generator.lokaltog.net/#Y29tYmluZSQkbWF...
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.
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.
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.
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.
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