386 points · by jobvandervoort · 11y ago · 202 comments
Things that almost make me want to switch back to GitHub:
- GitLab is really hard to look at. All of our devs are having trouble visually locating comments in diffs. We're always scrolling through the left-side menu looking for the issues tab. It's hard to visually differentiate between items like comments in merge requests. Our eyes just can't find and follow things. Even BitBucket looks better.
- GitLab-CI has poor documentation on runners, and a rather buggy test runner registration process that doesn't provide any debugging output and produces false positives quite often.
- GitLab-CI has no unconditional cleanup directive, like CircleCI does... but if you're re-using a test runner instead of tearing down the server each time, unconditional cleanup is the one thing you need. And no, the Docker executor doesn't solve this because we don't want to test our Docker containers inside Docker.
- CI is based on commit IDs. You can't run particular CI events on merge requests. For example, this means no way to run integration tests on merge requests.
- Typography could be improved. When you're looking at the issues page all day, this is quite noticeable.
- Slack integration is not great; it dumps links to "GitLab Enterprise Edition" instead of useful commit/changeset stuff like GitHub does.
If the community/GitLab can focus on putting on some of the design polish and service integration polish that GitHub has, GitLab would be a total winner for us, long-term.
The quick reply to your comments is: we're working on almost all of it.
> - GitLab is really hard to look at. All of our devs are having trouble visually locating comments in diffs. We're always scrolling through the left-side menu looking for the issues tab. It's hard to visually differentiate between items like comments in merge requests. Our eyes just can't find and follow things. Even BitBucket looks better.
We're working hard on this and focus more and more of our development capacity to this.
> - GitLab-CI has poor documentation on runners, and a rather buggy test runner registration process that doesn't provide any debugging output and produces false positives quite often.
There are a lot of improvements coming in this field. Especially the integration and setup of runners is going to be easier. We're hoping to make this a zero-step setup thing. Same with documentation. Our new GitLab CI maintainer Kamil has been spending a lot of time on writing documentation.
> - GitLab-CI has no unconditional cleanup directive, like CircleCI does... but if you're re-using a test runner instead of tearing down the server each time, unconditional cleanup is the one thing you need. And no, the Docker executor doesn't solve this because we don't want to test our Docker containers inside Docker.
This is interesting, I'm passing it onto Kamil.
> - CI is based on commit IDs. You can't run particular CI events on merge requests. For example, this means no way to run integration tests on merge requests.
This is be interesting to look at. I'm not sure whether we have something like this in the planning, but I'm taking note.
> - Typography could be improved. When you're looking at the issues page all day, this is quite noticeable.
We're worried about adding page load by including typefaces. We might change our minds on this. What OS are you using? Would Roboto work, for instance?
> - Slack integration is not great; it dumps links to "GitLab Enterprise Edition" instead of useful commit/changeset stuff like GitHub does.
We welcome contributions to improve it. This is not a focus at the moment, but considering the popularity of Slack, we can definitely have a look at this.
> Would Roboto work, for instance?
Maybe the typeface isn't so much the issue as the layout? On the issue view, comments and descriptions have different positioning and styling. Also, important information lives above the issue title, which is unexpected.
Being unable to trigger CI builds based on merge requests (which can dispatch a build for a commit ID, but you've probably already pushed that commit) is probably the most problematic for us at the moment.
Maybe it would be cool if GitLab came up with some basic design principles/goals and accepted contributions toward that end. I know we'd be interested in contributions here and there to improve workflow/UX.
Also worth checking out: https://www.filamentgroup.com/lab/font-events.html
No, no, no. :) It's not a development thing, it's a design thing. The good part is that your users are well-defined - developers; you could do a great job there, but don't allocate your developers to it. Hire or contract someone experienced in UX.
P.S. With a good UX work, you might end up not only bettering GitLab's layout but also discovering new, differentiating and truly useful (user-wise) features.
I agree out interface can be a lot better. Our first interaction engineer will start September 1 to improve it.
>GitLab-CI has poor documentation on runners, and a rather buggy test runner registration process that doesn't provide any debugging output and produces false positives quite often.
There’s a lot of going on in this field. We are listening to people’s user cases and trying hard with the rest of community to extend documentation that will cover them. I agree the test runner registration should give better feedback if there are failures. False positives shouldn't happen, please create an issue if they do.
> GitLab-CI has no unconditional cleanup directive, like CircleCI does... but if you're re-using a test runner instead of tearing down the server each time, unconditional cleanup is the one thing you need. And no, the Docker executor doesn't solve this because we don't want to test our Docker containers inside Docker.
Agree, we have that on our roadmap: allow to run commands in case of script failure.
> CI is based on commit IDs. You can't run particular CI events on merge requests. For example, this means no way to run integration tests on merge requests.
I don't know what you mean exactly. Do you mean you want to test the code that will result after the merge instead of the commit in the feature branch? It would be a nice option to test the merge of the feature branch with master instead of the feature branch itself (you will have to retest all MR’s every time master is updated). BTW The new build trigger API (to be released in a month) is one of the upcoming features that will allow more build customisation.
No, I want to trigger additional types of tests under two circumstances:
- When a merge request is created
- When additional commits are added to a branch for which a merge request exists
The utility is: I don't want to run integration tests if someone is just pushing to a feature branch - that takes up worker time. But I do want to run integration tests before that feature branch gets merged upstream. Achieving this by having everyone submit merge requests to an intermediate branch doesn't work, because we don't know the integration test result until after the merge to the intermediate branch is done, meaning developers might be trying to push a bunch of failing code to the same branch, just to get integration tests to run.
Specifically, the integration tests should run against the version of the source code in the feature branch that the merge request is about. The target branch can be merged into the feature branch to have full coverage of the post-merge status, so the target branch's importance is really minimal here.
> Yes, it would be a nice option to test the merge of the feature branch with master instead of the feature branch itself (you will have to retest all MR’s every time master is updated).
Actually no, that's not what I was trying to get at. The tests just have to run against the version of the source code in the feature branch. If the integration tests need to cover anything else, it should be inserted into the feature branch manually. Stale branches are their own problem and are quite common, independent of CI-related testing. Running unit tests all the time is fine, but it would be nice if special additional tests can be triggered only for new merge requests and for updated merge request source branches but not feature branch pushes unassociated with merge requests.
What you can also do is use project or system hooks to trigger CI via the new build API that will be available on August 22.
Another option is to skip builds, you can just add [skip ci] to your commit message, and next build will be skipped.
Well, we were using circleci for a while until the switch to gitlab-ci just recently. Biggest problem was that the circleci runners lose the local docker cache, which meant that unnecessary large chunks of time were spent redoing docker container builds, slowing everything down in our workflow. Note that we run unit tests in docker containers, and to speed things up it would be useful to run unit tests in parallel on multiple separate machines, in addition to preserving the local docker cache on each runner machine.
So assuming we fixed that, would you buy it (considering esp that GitLab CI exists and you already use GitLab)?
Slight tangent: I think Bitbucket looks nicer than GitHub in almost every way.
Some issues:
- Does it have a default task management tool or we need to integrate a 3rd party ? Couldn't find it in the forums yet
- The UI is a bit clunky in terms of navigation. For example, being able to move from the homepage level to specific project back and forth is a bit confusing. Would love a re-design of UI.
EDIT:
Lot of feedback that I can give. So far:
- Make it easy to navigate between index page and specific groups/projects. May be on login to index, just show a dashboard with all groups/projects that I am part of. If Admin, then show me additional options like what you have in "Admin Area" menu. Here is one idea. Just show all menu options in the left sidebar and split it like:
- Home
- Groups
- Projects
- Project 1
- all menus that shows up for projects
- Admin Area
- Profile Settings
- Users
- Mail Settings
- User profile management is not that good for admins. For example, just yesterday one of my developers got locked out and I could not reset his access via the UI. I had to go in the config files to update the lockout timestamp.- Also for new users, as admin I want the control to add them as verified user already. Currently I don't think that options is there in UI unless we fiddle with the code.
- For email driver, a simple form in UI will be nice to have. For example, if I want to use Mandrill, give me that option in the UI.
Bottomline is that even though we are developers, we don't want to change the .rb files for Gitlab and instead focus on an easy UI.
> Does it have a default task management tool or we need to integrate a 3rd party ? Couldn't find it in the forums yet
You can use Issues, which comes in every project and can be linked all throughout your GitLab instance. They also integrate with merge requests and can be used 'Kanban' style by using milestones. See our own for GitLab's issues: https://gitlab.com/gitlab-org/gitlab-ce/issues
You can also integrate many of the popular systems, such as JIRA, Asana, Trello.
> The UI is a bit clunky in terms of navigation. For example, being able to move from the homepage level to specific project back and forth is a bit confusing. Would love a re-design of UI.
We're working very hard on this. The coming release will add more context to the menu and we're looking to improve it further both in terms of design, as well as UX.
It'd be great if you could share us your thoughts on how we can improve this.
-> Multi-platform since you can executes builds on Unix, Windows and OSX.
-> Stable because the GitLab CI is on a different machine that(n) the ones that perform builds.
Also the whole phrasing is a bit weird, I'd change it to:
Key feature: description.
The way it is now those phrases seem a little clunky and unnatural.
A totally separate issue, what are the limitations for the CI stuff? Build per day/per OS/whatever?
Regarding limitations: at this point there are no limitations.
We're thinking about improving the navigation to / between projects and groups. We'll probably do something similar to your suggestion in the coming months.
We're trying to move as many things from gitlab.rb to the admin interface. We add more every release and intent to make (almost) everything available through the UI.
Your navigation remarks are spot on and inspired me to make this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/2225
Doesn't the lockout expire at some point? I agree it would be nice to reset from the UI.
Mmm, I thought that if an admin added a user they didn't have to verify their email.
Do you mean something like project services? http://doc.gitlab.com/ce/integration/README.html
I agree that your shouldn't change .rb files. Please contribute any improvements you make so we can include them.
Two examples, why I don't use BitBucket for big projects and essential clients :
1. Interface is not that good - e.g. makes it hard to manipulate issues. 2. Integrations with some CI is not as good as in GitHub.
It's unfortunate that they make a living off open source software created by a lead Linux developer but they act like Linux doesn't even exist.
Not a big deal though, the userbase on github is worse than facebook or 9gag.
Gitlab isn't much better than github when it comes to openess, but it seems to be the best alternative so far.
They do contribute back; they’ve done plenty of contributions to Git. Also, GitHub tools are really useless when you’re used to vanilla git.
apt-get install git
pacman -Sy git
emerge --ask dev-vcs/git
yum install gitFound the grumpy linux user ;)
The only thing, which doesn't really depend on you I assume :), is I wish GitLab was used more often as an authentication mechanism by other services. I don't know if GitLab is actually an OpenID provider or if it's just because it's not popular enough yet.
GitLab can be an OAuth provider since version 7.7 [0]. I think it takes a while for this to be adopted by other services.
Any advice or help improving this situation is welcome.
[0]: https://about.gitlab.com/2015/01/22/gitlab-7-7-and-ci-5-4-re...
However, we do accept merge requests for Git LFS support [1]. This means that if this is contributed to GitLab, it will be available in the Community Edition.
[0]: http://doc.gitlab.com/ee/workflow/git_annex.html
[1]: http://feedback.gitlab.com/forums/176466-general/suggestions...
I find it surprising there are no free solutions for large binary
files other than perforce.
There's in fact lots of tooling in Mercurial to handle this precise problem, as well as gigantic repos. Mercurial's extensibility with these scaling problems, in fact, is why Facebook has chosen it. If you're not married to git, try checking out Facebook's Mercurial extensions.I'm a hardcore Github fan but I'm really impressed with what you've all been doing. The more I see your work, the more I want to switch.
You can give it a try / use it for free at GitLab.com (public and private).
We would love to hear what hardcore GitHub fans like you miss in GitLab. We want to be better.
--
OK, this post was going to be some minor thoughts but turned into actual UX/dev feedback. Take from that what you will and keep in mind I haven't used Gitlab much at all.
What makes Github great:
- Ease of sharing a project. They got "social coding" 100% right.
- Filing an issue can take under 5 seconds.
- The UI is just great, slick, super responsive, everything updates without refreshing.
- Syntax highlighting is amazing. Syntax HL in diffs!
- Github profiles are great. For a lot of devs, github is a CV, keep that in mind.
- gh-pages/jekyll integration kicks ass.
- Referencing and auto-closing issues
- webhooks, IRC bots
--
Here are some killer features not present on Github that would make me very seriously consider switching some large projects:
- Mailing list support. Think Discourse/Groupserver/Google Groups -> A UI that doesn't suck, easy to enable for any project or organization, one click to subscribe/unsubscribe with your account
- Issue tracker's lack of features is both good and bad. Good for the speed at which issues are filed, but sometimes you really do need some extra features. (Marking as dupe; Making as "fixed" when an autocommit missed it; etc). Shouldn't go the bugzilla route and create meta-work, though.
- Proper support for mirroring repositories (two-way mirrors?)
- Improved IRC integration; eg. bots that watch over bug links / "Take a look at #1234" and spit out URLs and bug titles.
- Sign in with persona. :)
--
Where github simply falls short, and misc annoyances I have with it:
- Organizations/permissions. They said they're working on that.
- Gists could be improved and integrated with issues (cf. attachments). BTW I absolutely love gist, does GL have something like that?
- SSL support for gh-pages on custom domains is lacking.
- "Clean commit log" workflows aren't well supported. Rebasing messes with the commit ordering in PRs.
- Issue references in commit messages are great but when force-pushed several times, they spam the issues. No way to delete those messages.
- Comments on PRs disappearing. I haven't thought about proper ways to improve the PR review workflow on GH, but I know it can be improved.
- The contributions graph algorithm doesn't deal well with "mass push" outliers (see what I mean: https://github.com/jleclanche/)
- The "PRs are issues" legacy still shows itself, they moved away from it though.
- I constantly have to clean projects I forked for a single issue.
- Wikis are cool but kinda lackluster. No way to inter-link pages.
- It's closed source!
--
UX thoughts on gitlab.com, the site (about.gitlab.com):
- No way to see an actual repository, what Gitlab looks like. Github has a similar issue but at least has an "explore" link. I feel like the "features" screenshots should be on the homepage. There's plenty room if you squish/remove the corp/press logos and twitter spam.
- Video at the bottom is completely out of place. Looking at it, it has 55k views, that's really nothing. This contradicts my previous note but I didn't even notice it at first since it was so low.
- The page is fairly slow to load (~2 seconds). It's also huge. I really think there's just too much on it. Do you really need testimonies there?
- Top of the page is overall excellent.
https://about.gitlab.com/better-than-github/
- Love the link to that page being present, since it's the first question I'm asking myself. Dropping points on lack of graphics (examples/screenshots)
-> What caught my eye on that page: Attachments in issues. WIP protection is neat but gimmicky. Builtin CI kicks ass! I don't know what Innersourcing means. Maybe "unlimited p/p repositories" should be first? This is a long list, consider reordering some things.
I'm short on sleep, so feel free to follow up with me by email (it's listed on my profile) if you'd like.
It would be nice at times to download old builds at certain commits that the CI server had built in the past.
Hosting basically boils down to the fact that ~98% of your users will use a small portion of your resources. This is why hundreds - even thousands - of users are shoved onto a single shared server (all without ever having a problem). Considering disk and bandwidth is cheap - it's really inexpensive to host users. 2% of your users will attempt to use 50% or more of your resources - and those are the ones that you kick to the curb or arrange some sort of payment.
I used to do free web hosting and now have switch to just free source code hosting.
A perfect example of this is this story [1]. I'm sure a good 90% of people who sign up for the free slack service only use a small blip of usage.
[1] http://blog.freecodecamp.com/2015/06/so-yeah-we-tried-slack-...
It gives us the possibility to run GitLab on a very large scale. This helps us finding performance and scaling issues that otherwise would go unseen. In short, it allows us to make GitLab even better.
I didn't know that this can go so well for end-users in such a competitive environment. I hope I hear more arguments like these from other tech companies.
How do you call this model? I guess freemium doesn't match with how you make the benefit out of the website.
If you are interested in knowing why:
- I personally find it a little bit irritating that Github wants to promote "open-source/free-software", but haven't open sourced their own tools/product.
- I was disappointed by the way Github handled some internal problems
- I don't trust Github anymore; I want to be in control of my data.
The funny thing though, having my private repos on my own server just FEELS nice. I have total control over my projects. I wasn't worried about anyone "snooping" on them but there's a subtle psychological change when you know your code is on your sever and no one other than you has admin access.
I moved for political reasons, but found the intangible benefits of being the "master of my domain" were a great unintended side-effect.
Ironically the GitLab CEO has also injected politics where it didn't belong. Thus is the power of open source, even though I don't agree with GitLab Inc's politics, I can take the code base and host it myself.
They have 100+ open-source repos: https://github.com/github They also contribute a lot back to Git.
> This software and associated documentation files (the "Software") can only be used with a valid GitLab subscription for the correct number of users. You are free to modify this Software and publish patches. It is forbidden to copy, merge, publish, distribute, sublicense, and/or sell copies of the Software.
Isn't the third line contradicting with the fourth or have I misunderstood?
[0] - https://gitlab.com/gitlab-org/gitlab-ee/blob/master/LICENSE
I know that Gitlab EE has some features like the merge request rebase, but I don't know how a large company using gerrit could be convinced to switch to reviews in Gitlab
Anyway, I'm sure that there are still things missing and you are very welcome to add them to CE or EE. We had large companies switch from Gerrit but we hope to keep adding features that people currently miss.
We do not want to inadvertently break the workflow / remove essential features without informing our customers in advance. And we will always work hard to ensure that if that does happen, we find a good solution for all parties.
If you do find that this is the case for you, as a customer of GitLab, please never hesitate to contact us through our support channels.
Most notably: Missing more sophisticated workflows. Search for issues using multiple labels. Search for issues across multiple projects.
We would also love to be able to do simple time tracking against issues.
Is there no reasonably priced product out there that would fit our (rather simple) needs?
1. References to pokemon on main pages 2. Confusing names for features 3. Written in PHP (this was an initial bias from my prior experience with the language and belief that such a language wouldn't be used to maintain a large-scale application).
These three points led me to believe that Phabricator was not a first-party application but just PHP glue tying together other open source applications. With this in mind, along with the pokemon, I wrote it off as some highschool/college project and turned my attention elsewhere.
I took a fresh look at it in 2014 and realized several of these misconceptions. The developers of Phab tend to be light-hearted and embrace some humor in development. This has proven to be valuable in sustaining good-natured development teams and keeping code-criticisms well-intentioned. They also have a "serious" setting which tones down some of the language in the application itself.
The feature names can be confusing, which is a valid criticism though after a week or so it doesn't tend to interfere with work. The most difficulty in adopting Phabricator has been getting developers to understand the different development workflow to utilize the code review. Our team sizes range from ~3 to ~8 and haven't had any major problems.
They have an IRC channel which is usually pretty active, and I'm sure any questions or concerns you have can be brought up there.
We've been using it since ~Febuary 2015 and it's been a terrific addition to our development.
In terms of load, it can run on a Raspberry Pi.
1 core works for under 100 users but the responsiveness might suffer
2 cores is the recommended number of cores and supports up to 100 users
4 cores supports about 1,000 users
8 cores supports up to 10,000 users
Memory 512MB is too little memory, GitLab will be very slow and you will need 250MB of swap
768MB is the minimal memory size but we advise against this
1GB supports up to 100 users (with individual repositories under 250MB, otherwise git memory usage necessitates using swap space)
2GB is the recommended memory size and supports up to 1,000 users
4GB supports up to 10,000 usersIdeally I'd like to see something like Taiga and Gogs together which I think would absolutely fly.
Those will be in public too? Or you should contact by email when you have a security issue.
I don't think they're really openwashing here, and the article was pretty clear to me. Besides, the community edition and CI code are both true open source.
What I mean by this is, what's stopping someone from taking code from the EE, modifying it, and including it in the CE?
On the flip side, what if a feature released to CE is too similar to code in EE, even if the author of the patch never read the EE code for inspiration? Would GitLab be within their rights to stop it?
With these issues in mind, it makes more sense to me to have the EE code available by request only.
1. Copyright law.
2. For corporations it's probably more cost effective to pay a subscription than maintain a fork.
See also our license for our proprietary GitLab Enterprise Edition: https://gitlab.com/gitlab-org/gitlab-ee/blob/master/LICENSE
And the license for our open source GitLab Community Edition (MIT Expat): https://gitlab.com/gitlab-org/gitlab-ce/blob/master/LICENSE
> Open source software is software that can be freely used, changed, and shared (in modified or unmodified form) by anyone.
http://www.gnu.org/philosophy/open-source-misses-the-point.e...
Y'all need to stop whining about the irrelevant when companies like these are doing literally everything else right. It's pretty damn ungrateful.
When they say "In fact, even our proprietary version of GitLab, GitLab Enterprise Edition, has a publicly viewable source code", I don't think they're implying it's open source.
> It is forbidden to copy, merge, publish, distribute, sublicense, and/or sell copies of the Software.
You might want to get a lawyer on the phone - because that seems contradicting to me. This is why you should stick with open source licenses that have been vetted by a team of lawyers already. You should check out the AGPL license.
GitLab Community Edition is licensed under the MIT Expat license: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/LICENSE
EDIT: Quite predictably, I got downvoted for asking people to use proper terminology and for promoting free software.