462 points ยท by brunosutic ยท 11y ago ยท 179 comments
That said, Vim's development method is rather conservative. Vim was created in 1988, but source control wasn't used until 2004 and Bram is the only one with write access. There are no pull requests. You have to send patches to the mailing list, where they are often dropped or forgotten. Hopefully, GitHub's features will modernize things a little and make it easier for more people to contribute to Vim.
1. http://google-opensource.blogspot.com/2015/03/farewell-to-go...
2. https://groups.google.com/d/msg/vim_dev/ehzfCDccmek/PU1sTZNd...
Sometimes it just takes a bunch of prodding from multiple users to get a patch merged[4]. Sometimes even that isn't effective[5].
I didn't have to look hard to find these examples. I just scrolled through vim-dev looking for "patch" next to an unfamiliar name. This is a common problem with mailing lists: old things fade into oblivion whether or not they've been dealt with. Not so with GitHub's pull requests. PRs stick around until someone closes or merges them. That one difference makes it much harder for contributions to slip through the cracks.
1. https://groups.google.com/d/msg/vim_dev/iB2YYel67io/SBHYHpSM...
2. https://groups.google.com/d/msg/vim_dev/UTOY6V6UCkk/-0lqupnc...
3. https://groups.google.com/d/msg/vim_dev/0It1ZTos_QY/63Xc9NrT...
4. https://groups.google.com/d/msg/vim_dev/WeBBjkXE8H8/MRLPPMjV...
5. https://groups.google.com/d/msg/vim_dev/kG3Qaz8M9kw/YyZDzwkc...
2. Bram responds the next day. The submitter responds to Bram a week later...
3. Bram responds the next day.
4. Patch was merged after 4 months.
5. Bram responds same day after patch is added to mailing list.
Looks like the response times are great!Also it looks like a patch that is merged is put on the mailing list at the root and not as a reply to peoples messages.
So it is hard to tell how long someone submits something and when a patch is merged by looking at responses. You would have to find a patch someone submitted, then find Brams "Patch" messages to find when it was merged and compute time difference
What the hosting site could do is provide a way for users to build a customized image with selected contributed patches. This would allow the patches to be used without having to add more work to the primary developer.
The vim development model (patches + mailing list) has been pretty frustrating for some people. That's one of the reasons why NeoVim was forked.
Because pull requests can be ignored as well, although it is true that they're more visible than a mail in a mailing list archive.
For example, you could enter a "bold formatting" mode, where you could say type "fun" and it results in "๐๐ฎ๐ง". All these are Unicode characters, so you wouldn't need a separate document format like Word.
Presumably one can have a "math" mode where you could type math like you would type regular text obviating the dollar signs and backslashes in LaTeX.
As I understand it, LaTeX has an incredibly complicated architecture with multiple layers of macros before the lowest layer of TeX primitives. You could replace all that with Unicode symbols.
In math mode you could type "in" and get the Unicode symbol "โ". Then you would be able to copy-paste math and send it over email, instant messaging et cetera, and easily type it with a WYSIWYG editor using a traditional keyboard. Of course, there would be numerous problems with typesetting integration limits, fractions et cetera but I think these can be solved using Unicode and clever programming.
I currently do not solve say Group Theory problems on my computer because LaTeX is way too inconvenient.
I think on a hypothetical editor with a math "mode", one could touch-type math. Maybe I'm missing something and there are insurmountable obstacles to implementing such a solution. If so, I would be happy if someone could point out what they are.
Having different modes seems like a very powerful feature, and I'm just surprised the last editor using modes was written 40 years ago.
That said, it's really awful at copy-pasting into other programs my experience. But it does a decent job of exporting explicitly, like for instance with TeXForm.
Also, a slightly different thing you can do in Vim is to use the conceal feature to visually "collapse" LaTeX escapes into their unicode characters. For example, the document says "\lambda", but it will display as ฮป (unless you position the cursor on the same line, so that you can edit it). I find it helps reduce visual clutter a bit.
First, when using other commands one should be able to input in bold as well. For instance, while searching. Otherwise, one wouldn't be able to search for the bold version since it is encoded differently.
Second, search and other commands should be aware that "f" and "๐" represent the same letter. Otherwise, each search becomes a game of trying all the styles to see what gets results.
Third, and this is a matter of taste, I prefer to keep the presentation separated from the structure as much as possible. I much rather write \myStyle{fun} and keep writing. Later, when the writing part is done, I can define \myStyle as bold or whatever makes sense.
...as long as GitHub doesn't become an evil empire of some sort.
Github without distributed commits isn't based on git anymore, and the other stuff is ancillary (and also easily exportable)
designed to discourage GPL use
What the hell are you on about? From choosealicense:
The GPL (V2 or V3) is a copyleft license that requires anyone who distributes your code or a derivative work to make the source available under the same terms. V3 is similar to V2, but further restricts use in hardware that forbids software alterations.
Linux, Git, and WordPress use the GPL.
This is in the middle of the front page [1]. What is discouraging or inaccurate about this?
Furthermore, the license chooser under the new repo page has the GPL as the second friggin' option [2].
Acerbic? Yes, but I don't appreciate people peddling lies.
First of all, it says that the main default simplest license should be the permissive one. It chooses that first on purpose. Second, they say that you should use Apache if you care about patent issues when actually GPLv3 is arguably superior for that. So, they worked to actively relegate GPL to the last choice.
And you picked out the small text. The big text is "I care about sharing improvements" โ what does that mean? It's much more wishy-washy than "I want to block the code from being used in proprietary projects" or "I want to require that derivatives stay free". The motivation behind the GPL is about freedom, not about improvements. But GitHub doesn't want to talk about freedom, they only want to talk about code improvements.
Anyway, it's already aggressive to encourage people to use GPLv2 instead of GPLv3, given that v3 specifically closes loopholes that GPLv2 has.
Anyway, it's not a lieโฆ watch https://www.youtube.com/watch?v=-bAAlPXB2-c to hear the GitHub co-founder explicitly tell people to reject the GPL in the very presentation in which he announced the choosealicense site.
How about: "The GPL (V2 or V3) requires anyone who distributes your code - or a derivative work - to make the source available. V3 is similar to V2, but it also demands that, whenever the code comes "pre-installed" in a device, the user can run a modified version in the device"
Or even: "The GPL (V2 or V3) requires anyone who distributes your code - or a derivative work - to make the source available. V3 is similar to V2. Only worry about the difference for code that comes "pre-installed" in a device"
I don't think issues and PRs, along with all the comments on them, are ancillary.
Github does make it easy to export that data, but then it's not necessarily easy to bring it in somewhere else and keep using it. That's not Github's fault, but there is definitely a degree of lock in.
I'm pretty sure there is a tool to transfer a GitHub repo and all meta data to GitLab (which is open source).
Last I saw, they only (rarely) show that they have a 'GitHub Client for Win and OSX'.
Command line interface and all other Git tools are usable. Hell- when you create a new, empty repo they give you the commands to type into your terminal to upload from there.
Perhaps you meant on a site that's designed to also serve the needs of proprietary programmers, as opposed to just FOSS programmers?
We're animals. The feeling of community arises when we're not alone yet feel being in private. Community is us (versus the rest). Github is a faceless "everybody" (vs. nobody left), which on the animal level translates to "me" (vs. everybody else).
It was easier to maintain a tiny community in the times of janky sites with mailing lists and diffs emailed around. Github gives you access to a larger pool of potential drive-by contributors, but you can't create a loose ring of a handful of people in /issues and /pulls. The community arises through people joining, and then failing to leave, a mailing list, and then contributing to the project through occasional replies to questions asked by beginners.
There may be seven long-term subscribers to your niche project's mailing list. When a newcomer shows up with a question, one of them might answer it before you get up. And even if they don't, their continuing passive presence on the list is still a currency that helps you push the niche project further.
Stars on a github.com repository just don't carry that much weight. Seven people might star your niche project repo. If they use their "dashboards", the entry for the new issue (the newcomer asked a support question by filing a ticket since you have no janky old school mailing list) got lost among the other tens and hundreds (even thousands) entries for individual commits and comments in repos those people have starred beside yours. They won't answer that support call for you. And, even if they did, they won't feel being part of any niche project's community either: it was just a drive-by comment on a random issue they spotted on their feed...
tldr: github.com is the largest open-plan office in the world.
http://article.gmane.org/gmane.editors.vim.devel/49968
Looks like as a result, vim is also switching to git for development.
>NOTE: Before the actual migration the current repository on github will be wiped!
Congrats Vim.
Congrats on you not having a clue what git is.
I understand your point that git is git. The code wouldn't be lost. But it would be an undeniable several months of chaos if Github's servers were wiped. Every project standing up its own site... the open source world would effectively cease development for a short time.
It's remarkable that no one really seems to care.
I believe that's more to do with the process than the platform. Having to remember different processes to contribute fixes/features is a pain. I can't count how many times I had to register an account, log into their custom bug tracker, find the darned obscure remote (looking at you, apache SVN), check out, figure out who I have to email the patch... And then doing it all over for a different project makes the entire process a little ridiculous. With Github, it's ridiculously simple: Log in, fork, clone, push, PR, repeat.
> I see this dependence as very bad and dangerous for the global free software movement.
OTOH, having a place to call "home" for FOSS developers generates a better sense of community. It's like hosting a conference across multiple buildings: sure, the venue's big enough to hold X amount of people, but it doesn't seem like there's X people attending if I can't see everyone without having to traverse buildings.
Also,
> It's trivial to push your local copy to bitbucket, or even your own git server. Lock in is not really an issue, in my opinion.
NeoVim has my full attention; it's a forward thinking project that is doing everything I hoped Bram would do. With that said, it's going to take years before distros start standardizing on neovim, but it will happen.
The GitHub workflow for this - submitting a patch to a project you're not heavily involved with - is very good, and probably a large contributor to the way GitHub is eating everything. No need to subscribe to a mailing list, and no need to get involved with discussions you might not be interested in. But you can easily commit to staying subscribed to your pull request/issue thread.
Of course, that may not suit all changes - but as a default, I think this arrangement a good one.
I've been loosely involved in 2 open source projects which were previously hosted on self-hosted SVN repos.
After a move to Github, not only did the projects pick up new developers, but also gained a bit of visibility.
Github is something unique in my experience... it really is the "place to be" for developers wanting visibility (for any reason). A lot of folks use it as sort of a resume of skill and activeness in the community, and having public projects contributed to under their account serves to bolster that reputation.
How are they going to do that? By selling private repos?
Take 10 migrated github repos at random (1) If they did not increase(2) the number of serious(3) contributors, I lose 10$. If they did, you lose 5$.
(1) random sampling: take a repo by using the last digits of a public number (like, say, the nasdaq index). Eliminate repo if "too small" or "not migrated", until you have 10
(2) compare 1 year before github to 1 year after. This gives you three numbers: at start of first year(A), at start of migration(B), at end of migration(C). N1=B/A, N2=C/B. If avg(N1) not > avg(N2), you win
(3) serious means 20 contribs in the year
(further terms will be settled upon if you want to bet, before you accept)
---
(btw, I think it might not mean much to VIM that it moved =P)
Also, the metrics you propose are quite meaningless. There are contributions that actually waste core developer's time but are grudgingly accepted either for political reasons or to shut up the proponent.
These kinds of contributions are certain to increase by a migration to GitHub.
Also, fixes seem to be flowing from vim to neovim.
"To see how well this works I have created a SNAPSHOT of the repository. This way we can try it out. "
I just ported all my stuff to Neovim earlier this week and everything works out of the box. I just had to cp everything vim to nvim (.vim -> .nvim, .vimrc -> .nvimrc, etc).
Unfortunately there are no immediate benefits, but I agree with Neovim's long-term goals, so I suppose I'l be there when we get async plugins written in Lua.
% grep SHA256 /usr/ports/editors/vim/distinfo | wc -l
559
That's a ridiculous amount of patches that need to be applied.It isn't the primary, but it is very much an official mirror. GNOME and the FSF often disagree, even if RMS will have you think otherwise.
The one thing I haven't set up yet is YouCompleteMe (or an autocomplete replacement that uses neovim's threading), as at a quick glance it looked like it would be more than just a few minutes' setup.
http://vimdoc.sourceforge.net/htmldoc/version7.html for the whole list.
What exactly would you like changed? I mean, the termlib stuff could be cleaned up, but that's a universal problem more than anything else.
Please don't do it, the space time continuum will collapse.
DO NOT TRY THIS AT HOME, AT WORK, OR ANYWHERE.