Text of discourse.haskell.org › t › github-vs-gitlab › 2255 as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

GitHub vs GitLab - Haskell Foundation - Haskell Community

GitHub vs GitLab Haskell Foundation rae March 30, 2021, 1:41pm 1 In the proposal-process thread , @f-a writes I am extremely glad you chose gitlab — an open source and community owned space — for this. @ketzacoatl responds It might be nice to see if more of the Haskell community infrastructure can be moved to GitLab - so there isn’t as much of a split (pick one or the other platform). I guess at the least we can also write some docs on which groups are on which platform.

This is worthy of its own conversation, and so I’ve broken this one question out to this separate thread. Before looking at the choice to make, I want to lay out what I see as the salient differences between the platforms. GitHub has far more users than GitLab. This suggests that usage of GitHub will attract more contributors, who would not have to create a new account (though GitLab allows login via GitHub credentials).

In addition, more users will find GitHub’s interface more familiar (though both are quite similar). GitLab is open-source and self-hosted. We (in the guise of the Haskell Infrastructure Admins ) control all the data on gitlab.haskell.org . So, what do we think the HF should do? I see three options: A. All HF resources on GitHub B. All HF resources on GitLab (specifically, gitlab.haskell.org ) C. A mix Right now, we have (C).

Our motivation for this is that we prefer GitLab, but recognize that using GitHub has a lower barrier to entry. So, roughly, we have figured that repos expecting a lot of community engagement can go on GitHub, while repos with less community engagement (e.g. the meta repo) would be on GitLab. Yet, of course, splitting between the two is also potentially confusing and obfuscating. I don’t think there are hard technical requirements here – it all comes down to what we think is best for the community.

So, community, what’s best? 7 Likes snoyberg March 30, 2021, 2:15pm 2 I like (C), and I like the way you’ve described the breakdown. Drive-by webpage edits via an “edit on GitHub” button is great. I don’t expect drive by process proposals. 8 Likes jaror March 30, 2021, 2:59pm 3 I prefer GitLab because it doesn’t require using proprietary javascript ( they even seem to be moving towards supporting LibreJS ).

And GitLab has no hidden telemetry; my ad blocker has to block two tracking urls when I access GitHub (one of which even contains personal information which might be in violation of the GDPR ). GitLab also has drive-by edits and even a web IDE. 5 Likes sclv March 30, 2021, 9:42pm 4 My longtime concern with github for process stuff (never resolved) is that while github is “open” in the sense that anyone can clone a repo, there is lock-in in that migrating all tickets, prs, etc. off github is not as straightforward.

I’ve advocated, on-and-off, using the git-annex tool (written in haskell!) to ensure that all that data is kept as well in servers that aren’t simply cloud infra provided by BIGCO. As long as stuff stays on github, I’d like again to encourage that this be set up. If we’re ready to commit to keeping the github going long term and ensuring its continued maintenance in some form (using someone else’s hosted infra has its advantages, especially with limited resources) then I’d tend to want to encourage a gradual migration to the gitlab.

But I also think the current situation is not particularly awful or screaming out “I must be fixed” (outside of my concern about using git-annex to archive off-github all the tickets, prs, discussions, etc.) 3 Likes tomjaguarpaw March 31, 2021, 9:42am 5 I’m curious what options exist for not just archiving but completely decentralizing issue tracking, PRs, etc. If anyone is interested, I once collected a list of links to decentralized issue trackers though I haven’t evaluated them yet.

2 Likes Martinsos March 31, 2021, 3:02pm 6 I would like to offer a data point in favor of choosing Github due to its popularity: personally, 99% of the projects I use or am involved with are on Github, and when I stumble on a project that is on Gitlab, I feel less inclined to use/contribute to it - it is just the first impression I have, coming more from emotional place than the place of conscious reasoning. I understand the danger of Github having monopoly and the lock-in effect and that caring if project is on Github or Gitlab is silly if you are interested in a project, but what I described above is still the first, off-the-bat reaction I get in such situations, and it is likely some others also have it.

I believe this is due to the unknown UI that somewhat reminds me of Atlassian + me being used to all the popular big projects (that I know of / use) being on Github. If I see project on Gitlab, I wonder why is it not on Github, and first thoughts I get is that it is because authors probably care about privacy / hosting the code on their own, which makes me feel like they are ready to sacrifice practicality / ease of usage for the reasons that I personally don’t find important in practice, and that negatively biases me toward the project.

To help with possibly profiling the users that might care about this: my background is C/C++, Javascript, Haskell, and a little bit of everything else, and some examples of the bigger repos are Spacemacs, React, Angular, Rust, Prisma.io , commercialhaskell, hlint, … . So maybe Github + Gitlab is a good combination, since edge-facing projects on Github will be more appealing to newcomers and have lower barrier of entry, while core projects that anyway will not be so interesting to newcomers will be appealing to the more experience Haskellers which seem to prefer Gitlab.

7 Likes wiz March 31, 2021, 4:53pm 7 This is a good point against going all-GitHub When you arrive to a GitLab instance you’re usually one click away from using your GitHub credentials. Yes, there are differences in UI. But, as you said, one comes for a project, not for its hosting. You wouldn’t flinch from the different room layout and wallpaper color while being a guest at somebody’s, would you? sclv March 31, 2021, 5:38pm 8 GHC has existed long before git, much less github.

Though it seems hard to imagine, past history has shown that github will one day go the way of sourceforge or the like. I would like to imagine that GHC still will continue to exist well past that date. One does not want whatever occurred over the interval when github did exist to be lost and gone. What may not seem concerning to individuals in the immediate sense may well be important in the long scale over which projects should concern themselves.

Again, this is not a “don’t use github” argument – it is just to make clear that lock-in effects may have real problems that affect everyone, eventually. 4 Likes ketzacoatl March 31, 2021, 9:07pm 9 Despite the wording of my comment about this previouosly, I don’t have a strong opinion on GitHub/GitLab. I just think it would be nice to make it easier to navigate who/which project is where, or for it to consume fewer cycles in the contributor’s process.

Martinsos April 7, 2021, 5:35pm 10 Sure, that makes absolute sense! I was really offering a perspective of a consumer of the repo, not maintainer. On the other hand, Rust has its main repo on Github! How is that hm? Go-lang is interesting -> they have main repo hosted on their own, but they have mirror on Github which seems to be used normally (issues, PRs). 1 Like Martinsos April 7, 2021, 5:43pm 11 Well that is a good question, but while colors are more about the taste and I personally don’t care much about it, I do have certain prejudices about repos on Gitlab vs Github.

They may be wrong and unfair, and maybe I should work on dispelling them, but I wanted to share that point of view in case it might be relevant due to others possibly also having same prejudices. And yes, if interest in project is significant, then it probably doesn’t matter that much, but often interest grows with tim

The rest of this page is on the live site.