395 points · by okket · 9y ago · 236 comments
I was hoping to see discussion of the merits of this proposal here on HN... not a regurgitation of Torvalds' positions and personal demeanor. What other projects use a monotree? does it work well? How do those projects coordinate changes across subordinate repositories?
What's wrong with branches and folders? Why are upstream repositories needed? (My hunch is the answer is just "it's slow with that much code" to which I again say "not when GVFS is ready").
Not to say Linux should change their ways, just that I wouldn't adopt them as part of a company.
You can do kernel development with a "we give commit access out fairly freely" model, of course (I think some of the BSDs are like that, again as historical accident of the cvs style tooling they used to use); but Linux hasn't historically been socially organised that way, and changing tools is easier than changing organisational structure.
It does. It's pretty easy to have specific branches with specific permissions.
But then I realized that the advantage of multiple repos is that it is decentralized: anyone can start their own fork, and collaboration works similar to the official forks, and you don’t need any centralized administration.
Having everyone share a single giant monorepo sounds like you’ll need a lot of people to support the infrastructure. Microsoft can do that. Can the Linux community?
With a huge monorepo, you can easily archive everyones contributions. That’s probably important for Microsoft. It’s not important for Linus — he only cares about the stuff he merges.
Finally, multiple repos allow people to work on stuff privately, and only contribute back to the public when they are ready.
[1] Nothing against them that I don't have with any other commons that depends on corporate beneficence. But companies fail all the time; I can't think of a reason GH is immune.
I'm not so sure. If the kernel development was on Github, I may have looked into contributing, but as it stands, its not worth the trouble to try to contribute (as I don't have anything specific to help with). And, I suspect there are more capable developers who are closer to the edge than me.
Anyway, having a slightly lower bar to get started may not get more developers involved, but instead my get them involved more quickly.
Linus has said this a few times -- in general they don't actively try to onboard new contributors.
What makes you think Github is 'taking forever' to implement that feature, instead of refusing to implement it to help their business model?
But I take your point. This is why I drive a Nissan.
It seems this topic comes up quite frequently on HN. Unfortunately, while it sounds great in theory, no one ever has a practical way of doing this. The main problem here is the user experience.
When using GitHub I can find an open source project, copy the URL, pull it down, make changes, push and click a button for a pull request. A little bit convoluted but overall it's a very simple workflow. Now try decentralizing away from GitHub. If you have to add any steps then you increase friction likely lowering the UX and making adoption harder.
Now, if you can figure out a way to decentralize a service while maintaining the same level or less friction from the centralized version then you have a real winner and things can start happening. Until that happens the idea of decentralizing things is just going to remain a pipedream.
In my opinion, of course. I love the idea of decentralizing things like GitHub I just can't imagine a good UX way of doing it.
Instead, I would argue that not having the ability to just send a mail/post to a mailing list/newsgroup by using my favourite SMTP/NNTP client without creating any form of account in a property service and without clicking buttons in a slow js-ridden web interface in order to create an issue or post a pull request is a bad UX.
> copy the URL, pull it down, make changes, push and click a button for a pull request
All of these (except clicking a button for a pull request) are possible just with git, they are not really github nor centralised-only features.
> Until that happens the idea of decentralizing things is just going to remain a pipedream.
I find sending an email and using NNTP with the client of my choice a lot easier than using a forum and a lot easier than using the github issue/pull request interface. Thus I would argue that this happened many years ago.
[0] https://github.com/google/git-appraise
[1] https://git-appraise-web.appspot.com/static/reviews.html#?re...
Decentralizing git without losing the UX benefits of using a site like github is done by handling it like torrents and packaging everything into the repo/technology itself. The Linux kernel is already part of the way there, it's just the "local client" aspect that's missing, along with a focus on actually making it intuitive and fully integrated into git itself.
The repo itself should contain all of the bookkeeping, and git should host a local UI (web and CLI) that allows you to interact with it as you would with github, rather than the send-mail rituals, the relative difficulty of following development on mailing lists, and the "here's how to set up one of 20 different email clients to send mail as plain-text". Imagine get_maintainer.pl and send-mail being replaced with a built-in pull-request-like interface that is disseminated to everyone that pulls from the remote. That's what git-appraise is trying to accomplish.
The traditional mailing-list-based development is tried and tested, but at risk of displaying my appy app iPhone youth naïveté, it's really inconvenient IMO.
Attempting to justify GitHub as a "win" because git is unwilling to fix its brain-damaged user interface is called "damning with faint praise", at best.
However, there are some alternatives for larger projects: 1- make sure your community has a business model (donations or other forms of funding) for core infrastructure, 2- self-host a Gitlab instance :-)
It doesn't completely take care of decentralisation, but nothing stops from having multiple instances and some c-i duct tape. Github can also make a good mirror.
Ethereum
But having everyone speaking the same VCS language has obvious advantages, especially when part of that language is where to host it and how to get a web view of it and how to share it. People centralise because it means someone else takes care of the boring work and you can go back to writing code. There are disadvantages to centralisation, just like there are disadvantages to giving up your privacy, but it's so damn convenient to do so that nobody has enough activation energy to do the opposite.
Centralization is indeed a problem, but I think we should all thank github for having standardized how to find opensource projects and contribute to them. This really gave opensource (especially opensource libraries) the kickstart they needed. And now, this centralization is lowering with concurrent products like gitlab, so everything is fine.
For mailing lists, most people use one of the big email providers (like gmail), their ISP's email service, or they set up their own mail server. The last option is what would make email truly decentralized, but, in order to be able to send messages to others, you would also need to set up SPF and DKIM on your MX to ensure deliverability to other servers.
For NNTP, on the other hand, you would either have to use Google groups, or one of the free Usenet providers. If you set up your own news server (which would make this option truly decentralized), then you would also need to enter into a peer arrangement with several other usenet providers in order to have your articles distributed on usenet.
I don't have first hand experience with either option, so I don't know how much effort is involved for the decentralized options I mentioned above.
This is actually quite trivial nowadays. I did hear that setting up and configuring mail servers was difficult with Postfix and Sendmail but I personally had no problem setting up qmail and opensmtpd.
> For NNTP, on the other hand, you would either have to use Google groups, or one of the free Usenet providers. If you set up your own news server (which would make this option truly decentralized), then you would also need to enter into a peer arrangement with several other usenet providers in order to have your articles distributed on usenet.
Not everything really needs to have its articles on the usenet. There are many NNTP networks that do not have that.
I haven't really looked into it, but at least it's not as difficult as I thought it might be. The only other problem is that a lot of ISPs block outgoing connections on port 25, so you would either need a business account with them or would need to have a server on a hosting provider that allows outgoing connections on that port.
> Not everything really needs to have its articles on the usenet. There are many NNTP networks that do not have that.
While that is true, that would require that contributors sign up for some type of account on that NNTP network to post and it wouldn't nearly be as visible to potential contributers (unless they advertise their NNTP server information and not require authentication for read only access). gmane is one example that I know of (though you cannot post articles through it as far as I'm aware).
Hosting your own mail is roulette.
The fragmented approach means you have to learn a bunch of different services, each with their own nuances. Then you have crap like sourceforce injecting adware into the download and now I have trust issues.
> I don't do github pull requests.
>
> github throws away all the relevant information, like having even a
> valid email address for the person asking me to pull. The diffstat is
> also deficient and useless.
>
> Git comes with a nice pull-request generation module, but github
> instead decided to replace it with their own totally inferior version.
> As a result, I consider github useless for these kinds of things. It's
> fine for hosting, but the pull requests and the online commit
> editing, are just pure garbage.
>
> I've told github people about my concerns, they didn't think they
> mattered, so I gave up. Feel free to make a bugreport to github.
https://github.com/torvalds/linux/pull/17#issuecomment-56546...Easiest way to herd cats on a mailing list.
> I see all his points but it doesn't make these things pure garbage.
Well.. you see his points and his opinion. People are always in a hurry to take affront to this, but really, he's just putting the argument where it's ultimately going to end up anyways, and in the process, he gets to avoid the dozens of follow-up emails that fruitlessly attempt to convince him out of this opinion.
You're really only left with two options, disagree and move on, or fix the problems he has with it and try to get him to use it again later.
Seriously: Everyone calling Github "garbage" should be forced to use sourceforge until they're willing to reconsider. Or Bugzilla. Or trac. Or whatever it is that ubuntu is using to make it impossible to ever find anything.
He is firm, strongly opinionated, and doesn't waste time catering to irrelevant feelings. That isn't "unreasonable", more "difficult" in my mind as far as personal interaction goes.
His actual opinions are usually very reasonable, just not communicated in ways that come across as such. At least in my opinion
I doubt you will find many people who think that the state of GitHub PRs today represents less progress than the state of the `git request-pull` workflow. And, to be clear, there are a lot of things I prefer about `git request-pull`, starting with the ability to provide inline commentary on the commit message itself. But it's clear that GitHub has built a better product that keeps improving and has enabled a lot of teams to successfully build their own software. `git request-pull` is easily available to anyone with email, and I use it myself when there's no PR interface for a git repo, but people still tend to prefer the GitHub-style workflow.
There is always compromise. We can ask Linus to compromise, or we can. Are his inputs better put in at a technical level or at a human touchy-feelie level? What do you think is the best use of Linus' time?
It is incredibly easy to offer criticism, but very much more difficult to offer real and implementable solutions.
Why, from his point of view - if GH lacks functionality he needs and git proper delivers this functionality in conjunction with email, GH is just about as useful as an empty beer can ;)
But sure, outsiders with zero idea of what is being discussed love to take his words out of context and derive all sorts of bizarre conclusions.
> I don't do github pull requests.
> github throws away all the relevant information, like having even a valid email address for the person asking me to pull. The diffstat is also deficient and useless.
> Git comes with a nice pull-request generation module, but github instead decided to replace it with their own totally inferior version. As a result, I consider github useless for these kinds of things. It's fine for hosting, but the pull requests and the online commit editing, are just pure garbage.
> I've told github people about my concerns, they didn't think they mattered, so I gave up. Feel free to make a bugreport to github.
(You can't fake a fork without hacking the torvalds account, though, so maybe it really was him.)
Can anybody explain a little more about this module? I thought 'pull request' is Github only.
For "private" repos, the recipient would be a specific repo maintainer/owner. For "public" repos like the Linux kernel, the recipient is usually a publicly-archived mailing list.
[1] https://www.kernel.org/pub/software/scm/git/docs/git-request...
GitLab apparently does call them merge requests, though.
The base repository is behind the forked repository and the forker is asking the base to incorporate (pull) the changes (commits).
> Current state makes it very hard to mange/search/fork/open-issues etc
> especially for newcomers,
> please move the project to github so we can have nice disussions
> forks/prs etc goodness.
No. Never. Github is proprietary communications tool which requires
users to accept a terms of service and login. That gives power and
influence to a single entity (and a for-profit organization at that).
Contributing to unicorn is *socially* as easy as contributing to git or
the Linux kernel. There is no need to signup for anything, no need to
ever touch a bloated web browser.
The reason I contribute to Free Software is because I am against any
sort of lock-in or proprietary features. It absolutely sickens me to
encounter users who seem to be incapable of using git without a
proprietary communications tool.
https://bogomips.org/unicorn-public/20140801213202.GA2729@dc...I think his point about Tridgell's actions with BK reverse engineering were right, and El Reg was playing the OSS warrior card. It looks to me like Tridgell was trying to create a way to steal BK metadata - BK specifically required you to have a license to get that data.
OSS warriors annoy me as much as SJWs do, and seem just as narrow minded.
History has proven that necessity is a much better incentive, and produces better products than ideology.
Why was that?
https://www.theregister.co.uk/2005/04/14/torvalds_attacks_tr...
It drops all of the non-article content on most sites and leaves you with a centered, decent width, blank-and-white version of the article that's almost always easier to read than the original.
[0]https://chrome.google.com/webstore/detail/dom-distiller-read...
Edit: or if your default sans-serif font has a super light variant installed, it might look very different from what was intended.
100 is a "sometimes food" for that giant header or over-sized pull quote.
Designers that insist that entire documents/web-pages must be "light and airy and always 100 font-weight" have A) never struggled with contrast or accessibility issues, B) maybe don't understand typography. "light and airy" also means "easily blows off the page and is unreadable".
Why not? Reader mode is just one button press away in Firefox for example.
If you're arguing it's not a (implied-to-be-evil) monorepo because, well, it's really managed as independent fiefs who do all their work in separate integration stages... well, that's basically how every other major monorepo project does it. So if Linux isn't a monorepo, then there's no such thing as a monorepo in practice.
These are still centralized, but each organization can host its own server. A true decentralized solution would federate issues/tasks, pull requests/diffs and their comments, etc. similar to how Git federates changes.
I don't mind periodically using reportbug, but using something like Bugzilla is way more convenient.
Made me giggle.
Issue tracking you can already file against one or more repos and link them together. It's not ideal, but it'll do the job.
Is "pr against different repos of a monotree" not what submodules let you do? Update whatever things you want in whatever repos, and pull the submodule pointer update(s) as a single change in your monotree repo.
The issue tracking just won't fly for a community that large. Imagine the hours spent keeping everything aligned relevant and updated: all that is wasted time, plain and simple.
Why does this blog need to be whitelisted with Adblock Plus? See data-adblockkey in HTML source. Are there any ads in this page? (Maybe owner wants revenue from domain parking?)
Why is this blog not working with simple user agents that do not process javascript (e.g., curl, etc.)?
Problem is misconfigured DNS:
1 blog.ffwll.ch:
77 bytes, 1+2+0+0 records, response, authoritative, noerror
query: 1 blog.ffwll.ch
answer: blog.ffwll.ch 3600 CNAME danvet.github.io
answer: danvet.github.io 3600 A 192.64.147.142
I mistook 192.64.147.142 as the correct IP address.Try that one with curl, firefox or elinks.
Correct address is 151.101.53.147.
Not sure about the Linux kernel (no enough experience) but same issue across multiple projects looks something necessary...
THE REST
M: Linus Torvalds <torvalds@linux-foundation.org>
L: linux-kernel@vger.kernel.org
Q: http://patchwork.kernel.org/project/LKML/list/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
S: Buried alive in reporters
Are you serious? If Linus is a complete asshole and tells you to fuck off, and you don't like that, the problem is with you? How can you possibly defend that statement?
Consider that he might be right and not a complete asshole. Also, consider that you are not the person he insults but someone else. You're making up this strawman very craftily but it is still a strawman: people are coarse in their conversation all the time, it's not a big deal until the recipient declares it to be a big deal. And then they - not you, unless you are the recipient - have all the right in the world to feel offended and to respond in kind if you feel like it or to do it a bit more precise and with more grace if that's your make-up.
But for all the weight given to 'free speech' the fact is that all you're doing is trying to control someone else's language and I find that a far bigger problem than someone throwing out the occasional insult in the process of communicating with others, there are plenty of reasons why that could happen, personality, lack of patience, culture and so on and all of those would be less of an issue than someone deliberately trying to control how others communicate.
Now if Linus had said something like 'you're dumb because you're a woman' or something to that effect I could understand the outrage. But calling someone an asshole - justified or not - when you're not the person being addressed is not enough grounds to embark on a moral crusade and is not enough grounds to lie the diversity problem in tech at that persons feet.
> You're making up this strawman very craftily
I'm not making a straw man at all, and I resent your attempt to frame my argument in this way. Since this is how you choose to argue, I'm not going to engage with you any more.
If there is a specific case where you disagreed with Linus and he insulted you then I understand why you want to take this up in this way but I notice that Linus is not a participant in the discussion here so you're going to get the general case, not the specific one.
You've made up your mind about a person based on an online interaction that clearly left you seething and I'm perfectly ok with that. For all I know it was the defining point of your career and you've chosen to go into crusade mode, there is a good reason why I don't contribute to open source, I don't feel like getting heat from both maintainers and users. At the same time if I would go and do that I'd wear my flameproof jacket to work just in case. In short: lighten up, likely everybody but you has forgotten this interaction and it is a huge deal to you and hardly anybody else noticed. You should have seen some of the stuff that came my way on a public website, heck, even on HN I've been threatened with bodily harm.
Question: Did you contact him about this off-line, and did you try to work it out somehow? If not I'd suggest you do that, maybe you can get this behind you.